@lwrjs/types 0.10.0-alpha.14 → 0.10.0-alpha.15

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/build/index.d.ts +7 -1
  2. package/package.json +2 -2
package/build/index.d.ts CHANGED
@@ -108,6 +108,7 @@ export interface DynamicImportReference extends BaseDynamicModuleReference {
108
108
  export interface ModuleRecord {
109
109
  imports?: ImportModuleReference[];
110
110
  dynamicImports?: DynamicImportReference[];
111
+ importMeta?: ImportMeta[];
111
112
  }
112
113
  export interface ChildHashObject {
113
114
  [specifier: string]: string;
@@ -166,7 +167,7 @@ export interface FeatureFlags extends Record<string, boolean | undefined> {
166
167
  LEGACY_LOADER?: boolean;
167
168
  SSR_SANDBOX_WORKER?: boolean;
168
169
  SSR_STATIC_BUNDLES?: boolean;
169
- UNVERSIONED_ALIASES?: boolean;
170
+ EXPERIMENTAL_UNVERSIONED_ALIASES?: boolean;
170
171
  }
171
172
  export interface RuntimeEnvironment extends ServerModeConfig {
172
173
  apiVersion: string;
@@ -436,6 +437,7 @@ export declare type SourceMap = string | null | undefined;
436
437
  export interface CompiledMetadata {
437
438
  imports?: Import[];
438
439
  dynamicImports?: DynamicImport[];
440
+ importMeta?: ImportMeta[];
439
441
  }
440
442
  export interface SourceLocation {
441
443
  startColumn: number;
@@ -452,6 +454,10 @@ export interface DynamicImport {
452
454
  importLocation: SourceLocation;
453
455
  moduleNameType: ModuleNameType;
454
456
  }
457
+ export interface ImportMeta {
458
+ statement: string;
459
+ location: SourceLocation;
460
+ }
455
461
  export interface CompilerResult {
456
462
  code: string;
457
463
  map?: SourceMap;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -b"
9
9
  },
10
10
  "type": "module",
11
- "version": "0.10.0-alpha.14",
11
+ "version": "0.10.0-alpha.15",
12
12
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
13
13
  "repository": {
14
14
  "type": "git",
@@ -29,5 +29,5 @@
29
29
  "engines": {
30
30
  "node": ">=16.0.0 <20"
31
31
  },
32
- "gitHead": "f80dc1c18719b77c183f339027313be11d69f9dc"
32
+ "gitHead": "70557f63a46167c40cf1415f12af69f78ae402d6"
33
33
  }