@component-compass/ast-utils 0.1.18 → 0.1.20

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/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { isElement, hasChildren, childNodesOf } from "./parse5-guards.js";
2
- export { posixPath } from "./posix.js";
3
2
  export { errorMessage, errorStack } from "./errors.js";
4
3
  export { findEnclosingComponentBinding } from "./find-owner.js";
5
4
  export type { EnclosingComponentBinding } from "./find-owner.js";
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  export { isElement, hasChildren, childNodesOf } from "./parse5-guards.js";
2
- export { posixPath } from "./posix.js";
3
2
  export { errorMessage, errorStack } from "./errors.js";
4
3
  export { findEnclosingComponentBinding } from "./find-owner.js";
5
4
  export { positionAt, getJSXName, isJSXElement, isJSXFragment, isJSXAttribute, isJSXSpreadAttribute, isCallExpression, isImportDeclaration, } from "./oxc-helpers.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAEhE,OAAO,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAEhE,OAAO,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@component-compass/ast-utils",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Shared AST utilities for component-compass parsers and manifest plugins. Internal infrastructure.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  "clean": "rm -rf dist .turbo"
25
25
  },
26
26
  "dependencies": {
27
- "@component-compass/plugin-core": "0.1.18",
27
+ "@component-compass/plugin-core": "0.1.20",
28
28
  "@oxc-project/types": "0.130.0",
29
29
  "oxc-walker": "1.0.0",
30
30
  "parse5": "8.0.1"
package/dist/posix.d.ts DELETED
@@ -1,2 +0,0 @@
1
- /** Normalises backslashes to forward slashes for cross-platform path output. */
2
- export declare function posixPath(p: string): string;
package/dist/posix.js DELETED
@@ -1,5 +0,0 @@
1
- /** Normalises backslashes to forward slashes for cross-platform path output. */
2
- export function posixPath(p) {
3
- return p.replaceAll("\\", "/");
4
- }
5
- //# sourceMappingURL=posix.js.map
package/dist/posix.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"posix.js","sourceRoot":"","sources":["../src/posix.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,UAAU,SAAS,CAAC,CAAS;IACjC,OAAO,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC"}