@lwrjs/module-registry 0.22.1 → 0.22.7-alpha.6

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.
@@ -6,9 +6,8 @@ import url from 'url';
6
6
  * externals in the bundle configuration
7
7
  */
8
8
  export default class ExternalsModuleProvider {
9
- name = 'externals-module-provider';
10
- externals;
11
9
  constructor(_config, context) {
10
+ this.name = 'externals-module-provider';
12
11
  this.externals = context?.config.bundleConfig?.external || {};
13
12
  }
14
13
  async getModuleEntry(moduleId) {
package/build/es/index.js CHANGED
@@ -7,17 +7,11 @@ import { getModuleRecord } from './module-record.js';
7
7
  import amdLinkingStrategy from './linker/strategies/amd-strategy.js';
8
8
  import esmLinkingStrategy from './linker/strategies/esm-strategy.js';
9
9
  export class LwrModuleRegistry {
10
- name;
11
- providers = [];
12
- moduleDefCache = new Map();
13
- moduleLinkedCache = new Map();
14
- context;
15
- emitter;
16
- globalConfig;
17
- interchangeableModules;
18
- inflightModuleDefinitions = new InflightTasks();
19
- bundleSigner;
20
10
  constructor(context, globalConfig, registries) {
11
+ this.providers = [];
12
+ this.moduleDefCache = new Map();
13
+ this.moduleLinkedCache = new Map();
14
+ this.inflightModuleDefinitions = new InflightTasks();
21
15
  this.name = 'lwr-module-registry';
22
16
  this.context = context;
23
17
  this.globalConfig = globalConfig;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.22.1",
7
+ "version": "0.22.7-alpha.6",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -37,18 +37,18 @@
37
37
  "build": "tsc -b"
38
38
  },
39
39
  "dependencies": {
40
- "@lwrjs/config": "0.22.1",
41
- "@lwrjs/diagnostics": "0.22.1",
42
- "@lwrjs/shared-utils": "0.22.1",
40
+ "@lwrjs/config": "0.22.7-alpha.6",
41
+ "@lwrjs/diagnostics": "0.22.7-alpha.6",
42
+ "@lwrjs/shared-utils": "0.22.7-alpha.6",
43
43
  "fs-extra": "^11.1.1",
44
44
  "rollup": "^2.79.2"
45
45
  },
46
46
  "devDependencies": {
47
- "@lwrjs/types": "0.22.1",
47
+ "@lwrjs/types": "0.22.7-alpha.6",
48
48
  "memfs": "^4.13.0"
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=22.0.0"
52
52
  },
53
- "gitHead": "29d44fb69ae394a4191c6a81024a8a81f2125556"
53
+ "gitHead": "26945a25c6387c4a0b76eb7707bab6cf726bf357"
54
54
  }