less 5.0.0-alpha.8 → 5.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Less - Leaner CSS v5.0.0-alpha.8
2
+ * Less - Leaner CSS v5.0.0-alpha.9
3
3
  * http://lesscss.org
4
4
  *
5
5
  * Copyright (c) 2009-2026, Alexis Sellier <self@cloudhead.net>
@@ -325,7 +325,7 @@ function mapRenderResult(result, options) {
325
325
  * @module less/lib/version
326
326
  */
327
327
 
328
- const semver = "5.0.0-alpha.8";
328
+ const semver = "5.0.0-alpha.9";
329
329
  const parsed = parseNodeVersion__default["default"](`v${semver}`);
330
330
 
331
331
  const version = {
@@ -372,13 +372,23 @@ const lesscHelper = {
372
372
  console.log(' --quiet Suppresses output of warnings.');
373
373
  console.log(' -v, --version Prints version number and exit.');
374
374
  console.log(' --verbose Be verbose.');
375
- console.log(' --collapse-nesting Flatten nested rules after preserving source-order cascade.');
375
+ console.log(' --collapse-nesting[=MODE] Flatten nested rules: native (default), or compact.');
376
+ console.log(' -x, --compress Compress output by removing whitespace.');
377
+ console.log(' --math=MODE Math mode: parens-division (default), always, or parens.');
376
378
  console.log(' --unit-mode=MODE Unit handling in math: preserve (default), strict, or loose (Less 4.x guessing).');
377
379
  console.log(' --strict-units[=on|off] Deprecated: on is --unit-mode=strict, off is the default (preserve).');
380
+ console.log(' --source-map[=FILE] Emit a source map (FILE, or <destination>.map by default).');
381
+ console.log(' --source-map-inline Embed the source map as a data URI instead of a file.');
382
+ console.log(' --source-map-include-source Embed the source files in the map (sourcesContent).');
383
+ console.log(' --source-map-rootpath=PATH Prepend PATH to every source in the map.');
384
+ console.log(' --source-map-basepath=PATH Strip PATH from the front of every source in the map.');
385
+ console.log(' --source-map-url=URL Override the sourceMappingURL annotation.');
386
+ console.log(' --rewrite-urls[=all|local|off] Rewrite url(...) references in imported files.');
387
+ console.log(' --rootpath=PATH Prepend PATH to url(...) and import references.');
388
+ console.log(' --url-args=ARGS Append ARGS (e.g. cache-buster) to every url(...).');
378
389
  console.log('');
379
390
  console.log('This release intentionally supports a smaller CLI surface.');
380
- console.log('Source maps, browser compilation, legacy plugin flags, lint-only mode, and');
381
- console.log('URL rewrite flags will be revisited in later alphas.');
391
+ console.log('Browser compilation, legacy plugin flags, and lint-only mode are not supported.');
382
392
  console.log('');
383
393
  console.log('Report bugs to: http://github.com/less/less.js/issues');
384
394
  console.log('Home page: <http://lesscss.org/>');
@@ -37,13 +37,23 @@ const lesscHelper = {
37
37
  console.log(' --quiet Suppresses output of warnings.');
38
38
  console.log(' -v, --version Prints version number and exit.');
39
39
  console.log(' --verbose Be verbose.');
40
- console.log(' --collapse-nesting Flatten nested rules after preserving source-order cascade.');
40
+ console.log(' --collapse-nesting[=MODE] Flatten nested rules: native (default), or compact.');
41
+ console.log(' -x, --compress Compress output by removing whitespace.');
42
+ console.log(' --math=MODE Math mode: parens-division (default), always, or parens.');
41
43
  console.log(' --unit-mode=MODE Unit handling in math: preserve (default), strict, or loose (Less 4.x guessing).');
42
44
  console.log(' --strict-units[=on|off] Deprecated: on is --unit-mode=strict, off is the default (preserve).');
45
+ console.log(' --source-map[=FILE] Emit a source map (FILE, or <destination>.map by default).');
46
+ console.log(' --source-map-inline Embed the source map as a data URI instead of a file.');
47
+ console.log(' --source-map-include-source Embed the source files in the map (sourcesContent).');
48
+ console.log(' --source-map-rootpath=PATH Prepend PATH to every source in the map.');
49
+ console.log(' --source-map-basepath=PATH Strip PATH from the front of every source in the map.');
50
+ console.log(' --source-map-url=URL Override the sourceMappingURL annotation.');
51
+ console.log(' --rewrite-urls[=all|local|off] Rewrite url(...) references in imported files.');
52
+ console.log(' --rootpath=PATH Prepend PATH to url(...) and import references.');
53
+ console.log(' --url-args=ARGS Append ARGS (e.g. cache-buster) to every url(...).');
43
54
  console.log('');
44
55
  console.log('This release intentionally supports a smaller CLI surface.');
45
- console.log('Source maps, browser compilation, legacy plugin flags, lint-only mode, and');
46
- console.log('URL rewrite flags will be revisited in later alphas.');
56
+ console.log('Browser compilation, legacy plugin flags, and lint-only mode are not supported.');
47
57
  console.log('');
48
58
  console.log('Report bugs to: http://github.com/less/less.js/issues');
49
59
  console.log('Home page: <http://lesscss.org/>');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "less",
3
- "version": "5.0.0-alpha.8",
3
+ "version": "5.0.0-alpha.9",
4
4
  "description": "Leaner CSS",
5
5
  "homepage": "http://lesscss.org",
6
6
  "author": {
@@ -45,7 +45,8 @@
45
45
  "!lib/**/*.map",
46
46
  "dist",
47
47
  "index.cjs",
48
- "README.md"
48
+ "README.md",
49
+ "V5-STATUS.md"
49
50
  ],
50
51
  "engines": {
51
52
  "node": "^20.19.0 || >=22.12.0"
@@ -141,15 +142,15 @@
141
142
  "rawcurrent": "https://raw.github.com/less/less.js/v",
142
143
  "sourcearchive": "https://github.com/less/less.js/archive/v",
143
144
  "dependencies": {
144
- "@jesscss/compiler": "2.0.0-alpha.21",
145
- "@jesscss/core": "2.0.0-alpha.21",
146
- "@jesscss/plugin-less": "2.0.0-alpha.21",
147
- "@jesscss/plugin-less-compat": "2.0.0-alpha.21",
148
- "@jesscss/plugin-node-modules": "2.0.0-alpha.21",
145
+ "@jesscss/compiler": "2.0.0-alpha.22",
146
+ "@jesscss/core": "2.0.0-alpha.22",
147
+ "@jesscss/plugin-less": "2.0.0-alpha.22",
148
+ "@jesscss/plugin-less-compat": "2.0.0-alpha.22",
149
+ "@jesscss/plugin-node-modules": "2.0.0-alpha.22",
149
150
  "parse-node-version": "^1.0.1"
150
151
  },
151
152
  "peerDependencies": {
152
- "@jesscss/plugin-js": "2.0.0-alpha.21"
153
+ "@jesscss/plugin-js": "2.0.0-alpha.22"
153
154
  },
154
155
  "peerDependenciesMeta": {
155
156
  "@jesscss/plugin-js": {