@node-minify/crass 6.2.0 → 6.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/LICENSE +1 -1
- package/lib/crass.js +14 -14
- package/package.json +4 -4
package/LICENSE
CHANGED
package/lib/crass.js
CHANGED
|
@@ -6,22 +6,22 @@ var _utils = require("@node-minify/utils");
|
|
|
6
6
|
|
|
7
7
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
8
8
|
|
|
9
|
-
/*!
|
|
10
|
-
* node-minify
|
|
11
|
-
* Copyright(c) 2011-
|
|
12
|
-
* MIT Licensed
|
|
9
|
+
/*!
|
|
10
|
+
* node-minify
|
|
11
|
+
* Copyright(c) 2011-2022 Rodolphe Stoclin
|
|
12
|
+
* MIT Licensed
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
* Module dependencies.
|
|
15
|
+
/**
|
|
16
|
+
* Module dependencies.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Run crass.
|
|
21
|
-
*
|
|
22
|
-
* @param {Object} settings
|
|
23
|
-
* @param {String} content
|
|
24
|
-
* @param {Function} callback
|
|
19
|
+
/**
|
|
20
|
+
* Run crass.
|
|
21
|
+
*
|
|
22
|
+
* @param {Object} settings
|
|
23
|
+
* @param {String} content
|
|
24
|
+
* @param {Function} callback
|
|
25
25
|
*/
|
|
26
26
|
const minifyCrass = ({
|
|
27
27
|
settings,
|
|
@@ -45,8 +45,8 @@ const minifyCrass = ({
|
|
|
45
45
|
|
|
46
46
|
return contentMinified;
|
|
47
47
|
};
|
|
48
|
-
/**
|
|
49
|
-
* Expose `minifyCrass()`.
|
|
48
|
+
/**
|
|
49
|
+
* Expose `minifyCrass()`.
|
|
50
50
|
*/
|
|
51
51
|
|
|
52
52
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-minify/crass",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "crass plugin for @node-minify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compressor",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "lib/crass.js",
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=
|
|
16
|
+
"node": ">=12.0.0"
|
|
17
17
|
},
|
|
18
18
|
"directories": {
|
|
19
19
|
"lib": "lib",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"url": "https://github.com/srod/node-minify/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@node-minify/utils": "^6.
|
|
36
|
+
"@node-minify/utils": "^6.4.0",
|
|
37
37
|
"crass": "0.12.3"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "d529747a661487597e9be510d3d9e2df1bc0f556"
|
|
40
40
|
}
|