From 1c4fad590426320133d57a52975cb2bbd13e090c Mon Sep 17 00:00:00 2001 From: xiange Date: Fri, 26 May 2023 22:23:18 +0800 Subject: [PATCH] Remove identity-obj-proxy --- jest.config.js | 3 --- package-lock.json | 34 ---------------------------------- package.json | 1 - 3 files changed, 38 deletions(-) diff --git a/jest.config.js b/jest.config.js index 30a67762..2f58c62b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -4,7 +4,4 @@ module.exports = { testRegex: "packages/.*/test/(.+)\\.test\\.(js|ts)$", testEnvironment: "jsdom", moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], - moduleNameMapper: { - "\\.(css|less)$": "identity-obj-proxy", - }, }; diff --git a/package-lock.json b/package-lock.json index 23c13c12..8c2d250e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,6 @@ "devDependencies": { "@rspack/cli": "^0.1.12", "@types/jest": "^29.5.1", - "identity-obj-proxy": "^3.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "lint-staged": "^13.2.2", @@ -4189,12 +4188,6 @@ "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, - "node_modules/harmony-reflect": { - "version": "1.6.2", - "resolved": "https://registry.npmmirror.com/harmony-reflect/-/harmony-reflect-1.6.2.tgz", - "integrity": "sha512-HIp/n38R9kQjDEziXyDTuW3vvoxxyxjxFzXLrBr18uB47GnSt+G9D29fqrpM5ZkspMcPICud3XsBJQ4Y2URg8g==", - "dev": true - }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz", @@ -4411,18 +4404,6 @@ "postcss": "^8.1.0" } }, - "node_modules/identity-obj-proxy": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz", - "integrity": "sha512-00n6YnVHKrinT9t0d9+5yZC6UBNJANpYEQvL2LlX6Ab9lnmxzIRcEmTPuyGScvl1+jKuCICX1Z0Ab1pPKKdikA==", - "dev": true, - "dependencies": { - "harmony-reflect": "^1.4.6" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/image-size": { "version": "0.5.5", "resolved": "https://registry.npmmirror.com/image-size/-/image-size-0.5.5.tgz", @@ -12121,12 +12102,6 @@ "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, - "harmony-reflect": { - "version": "1.6.2", - "resolved": "https://registry.npmmirror.com/harmony-reflect/-/harmony-reflect-1.6.2.tgz", - "integrity": "sha512-HIp/n38R9kQjDEziXyDTuW3vvoxxyxjxFzXLrBr18uB47GnSt+G9D29fqrpM5ZkspMcPICud3XsBJQ4Y2URg8g==", - "dev": true - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz", @@ -12299,15 +12274,6 @@ "dev": true, "requires": {} }, - "identity-obj-proxy": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz", - "integrity": "sha512-00n6YnVHKrinT9t0d9+5yZC6UBNJANpYEQvL2LlX6Ab9lnmxzIRcEmTPuyGScvl1+jKuCICX1Z0Ab1pPKKdikA==", - "dev": true, - "requires": { - "harmony-reflect": "^1.4.6" - } - }, "image-size": { "version": "0.5.5", "resolved": "https://registry.npmmirror.com/image-size/-/image-size-0.5.5.tgz", diff --git a/package.json b/package.json index 41f5539a..9be49259 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "devDependencies": { "@rspack/cli": "^0.1.12", "@types/jest": "^29.5.1", - "identity-obj-proxy": "^3.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "lint-staged": "^13.2.2",