Ver código fonte

Updated Puppeteer version to v4.0.0

Signed-off-by: odidev <odidev@puresoftware.com>
odidev 4 anos atrás
pai
commit
0fdaaa110f
3 arquivos alterados com 4 adições e 3 exclusões
  1. 1 1
      jupyterlab/browser_check.py
  2. 2 2
      package.json
  3. 1 0
      tsconfig.eslint.json

+ 1 - 1
jupyterlab/browser_check.py

@@ -152,7 +152,7 @@ async def run_browser(url):
     if not osp.exists(osp.join(target, 'node_modules')):
         os.makedirs(target)
         await run_async_process(["jlpm", "init", "-y"], cwd=target)
-        await run_async_process(["jlpm", "add", "puppeteer@^2"], cwd=target)
+        await run_async_process(["jlpm", "add", "puppeteer@^4"], cwd=target)
     shutil.copy(osp.join(here, 'chrome-test.js'), osp.join(target, 'chrome-test.js'))
     await run_async_process(["node", "chrome-test.js", url], cwd=target)
 

+ 2 - 2
package.json

@@ -93,12 +93,12 @@
   "devDependencies": {
     "@typescript-eslint/eslint-plugin": "^2.27.0",
     "@typescript-eslint/parser": "^2.27.0",
-    "eslint": "^6.8.0",
+    "eslint": "^7.5.0",
     "eslint-config-prettier": "^6.7.0",
     "eslint-plugin-jest": "^23.8.2",
     "eslint-plugin-prettier": "^3.1.1",
     "eslint-plugin-react": "^7.19.0",
-    "husky": "^3.1.0",
+    "husky": "^4.2.5",
     "lerna": "^3.19.0",
     "lint-staged": "^9.5.0",
     "prettier": "^1.19.1",

+ 1 - 0
tsconfig.eslint.json

@@ -8,6 +8,7 @@
     "tests/**/*",
     "dev_mode/*",
     "docs/**/*",
+    ".eslintrc.js",
     "examples/**/*",
     "*",
     "packages/services/examples/**/*",