Skip to content

Commit

Permalink
Release v4.2.1 (#4287)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-dean authored Nov 25, 2024
1 parent b09ad0f commit 773e157
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion dist/less.js
Original file line number Diff line number Diff line change
Expand Up @@ -9710,8 +9710,11 @@
if (!(current instanceof Dimension)) {
if (Array.isArray(args[i].value)) {
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
continue;
}
else {
throw { type: 'Argument', message: 'incompatible types' };
}
continue;
}
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();
Expand Down
2 changes: 1 addition & 1 deletion dist/less.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/less.min.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion packages/less/dist/less.js
Original file line number Diff line number Diff line change
Expand Up @@ -9710,8 +9710,11 @@
if (!(current instanceof Dimension)) {
if (Array.isArray(args[i].value)) {
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
continue;
}
else {
throw { type: 'Argument', message: 'incompatible types' };
}
continue;
}
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();
Expand Down
2 changes: 1 addition & 1 deletion packages/less/dist/less.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/less/dist/less.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/less/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"outDir": "./lib",
"moduleResolution": "node",
"rootDir": ".",
"allowJs": true,
"sourceMap": true,
Expand Down

0 comments on commit 773e157

Please sign in to comment.