@node-minify/jsonminify 6.0.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/jsonminify.js +14 -14
- package/package.json +5 -5
package/LICENSE
CHANGED
package/lib/jsonminify.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 jsonminify.
|
|
21
|
-
*
|
|
22
|
-
* @param {Object} settings
|
|
23
|
-
* @param {String} content
|
|
24
|
-
* @param {Function} callback
|
|
19
|
+
/**
|
|
20
|
+
* Run jsonminify.
|
|
21
|
+
*
|
|
22
|
+
* @param {Object} settings
|
|
23
|
+
* @param {String} content
|
|
24
|
+
* @param {Function} callback
|
|
25
25
|
*/
|
|
26
26
|
const minifyJsonMinify = ({
|
|
27
27
|
settings,
|
|
@@ -45,8 +45,8 @@ const minifyJsonMinify = ({
|
|
|
45
45
|
|
|
46
46
|
return contentMinified;
|
|
47
47
|
};
|
|
48
|
-
/**
|
|
49
|
-
* Expose `minifyJsonMinify()`.
|
|
48
|
+
/**
|
|
49
|
+
* Expose `minifyJsonMinify()`.
|
|
50
50
|
*/
|
|
51
51
|
|
|
52
52
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-minify/jsonminify",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "jsonminify plugin for @node-minify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compressor",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"main": "lib/jsonminify.js",
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
17
|
+
"node": ">=12.0.0"
|
|
18
18
|
},
|
|
19
19
|
"directories": {
|
|
20
20
|
"lib": "lib",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"url": "https://github.com/srod/node-minify/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@node-minify/utils": "^6.
|
|
38
|
-
"jsonminify": "0.4.
|
|
37
|
+
"@node-minify/utils": "^6.4.0",
|
|
38
|
+
"jsonminify": "0.4.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "d529747a661487597e9be510d3d9e2df1bc0f556"
|
|
41
41
|
}
|