Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-08-04 09:55:50 +0300
committerGitHub <noreply@github.com>2021-08-04 09:55:50 +0300
commit31780a461fb1ad0c6e9a43b315eb47e8f801cfcb (patch)
tree7e5542891f0dc7bbc6a06e9cf87210d8917eaffc
parent9815a0054f72358922e9a6c64c4161a4165c4960 (diff)
Rename less to less3. (#415)
-rw-r--r--package-lock.json20
-rw-r--r--package.json4
-rw-r--r--test/lib/result.js6
-rw-r--r--test/test.js2
4 files changed, 16 insertions, 16 deletions
diff --git a/package-lock.json b/package-lock.json
index 01ca783..3fd47db 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5344,9 +5344,9 @@
}
},
"less": {
- "version": "3.13.1",
- "resolved": "https://registry.npmjs.org/less/-/less-3.13.1.tgz",
- "integrity": "sha512-SwA1aQXGUvp+P5XdZslUOhhLnClSLIjWvJhmd+Vgib5BFIr9lMNlQwmwUNOjXThF/A0x+MCYYPeWEfeWiLRnTw==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/less/-/less-4.1.1.tgz",
+ "integrity": "sha512-w09o8tZFPThBscl5d0Ggp3RcrKIouBoQscnOMgFH3n5V3kN/CXGHNfCkRPtxJk6nKryDXaV9aHLK55RXuH4sAw==",
"dev": true,
"requires": {
"copy-anything": "^2.0.1",
@@ -5355,7 +5355,8 @@
"image-size": "~0.5.0",
"make-dir": "^2.1.0",
"mime": "^1.4.1",
- "native-request": "^1.0.5",
+ "needle": "^2.5.2",
+ "parse-node-version": "^1.0.1",
"source-map": "~0.6.0",
"tslib": "^1.10.0"
},
@@ -5369,10 +5370,10 @@
}
}
},
- "less4": {
- "version": "npm:less@4.1.1",
- "resolved": "https://registry.npmjs.org/less/-/less-4.1.1.tgz",
- "integrity": "sha512-w09o8tZFPThBscl5d0Ggp3RcrKIouBoQscnOMgFH3n5V3kN/CXGHNfCkRPtxJk6nKryDXaV9aHLK55RXuH4sAw==",
+ "less3": {
+ "version": "npm:less@3.13.1",
+ "resolved": "https://registry.npmjs.org/less/-/less-3.13.1.tgz",
+ "integrity": "sha512-SwA1aQXGUvp+P5XdZslUOhhLnClSLIjWvJhmd+Vgib5BFIr9lMNlQwmwUNOjXThF/A0x+MCYYPeWEfeWiLRnTw==",
"dev": true,
"requires": {
"copy-anything": "^2.0.1",
@@ -5381,8 +5382,7 @@
"image-size": "~0.5.0",
"make-dir": "^2.1.0",
"mime": "^1.4.1",
- "needle": "^2.5.2",
- "parse-node-version": "^1.0.1",
+ "native-request": "^1.0.5",
"source-map": "~0.6.0",
"tslib": "^1.10.0"
},
diff --git a/package.json b/package.json
index ec1069b..a356317 100644
--- a/package.json
+++ b/package.json
@@ -65,8 +65,8 @@
"gulp-postcss": "^9.0.0",
"gulp-sass": "^5.0.0",
"gulp-stylus": "^2.7.0",
- "less": "^3.13.1",
- "less4": "npm:less@^4.1.1",
+ "less3": "npm:less@^3.13.1",
+ "less": "^4.1.1",
"mocha": "^9.0.3",
"node-sass": "^6.0.1",
"npm-run-all": "^4.1.5",
diff --git a/test/lib/result.js b/test/lib/result.js
index 1883b6a..e891b8f 100644
--- a/test/lib/result.js
+++ b/test/lib/result.js
@@ -7,7 +7,7 @@ const prettier = require('prettier');
const libSass = require('node-sass');
const dartSass = require('sass');
const less = require('less');
-const less4 = require('less4');
+const less3 = require('less3');
const stylus = require('stylus');
// Postcss
@@ -56,8 +56,8 @@ module.exports = {
},
// Return parsed css
- less4: id => {
- return less4.render(getFileContent('less', id, 'less'), {
+ less3: id => {
+ return less3.render(getFileContent('less', id, 'less'), {
paths: [path.join(__dirname, '../less')],
syncImport: true
}).then(result => {
diff --git a/test/test.js b/test/test.js
index 21c8190..419b3fb 100644
--- a/test/test.js
+++ b/test/test.js
@@ -8,7 +8,7 @@ const tests = require('./tests.json');
const styles = [
'Less',
- 'Less4',
+ 'Less3',
'LibSass',
'DartSass',
'Stylus',