@node-minify/yui 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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/lib/yui.js +18 -18
  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/yui.js CHANGED
@@ -8,26 +8,26 @@ var _run = require("@node-minify/run");
8
8
 
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
 
11
- /*!
12
- * node-minify
13
- * Copyright(c) 2011-2020 Rodolphe Stoclin
14
- * MIT Licensed
11
+ /*!
12
+ * node-minify
13
+ * Copyright(c) 2011-2022 Rodolphe Stoclin
14
+ * MIT Licensed
15
15
  */
16
16
 
17
- /**
18
- * Module dependencies.
17
+ /**
18
+ * Module dependencies.
19
19
  */
20
20
 
21
- /**
22
- * Module variables.
21
+ /**
22
+ * Module variables.
23
23
  */
24
24
  const binYui = _path.default.normalize(__dirname + '/binaries/yuicompressor-2.4.7.jar');
25
- /**
26
- * Run YUI Compressor.
27
- *
28
- * @param {Object} settings
29
- * @param {String} content
30
- * @param {Function} callback
25
+ /**
26
+ * Run YUI Compressor.
27
+ *
28
+ * @param {Object} settings
29
+ * @param {String} content
30
+ * @param {Function} callback
31
31
  */
32
32
 
33
33
 
@@ -66,16 +66,16 @@ const minifyYUI = ({
66
66
  }
67
67
  });
68
68
  };
69
- /**
70
- * YUI Compressor CSS command line.
69
+ /**
70
+ * YUI Compressor CSS command line.
71
71
  */
72
72
 
73
73
 
74
74
  const yuiCommand = (type = 'js', options) => {
75
75
  return ['-jar', '-Xss2048k', binYui, '--type', type].concat(_utils.utils.buildArgs(options || {}));
76
76
  };
77
- /**
78
- * Expose `minifyYUI()`.
77
+ /**
78
+ * Expose `minifyYUI()`.
79
79
  */
80
80
 
81
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-minify/yui",
3
- "version": "6.2.0",
3
+ "version": "6.4.0",
4
4
  "description": "yui - yahoo compressor plugin for @node-minify",
5
5
  "keywords": [
6
6
  "compressor",
@@ -13,7 +13,7 @@
13
13
  "license": "MIT",
14
14
  "main": "lib/yui.js",
15
15
  "engines": {
16
- "node": ">=10.0.0"
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/run": "^6.0.0",
37
- "@node-minify/utils": "^6.2.0"
36
+ "@node-minify/run": "^6.4.0",
37
+ "@node-minify/utils": "^6.4.0"
38
38
  },
39
- "gitHead": "c191f2da661dafba035f9026a79fca56da76ead0"
39
+ "gitHead": "d529747a661487597e9be510d3d9e2df1bc0f556"
40
40
  }