Apply dependencies update
[benchmarks-js.git] / package.json
index 58b81665eb2525bd390f3ac46265ad5fa3c0c70b..6f3a41a17472a9d25f0573a0b1c54d68c71e07f2 100644 (file)
@@ -3,16 +3,34 @@
   "version": "0.0.1",
   "description": "JS code pattern benchmarks",
   "engines": {
-    "node": ">=14.x"
+    "node": ">=14.x",
+    "pnpm": ">=8.0.0"
+  },
+  "volta": {
+    "node": "20.1.0",
+    "pnpm": "8.4.0"
   },
   "repository": {
     "type": "git",
     "url": "git://github.com/jerome-benoit/benchmarks-js.git"
   },
+  "funding": [
+    {
+      "type": "patreon",
+      "url": "https://www.patreon.com/fraggle_"
+    },
+    {
+      "type": "github",
+      "url": "https://github.com/sponsors/jerome-benoit"
+    }
+  ],
   "scripts": {
+    "preinstall": "npx --yes only-allow pnpm",
     "prepare": "node prepare.js",
     "benchmark:busy-wait": "node busy-wait.js",
     "benchmark:empty-array": "node empty-array.js",
+    "benchmark:deep-clone-object": "node deep-clone-object.js",
+    "benchmark:shallow-clone-object": "node shallow-clone-object.js",
     "benchmark:is-empty-object": "node is-empty-object.js",
     "benchmark:is-undefined": "node is-undefined.js",
     "benchmark:quick-select": "node quick-select.js",
@@ -21,7 +39,7 @@
     "benchmark:fibonacci": "node fibonacci.js",
     "benchmark:random": "node random.js",
     "benchmark:uuid-generator": "node uuid-generator.js",
-    "format": "prettier . --write; standard . --fix",
+    "format": "prettier . --cache --write; standard . --fix",
     "lint": "eslint . --cache",
     "lint:fix": "eslint . --cache --fix",
     "test": "echo \"Error: no test specified\" && exit 1"
   "license": "MIT",
   "dependencies": {
     "benny": "^3.7.1",
+    "just-clone": "^6.2.0",
+    "lodash": "^4.17.21",
     "microtime": "^3.1.1",
     "uuid": "^9.0.0"
   },
   "devDependencies": {
-    "eslint": "^8.28.0",
+    "eslint": "^8.40.0",
     "eslint-config-standard": "^17.0.0",
-    "eslint-define-config": "^1.12.0",
-    "eslint-plugin-import": "^2.26.0",
-    "eslint-plugin-jsdoc": "^39.6.2",
-    "eslint-plugin-n": "^15.5.1",
+    "eslint-define-config": "^1.20.0",
+    "eslint-plugin-import": "^2.27.5",
+    "eslint-plugin-jsdoc": "^44.0.0",
+    "eslint-plugin-n": "^15.7.0",
     "eslint-plugin-promise": "^6.1.1",
-    "husky": "^8.0.2",
-    "lint-staged": "^13.0.3",
-    "prettier": "^2.7.1",
+    "husky": "^8.0.3",
+    "lint-staged": "^13.2.2",
+    "prettier": "^2.8.8",
     "standard": "^17.0.0",
-    "typescript": "^4.9.3"
+    "typescript": "^5.0.4"
   }
 }