@atlaspack/rust 3.2.1-canary.190 → 3.2.1-canary.191

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/types.d.ts +26 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/rust",
3
- "version": "3.2.1-canary.190+7a52bab62",
3
+ "version": "3.2.1-canary.191+eedcbc408",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,5 +37,5 @@
37
37
  "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
38
38
  },
39
39
  "type": "commonjs",
40
- "gitHead": "7a52bab6281e8edbfa66af248eb6f872c6b4b7bd"
40
+ "gitHead": "eedcbc408fc1e86a2a8e25f1a41c57146d8529e1"
41
41
  }
package/types.d.ts CHANGED
@@ -223,3 +223,29 @@ export class Resolver {
223
223
  getInvalidations(path: string): JsInvalidations;
224
224
  getInvalidations(path: string): JsInvalidations;
225
225
  }
226
+
227
+ export interface SourceLocation {
228
+ filePath: string;
229
+ start: {
230
+ line: number;
231
+ column: number;
232
+ line: number;
233
+ column: number;
234
+ };
235
+ end: {
236
+ line: number;
237
+ column: number;
238
+ line: number;
239
+ column: number;
240
+ };
241
+ }
242
+
243
+ export interface Symbol {
244
+ local: string;
245
+ exported: string;
246
+ loc?: SourceLocation;
247
+ isWeak: boolean;
248
+ isEsmExport: boolean;
249
+ isStaticBindingSafe: boolean;
250
+ selfReferenced: boolean;
251
+ }