@lwrjs/shared-utils 0.10.0-alpha.16 → 0.10.0-alpha.18
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/build/es/fs.d.ts +1 -0
- package/build/es/html-meta.d.ts +1 -1
- package/build/es/identity.d.ts +2 -2
- package/build/es/interchangeable-modules.d.ts +1 -1
- package/build/es/link.d.ts +1 -1
- package/build/es/logger.d.ts +2 -2
- package/build/es/lwr-app-observer.d.ts +1 -1
- package/build/es/mappings.d.ts +1 -1
- package/build/es/urls.d.ts +1 -1
- package/package.json +4 -4
package/build/es/fs.d.ts
CHANGED
package/build/es/html-meta.d.ts
CHANGED
package/build/es/identity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import getCacheKeyFromJson from 'fast-json-stable-stringify';
|
|
2
|
-
import { AbstractModuleId, AssetSource, BundleDefinition, ModuleDefinition, NormalizedLwrAppBootstrapConfig, PublicModuleRegistry, RuntimeEnvironment, RuntimeParams } from '@lwrjs/types';
|
|
2
|
+
import type { AbstractModuleId, AssetSource, BundleDefinition, ModuleDefinition, NormalizedLwrAppBootstrapConfig, PublicModuleRegistry, RuntimeEnvironment, RuntimeParams } from '@lwrjs/types';
|
|
3
3
|
export declare const VERSION_SIGIL = "/v/";
|
|
4
4
|
export declare const LOCALE_SIGIL = "l";
|
|
5
5
|
export declare const ENVIRONMENT_SIGIL = "e";
|
|
@@ -15,7 +15,7 @@ export declare const DEFAULT_LWR_LOCKER_CONFIG: {
|
|
|
15
15
|
trustedComponents: string[];
|
|
16
16
|
};
|
|
17
17
|
export declare const DEFAULT_LWR_BOOTSTRAP_CONFIG: NormalizedLwrAppBootstrapConfig;
|
|
18
|
-
|
|
18
|
+
type ModuleIdentifierPartial = Partial<AbstractModuleId>;
|
|
19
19
|
/**
|
|
20
20
|
* Turn the dots in a version into underscores
|
|
21
21
|
* @param version
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InterchangeableModuleRecord, LwcConfig, ResolverModuleRecord, InterchangeableModuleMap } from '@lwrjs/types';
|
|
1
|
+
import type { InterchangeableModuleRecord, LwcConfig, ResolverModuleRecord, InterchangeableModuleMap } from '@lwrjs/types';
|
|
2
2
|
/**
|
|
3
3
|
* Traverses LWC configurations to find all possible interchangeable modules
|
|
4
4
|
*
|
package/build/es/link.d.ts
CHANGED
package/build/es/logger.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
type LEVEL = 'verbose' | 'debug' | 'info' | 'warn' | 'error';
|
|
2
2
|
export declare const VERBOSE: LEVEL;
|
|
3
3
|
export declare const DEBUG: LEVEL;
|
|
4
4
|
export declare const INFO: LEVEL;
|
|
5
5
|
export declare const WARN: LEVEL;
|
|
6
6
|
export declare const ERROR: LEVEL;
|
|
7
|
-
|
|
7
|
+
type LoggerOptions = {
|
|
8
8
|
dedupe?: Set<string>;
|
|
9
9
|
};
|
|
10
10
|
declare function log(level: string, message: string, additionalInfo?: any): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import { ModuleCompiled, LwrAppEmitter, LwrAppObserver, ModuleDefinitionChangedEvent, ModuleSourceChangedEvent, CompiledView, AssetSource, AssetSourceChangedEvent, ViewSourceChangedEvent } from '@lwrjs/types';
|
|
3
|
+
import type { ModuleCompiled, LwrAppEmitter, LwrAppObserver, ModuleDefinitionChangedEvent, ModuleSourceChangedEvent, CompiledView, AssetSource, AssetSourceChangedEvent, ViewSourceChangedEvent } from '@lwrjs/types';
|
|
4
4
|
declare class LwrEmitter implements LwrAppEmitter {
|
|
5
5
|
observer: LwrApplicationObserver;
|
|
6
6
|
constructor(observer: LwrApplicationObserver);
|
package/build/es/mappings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractModuleId, FlattenedModuleGraphs, ImportMetadata, ModuleBundler, ModuleRegistry, RuntimeEnvironment, RuntimeParams } from '@lwrjs/types';
|
|
1
|
+
import type { AbstractModuleId, FlattenedModuleGraphs, ImportMetadata, ModuleBundler, ModuleRegistry, RuntimeEnvironment, RuntimeParams } from '@lwrjs/types';
|
|
2
2
|
/**
|
|
3
3
|
* Get the Import Metadata for the LWR Mapping Api (https://rfcs.lwc.dev/rfcs/lwr/0000-mapping-api)
|
|
4
4
|
*/
|
package/build/es/urls.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.10.0-alpha.
|
|
7
|
+
"version": "0.10.0-alpha.18",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"rollup": "^2.78.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@lwrjs/diagnostics": "0.10.0-alpha.
|
|
66
|
-
"@lwrjs/types": "0.10.0-alpha.
|
|
65
|
+
"@lwrjs/diagnostics": "0.10.0-alpha.18",
|
|
66
|
+
"@lwrjs/types": "0.10.0-alpha.18",
|
|
67
67
|
"@types/mime-types": "2.1.1",
|
|
68
68
|
"@types/path-to-regexp": "^1.7.0"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=16.0.0 <20"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "15d09e9a17b6b070e162336234434d6800b2f32d"
|
|
74
74
|
}
|