@jsenv/core 29.1.17 → 29.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -11761,6 +11761,10 @@ const analyzeNewBlobCall = (node, {
11761
11761
  }) => {
11762
11762
  const firstArg = node.arguments[0];
11763
11763
 
11764
+ if (!firstArg) {
11765
+ return;
11766
+ }
11767
+
11764
11768
  if (firstArg.type !== "ArrayExpression") {
11765
11769
  return;
11766
11770
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "29.1.17",
3
+ "version": "29.1.19",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -52,8 +52,8 @@
52
52
  "start_file_server": "node ./scripts/dev/start_file_server.mjs",
53
53
  "generate-dev-errors-snapshot-files": "node --conditions=development ./tests/dev_server/errors/generate_snapshot_files.mjs",
54
54
  "prettier": "prettier --write .",
55
- "playwright-install": "npx playwright install-deps && npx playwright install",
56
- "certificate-install": "node ./scripts/dev/install_certificate_authority.mjs",
55
+ "playwright:install": "npx playwright install-deps && npx playwright install",
56
+ "certificate:install": "node ./scripts/dev/install_certificate_authority.mjs",
57
57
  "prepublishOnly": "npm run build"
58
58
  },
59
59
  "optionalDependencies": {
@@ -100,16 +100,16 @@
100
100
  "@babel/eslint-parser": "7.19.1",
101
101
  "@babel/plugin-syntax-import-assertions": "7.18.6",
102
102
  "@jsenv/assert": "2.7.0",
103
- "@jsenv/eslint-config": "16.2.4",
103
+ "@jsenv/eslint-config": "16.2.5",
104
104
  "@jsenv/file-size-impact": "13.0.1",
105
105
  "@jsenv/https-local": "3.0.1",
106
106
  "@jsenv/package-workspace": "0.5.0",
107
107
  "@jsenv/performance-impact": "3.0.1",
108
- "eslint": "8.24.0",
108
+ "eslint": "8.25.0",
109
109
  "eslint-plugin-html": "7.1.0",
110
110
  "eslint-plugin-import": "2.26.0",
111
- "eslint-plugin-react": "7.31.8",
112
- "playwright": "1.26.1",
111
+ "eslint-plugin-react": "7.31.10",
112
+ "playwright": "1.27.1",
113
113
  "prettier": "2.7.1"
114
114
  }
115
115
  }
@@ -157,6 +157,9 @@ const isNewBlobCall = (node) => {
157
157
  }
158
158
  const analyzeNewBlobCall = (node, { onInlineContentInfo }) => {
159
159
  const firstArg = node.arguments[0]
160
+ if (!firstArg) {
161
+ return
162
+ }
160
163
  if (firstArg.type !== "ArrayExpression") {
161
164
  return
162
165
  }