less 4.2.2 → 4.4.0

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.
package/package.json CHANGED
@@ -1,140 +1,138 @@
1
- {
2
- "name": "less",
3
- "version": "4.2.2",
4
- "description": "Leaner CSS",
5
- "homepage": "http://lesscss.org",
6
- "author": {
7
- "name": "Alexis Sellier",
8
- "email": "self@cloudhead.net"
9
- },
10
- "contributors": [
11
- "The Core Less Team"
12
- ],
13
- "bugs": {
14
- "url": "https://github.com/less/less.js/issues"
15
- },
16
- "repository": {
17
- "type": "git",
18
- "url": "https://github.com/less/less.js.git"
19
- },
20
- "master": {
21
- "url": "https://github.com/less/less.js/blob/master/",
22
- "raw": "https://raw.githubusercontent.com/less/less.js/master/"
23
- },
24
- "license": "Apache-2.0",
25
- "bin": {
26
- "lessc": "./bin/lessc"
27
- },
28
- "main": "index",
29
- "module": "./lib/less-node/index",
30
- "directories": {
31
- "test": "./test"
32
- },
33
- "browser": "./dist/less.js",
34
- "engines": {
35
- "node": ">=6"
36
- },
37
- "scripts": {
38
- "test": "grunt test",
39
- "grunt": "grunt",
40
- "lint": "eslint '**/*.{ts,js}'",
41
- "lint:fix": "eslint '**/*.{ts,js}' --fix",
42
- "build": "npm-run-all clean compile",
43
- "clean": "shx rm -rf ./lib tsconfig.tsbuildinfo",
44
- "compile": "tsc -p tsconfig.build.json",
45
- "copy:root": "shx cp -rf ./dist ../../",
46
- "dev": "tsc -p tsconfig.build.json -w",
47
- "prepublishOnly": "grunt dist"
48
- },
49
- "optionalDependencies": {
50
- "errno": "^0.1.1",
51
- "graceful-fs": "^4.1.2",
52
- "image-size": "~0.5.0",
53
- "make-dir": "^2.1.0",
54
- "mime": "^1.4.1",
55
- "needle": "^3.1.0",
56
- "source-map": "~0.6.0"
57
- },
58
- "devDependencies": {
59
- "@less/test-data": "^4.2.2",
60
- "@less/test-import-module": "^4.0.0",
61
- "@rollup/plugin-commonjs": "^17.0.0",
62
- "@rollup/plugin-json": "^4.1.0",
63
- "@rollup/plugin-node-resolve": "^11.0.0",
64
- "@typescript-eslint/eslint-plugin": "^4.28.0",
65
- "@typescript-eslint/parser": "^4.28.0",
66
- "benny": "^3.6.12",
67
- "bootstrap-less-port": "0.3.0",
68
- "chai": "^4.2.0",
69
- "cross-env": "^7.0.3",
70
- "diff": "^3.2.0",
71
- "eslint": "^7.29.0",
72
- "fs-extra": "^8.1.0",
73
- "git-rev": "^0.2.1",
74
- "globby": "^10.0.1",
75
- "grunt": "^1.0.4",
76
- "grunt-cli": "^1.3.2",
77
- "grunt-contrib-clean": "^1.0.0",
78
- "grunt-contrib-connect": "^1.0.2",
79
- "grunt-eslint": "^23.0.0",
80
- "grunt-saucelabs": "^9.0.1",
81
- "grunt-shell": "^1.3.0",
82
- "html-template-tag": "^3.2.0",
83
- "jit-grunt": "^0.10.0",
84
- "less-plugin-autoprefix": "^1.5.1",
85
- "less-plugin-clean-css": "^1.6.0",
86
- "minimist": "^1.2.0",
87
- "mocha": "^6.2.1",
88
- "playwright": "^1.49.0",
89
- "mocha-teamcity-reporter": "^3.0.0",
90
- "nock": "^11.8.2",
91
- "npm-run-all": "^4.1.5",
92
- "performance-now": "^0.2.0",
93
- "phin": "^2.2.3",
94
- "promise": "^7.1.1",
95
- "read-glob": "^3.0.0",
96
- "resolve": "^1.17.0",
97
- "rollup": "^2.52.2",
98
- "rollup-plugin-terser": "^5.1.1",
99
- "rollup-plugin-typescript2": "^0.29.0",
100
- "semver": "^6.3.0",
101
- "shx": "^0.3.2",
102
- "time-grunt": "^1.3.0",
103
- "ts-node": "^10.9.1",
104
- "typescript": "^4.3.4",
105
- "uikit": "2.27.4"
106
- },
107
- "keywords": [
108
- "compile less",
109
- "css nesting",
110
- "css variable",
111
- "css",
112
- "gradients css",
113
- "gradients css3",
114
- "less compiler",
115
- "less css",
116
- "less mixins",
117
- "less",
118
- "less.js",
119
- "lesscss",
120
- "mixins",
121
- "nested css",
122
- "parser",
123
- "preprocessor",
124
- "bootstrap css",
125
- "bootstrap less",
126
- "style",
127
- "styles",
128
- "stylesheet",
129
- "variables in css",
130
- "css less"
131
- ],
132
- "rawcurrent": "https://raw.github.com/less/less.js/v",
133
- "sourcearchive": "https://github.com/less/less.js/archive/v",
134
- "dependencies": {
135
- "copy-anything": "^2.0.1",
136
- "parse-node-version": "^1.0.1",
137
- "tslib": "^2.3.0"
138
- },
139
- "gitHead": "1df9072ee9ebdadc791bf35dfb1dbc3ef9f1948f"
140
- }
1
+ {
2
+ "name": "less",
3
+ "version": "4.4.0",
4
+ "description": "Leaner CSS",
5
+ "homepage": "http://lesscss.org",
6
+ "author": {
7
+ "name": "Alexis Sellier",
8
+ "email": "self@cloudhead.net"
9
+ },
10
+ "contributors": [
11
+ "The Core Less Team"
12
+ ],
13
+ "bugs": {
14
+ "url": "https://github.com/less/less.js/issues"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/less/less.js.git"
19
+ },
20
+ "master": {
21
+ "url": "https://github.com/less/less.js/blob/master/",
22
+ "raw": "https://raw.githubusercontent.com/less/less.js/master/"
23
+ },
24
+ "license": "Apache-2.0",
25
+ "bin": {
26
+ "lessc": "./bin/lessc"
27
+ },
28
+ "main": "index",
29
+ "module": "./lib/less-node/index",
30
+ "directories": {
31
+ "test": "./test"
32
+ },
33
+ "browser": "./dist/less.js",
34
+ "engines": {
35
+ "node": ">=14"
36
+ },
37
+ "optionalDependencies": {
38
+ "errno": "^0.1.1",
39
+ "graceful-fs": "^4.1.2",
40
+ "image-size": "~0.5.0",
41
+ "make-dir": "^2.1.0",
42
+ "mime": "^1.4.1",
43
+ "needle": "^3.1.0",
44
+ "source-map": "~0.6.0"
45
+ },
46
+ "devDependencies": {
47
+ "@rollup/plugin-commonjs": "^17.0.0",
48
+ "@rollup/plugin-json": "^4.1.0",
49
+ "@rollup/plugin-node-resolve": "^11.0.0",
50
+ "@typescript-eslint/eslint-plugin": "^4.28.0",
51
+ "@typescript-eslint/parser": "^4.28.0",
52
+ "benny": "^3.6.12",
53
+ "bootstrap-less-port": "0.3.0",
54
+ "chai": "^4.2.0",
55
+ "cross-env": "^7.0.3",
56
+ "diff": "^3.2.0",
57
+ "eslint": "^7.29.0",
58
+ "fs-extra": "^8.1.0",
59
+ "git-rev": "^0.2.1",
60
+ "globby": "^10.0.1",
61
+ "grunt": "^1.0.4",
62
+ "grunt-cli": "^1.3.2",
63
+ "grunt-contrib-clean": "^1.0.0",
64
+ "grunt-contrib-connect": "^1.0.2",
65
+ "grunt-eslint": "^23.0.0",
66
+ "grunt-saucelabs": "^9.0.1",
67
+ "grunt-shell": "^1.3.0",
68
+ "html-template-tag": "^3.2.0",
69
+ "jit-grunt": "^0.10.0",
70
+ "less-plugin-autoprefix": "^1.5.1",
71
+ "less-plugin-clean-css": "^1.6.0",
72
+ "minimist": "^1.2.0",
73
+ "mocha": "^6.2.1",
74
+ "playwright": "1.50.1",
75
+ "mocha-teamcity-reporter": "^3.0.0",
76
+ "nock": "^11.8.2",
77
+ "npm-run-all": "^4.1.5",
78
+ "performance-now": "^0.2.0",
79
+ "phin": "^2.2.3",
80
+ "promise": "^7.1.1",
81
+ "read-glob": "^3.0.0",
82
+ "resolve": "^1.17.0",
83
+ "rollup": "^2.52.2",
84
+ "rollup-plugin-terser": "^5.1.1",
85
+ "rollup-plugin-typescript2": "^0.29.0",
86
+ "semver": "^6.3.0",
87
+ "shx": "^0.3.2",
88
+ "time-grunt": "^1.3.0",
89
+ "ts-node": "^10.9.1",
90
+ "typescript": "^4.3.4",
91
+ "uikit": "2.27.4",
92
+ "@less/test-data": "4.4.0",
93
+ "@less/test-import-module": "4.0.0"
94
+ },
95
+ "keywords": [
96
+ "compile less",
97
+ "css nesting",
98
+ "css variable",
99
+ "css",
100
+ "gradients css",
101
+ "gradients css3",
102
+ "less compiler",
103
+ "less css",
104
+ "less mixins",
105
+ "less",
106
+ "less.js",
107
+ "lesscss",
108
+ "mixins",
109
+ "nested css",
110
+ "parser",
111
+ "preprocessor",
112
+ "bootstrap css",
113
+ "bootstrap less",
114
+ "style",
115
+ "styles",
116
+ "stylesheet",
117
+ "variables in css",
118
+ "css less"
119
+ ],
120
+ "rawcurrent": "https://raw.github.com/less/less.js/v",
121
+ "sourcearchive": "https://github.com/less/less.js/archive/v",
122
+ "dependencies": {
123
+ "copy-anything": "^2.0.1",
124
+ "parse-node-version": "^1.0.1",
125
+ "tslib": "^2.3.0"
126
+ },
127
+ "gitHead": "1df9072ee9ebdadc791bf35dfb1dbc3ef9f1948f",
128
+ "scripts": {
129
+ "test": "grunt test",
130
+ "grunt": "grunt",
131
+ "lint": "eslint '**/*.{ts,js}'",
132
+ "lint:fix": "eslint '**/*.{ts,js}' --fix",
133
+ "build": "npm-run-all clean compile",
134
+ "clean": "shx rm -rf ./lib tsconfig.tsbuildinfo",
135
+ "compile": "tsc -p tsconfig.build.json",
136
+ "dev": "tsc -p tsconfig.build.json -w"
137
+ }
138
+ }
package/test/less-test.js CHANGED
@@ -12,7 +12,7 @@ logger.addListener({
12
12
  warn(msg) {
13
13
  process.stdout.write(msg + '\n');
14
14
  },
15
- erro(msg) {
15
+ error(msg) {
16
16
  process.stdout.write(msg + '\n');
17
17
  }
18
18
  });
@@ -366,6 +366,8 @@ module.exports = function() {
366
366
 
367
367
  var options = clone(originalOptions);
368
368
 
369
+ options.stylize = stylize;
370
+
369
371
  var name = getBasename(file);
370
372
 
371
373
  if (oneTestOnly && name !== oneTestOnly) {