Skip to content

Commit 773e157

Browse files
authored
Release v4.2.1 (#4287)
1 parent b09ad0f commit 773e157

File tree

7 files changed

+13
-6
lines changed

7 files changed

+13
-6
lines changed

dist/less.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9710,8 +9710,11 @@
97109710
if (!(current instanceof Dimension)) {
97119711
if (Array.isArray(args[i].value)) {
97129712
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
9713+
continue;
9714+
}
9715+
else {
9716+
throw { type: 'Argument', message: 'incompatible types' };
97139717
}
9714-
continue;
97159718
}
97169719
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
97179720
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();

dist/less.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/less.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/less/dist/less.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9710,8 +9710,11 @@
97109710
if (!(current instanceof Dimension)) {
97119711
if (Array.isArray(args[i].value)) {
97129712
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
9713+
continue;
9714+
}
9715+
else {
9716+
throw { type: 'Argument', message: 'incompatible types' };
97139717
}
9714-
continue;
97159718
}
97169719
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
97179720
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();

packages/less/dist/less.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/less/dist/less.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/less/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
33
"outDir": "./lib",
4+
"moduleResolution": "node",
45
"rootDir": ".",
56
"allowJs": true,
67
"sourceMap": true,

0 commit comments

Comments
 (0)