@jsenv/ast 6.7.8 → 6.7.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/ast",
3
- "version": "6.7.8",
3
+ "version": "6.7.14",
4
4
  "description": "Parse and transform HTML, CSS and JS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,17 +24,17 @@
24
24
  "/src/"
25
25
  ],
26
26
  "dependencies": {
27
- "@babel/core": "7.27.1",
27
+ "@babel/core": "7.28.4",
28
28
  "@babel/helper-module-imports": "7.27.1",
29
- "@babel/parser": "7.27.1",
29
+ "@babel/parser": "7.28.4",
30
30
  "@jsenv/humanize": "1.6.0",
31
31
  "@jsenv/urls": "2.9.1",
32
32
  "@jsenv/utils": "2.3.1",
33
- "acorn": "8.14.1",
33
+ "acorn": "8.15.0",
34
34
  "acorn-import-attributes": "1.9.5",
35
35
  "acorn-walk": "8.3.4",
36
- "parse5": "7.3.0",
37
- "postcss": "8.5.3",
36
+ "parse5": "8.0.0",
37
+ "postcss": "8.5.6",
38
38
  "postcss-value-parser": "4.2.0"
39
39
  },
40
40
  "devDependencies": {
@@ -12,10 +12,17 @@ export const isNewWorkerCall = (node) => {
12
12
  node.callee.name === "Worker"
13
13
  );
14
14
  };
15
- export const analyzeNewWorkerCall = (node, { isJsModule, isNodeJs, onUrl }) => {
15
+ export const analyzeNewWorkerCall = (
16
+ node,
17
+ {
18
+ isJsModule,
19
+ // isNodeJs,
20
+ onUrl,
21
+ },
22
+ ) => {
16
23
  analyzeWorkerCallArguments(node, {
17
24
  isJsModule,
18
- isNodeJs,
25
+ // isNodeJs,
19
26
  onUrl,
20
27
  referenceSubtype: "new_worker_first_arg",
21
28
  expectedSubtype: "worker",
@@ -178,7 +178,7 @@ export const parseJsUrls = ({
178
178
  if (isNewWorkerCall(node)) {
179
179
  analyzeNewWorkerCall(node, {
180
180
  isJsModule,
181
- isNodeJs,
181
+ // isNodeJs,
182
182
  onUrl,
183
183
  });
184
184
  return;