@node-minify/terser 6.1.0 → 7.0.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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/lib/terser.js +14 -14
  3. package/package.json +5 -5
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Rodolphe Stoclin
3
+ Copyright (c) 2022 Rodolphe Stoclin
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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-2020 Rodolphe Stoclin
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.1.0",
3
+ "version": "7.0.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": ">=10.0.0"
16
+ "node": ">=14.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.1.0",
37
- "terser": "5.3.1"
36
+ "@node-minify/utils": "^7.0.0",
37
+ "terser": "5.14.2"
38
38
  },
39
- "gitHead": "9140d008f49b5ab36f167250097f0a094a5af061"
39
+ "gitHead": "8b5bda6f1ac9fe7180006f2a19ec3253e8fff4ec"
40
40
  }