From 2b5f1cdb1c9ffb82683ea81df2c011f2fd8ad0f3 Mon Sep 17 00:00:00 2001 From: Ryan Meyer Date: Wed, 7 Sep 2022 10:49:39 -0400 Subject: [PATCH] Restrict to patch versions of certain dependencies such as pixi.js and react to prevent compilation errors from higher versions. Update react-scripts to v4 to get node-sass to v5 to support nodejs v16 --- package.json | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index e36df20..8664018 100644 --- a/package.json +++ b/package.json @@ -29,14 +29,14 @@ }, "license": "MIT", "dependencies": { - "@inlet/react-pixi": "^1.2.0", - "ace-builds": "^1.4.8", + "@inlet/react-pixi": "1.2.x", + "ace-builds": "1.4.x", "css-element-queries": "^1.2.3", "lodash": "^4.17.15", - "pixi-viewport": "^4.11.1", - "pixi.js": "^5.2.1", - "react": "^16.12.0", - "react-dom": "^16.12.0", + "pixi-viewport": "4.11.x", + "pixi.js": "5.2.x", + "react": "16.14.x", + "react-dom": "16.14.x", "react-tooltip": "^4.2.5" }, "scripts": { @@ -83,6 +83,7 @@ "@types/enzyme-adapter-react-16": "^1.0.6", "@types/jest": "^25.1.3", "@types/lodash": "^4.14.150", + "@types/react": "16.14.x", "babel-plugin-transform-es2015-modules-umd": "^6.24.1", "babel-plugin-typescript-to-proptypes": "^1.3.2", "canvas": "^2.6.1", @@ -96,8 +97,8 @@ "jest-fetch-mock": "^3.0.2", "jest-transform-css": "^2.0.0", "jest-webgl-canvas-mock": "^0.2.3", - "node-sass": "^4.14.1", - "react-scripts": "3.4.0", + "node-sass": "^5.0.0", + "react-scripts": "4.0.x", "ts-jest": "^25.2.1", "ts-node": "^8.9.0", "typescript": "^3.7.5",