@node-minify/yui 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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/lib/yui.js +4 -4
  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
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
 
11
11
  /*!
12
12
  * node-minify
13
- * Copyright(c) 2011-2020 Rodolphe Stoclin
13
+ * Copyright(c) 2011-2022 Rodolphe Stoclin
14
14
  * MIT Licensed
15
15
  */
16
16
 
@@ -26,20 +26,20 @@ const binYui = _path.default.normalize(__dirname + '/binaries/yuicompressor-2.4.
26
26
  * Run YUI Compressor.
27
27
  *
28
28
  * @param {Object} settings
29
- * @param {String} data
29
+ * @param {String} content
30
30
  * @param {Function} callback
31
31
  */
32
32
 
33
33
 
34
34
  const minifyYUI = ({
35
35
  settings,
36
- data,
36
+ content,
37
37
  callback,
38
38
  index
39
39
  }) => {
40
40
  return (0, _run.runCommandLine)({
41
41
  args: yuiCommand(settings.type, settings.options),
42
- data,
42
+ data: content,
43
43
  settings,
44
44
  callback: (err, content) => {
45
45
  if (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-minify/yui",
3
- "version": "6.0.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.0.0"
36
+ "@node-minify/run": "^6.4.0",
37
+ "@node-minify/utils": "^6.4.0"
38
38
  },
39
- "gitHead": "5b17d0f80d0db5c18c64fab4dd0c70f035d6079d"
39
+ "gitHead": "d529747a661487597e9be510d3d9e2df1bc0f556"
40
40
  }