@node-minify/terser 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/terser.js +14 -14
- package/package.json +5 -5
package/LICENSE
CHANGED
package/lib/terser.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 terser.
|
|
21
|
-
*
|
|
22
|
-
* @param {Object} settings
|
|
23
|
-
* @param {String} content
|
|
24
|
-
* @param {Function} callback
|
|
19
|
+
/**
|
|
20
|
+
* Run terser.
|
|
21
|
+
*
|
|
22
|
+
* @param {Object} settings
|
|
23
|
+
* @param {String} content
|
|
24
|
+
* @param {Function} callback
|
|
25
25
|
*/
|
|
26
26
|
const minifyTerser = async ({
|
|
27
27
|
settings,
|
|
@@ -63,8 +63,8 @@ const minifyTerser = async ({
|
|
|
63
63
|
return callback(error);
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
|
-
/**
|
|
67
|
-
* Expose `minifyTerser()`.
|
|
66
|
+
/**
|
|
67
|
+
* Expose `minifyTerser()`.
|
|
68
68
|
*/
|
|
69
69
|
|
|
70
70
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-minify/terser",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "terser plugin for @node-minify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compressor",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "lib/terser.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.
|
|
37
|
-
"terser": "5.
|
|
36
|
+
"@node-minify/utils": "^6.4.0",
|
|
37
|
+
"terser": "5.14.2"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "d529747a661487597e9be510d3d9e2df1bc0f556"
|
|
40
40
|
}
|