Переглянути джерело

Updating some dependancies

Gaël Métais 1 рік тому
батько
коміт
04e734bd5a
2 змінених файлів з 7 додано та 8 видалено
  1. 0 1
      lib/tools/phantomas/phantomasWrapper.js
  2. 7 7
      package.json

+ 0 - 1
lib/tools/phantomas/phantomasWrapper.js

@@ -1,4 +1,3 @@
-var async                   = require('async');
 var Q                       = require('q');
 var Q                       = require('q');
 var path                    = require('path');
 var path                    = require('path');
 var debug                   = require('debug')('ylt:phantomaswrapper');
 var debug                   = require('debug')('ylt:phantomaswrapper');

+ 7 - 7
package.json

@@ -16,13 +16,13 @@
     "yellowlabtools": "./bin/cli.js"
     "yellowlabtools": "./bin/cli.js"
   },
   },
   "engines": {
   "engines": {
-    "node": ">= 12.0"
+    "node": ">= 16.0"
   },
   },
   "main": "./lib/index.js",
   "main": "./lib/index.js",
   "dependencies": {
   "dependencies": {
     "async": "2.6.1",
     "async": "2.6.1",
     "clean-css": "4.2.1",
     "clean-css": "4.2.1",
-    "color-diff": "1.1.0",
+    "color-diff": "1.4.0",
     "css-mq-parser": "0.0.3",
     "css-mq-parser": "0.0.3",
     "debug": "4.1.1",
     "debug": "4.1.1",
     "easyxml": "2.0.1",
     "easyxml": "2.0.1",
@@ -57,13 +57,13 @@
     "woff-tools": "0.1.0"
     "woff-tools": "0.1.0"
   },
   },
   "devDependencies": {
   "devDependencies": {
-    "chai": "~4.2.0",
-    "mocha": "~5.2.0",
-    "sinon": "~7.2.3",
-    "sinon-chai": "~3.3.0"
+    "chai": "~4.3.7",
+    "mocha": "~10.2.0",
+    "sinon": "~15.2.0",
+    "sinon-chai": "3.7.0"
   },
   },
   "scripts": {
   "scripts": {
-    "test": "todo"
+    "test": "mocha './test/core/**.js'"
   },
   },
   "keywords": [
   "keywords": [
     "performance",
     "performance",