@lwc/metadata 2.24.0-1 → 2.24.0-2

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.
@@ -75,7 +75,7 @@ function rollupDiagnostics(files) {
75
75
  );
76
76
  }
77
77
  } */
78
- const version = '2.24.0-1';
78
+ const version = '2.24.0-2';
79
79
  function collectBundleMetadata(config) {
80
80
  // validateBundleConfig(config);
81
81
  const { namespace, name, type, namespaceMapping, files, enableKomaci, strictCSSTokenCollection, } = config;
@@ -224,7 +224,7 @@ declare type ParentClass = {
224
224
  refId: ID;
225
225
  location: SourceLocation;
226
226
  } | 'unresolved';
227
- declare type SfdcResourceType = 'accessCheck' | 'apex' | 'apexMethod' | 'apexContinuation' | 'client' | 'commerce' | 'community' | 'component' | 'contentAssetUrl' | 'customPermission' | 'dynamicComponent' | 'messageChannel' | 'i18n' | 'gate' | 'label' | 'metric' | 'internal' | 'resourceUrl' | 'schema' | 'site' | 'slds' | 'user' | 'userPermission' | 'komaci' | 'webstore';
227
+ declare type SfdcResourceType = 'accessCheck' | 'apex' | 'apexMethod' | 'apexContinuation' | 'client' | 'commerce' | 'community' | 'component' | 'contentAssetUrl' | 'customPermission' | 'dynamicComponent' | 'featureFlag' | 'messageChannel' | 'i18n' | 'gate' | 'label' | 'metric' | 'internal' | 'resourceUrl' | 'schema' | 'site' | 'slds' | 'user' | 'userPermission' | 'komaci' | 'webstore';
228
228
  interface ModuleReference {
229
229
  name: string;
230
230
  namespacedName?: string;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../main").CollectionStrategy;
2
+ export default _default;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var utils = require('../utils.js');
6
+
7
+ // Copyright (c) 2022, Salesforce, Inc.,
8
+ var featureFlagCollector = utils.createSalesforceModuleCollector({
9
+ name: 'featureFlag',
10
+ });
11
+
12
+ exports["default"] = featureFlagCollector;
13
+ //# sourceMappingURL=feature-flag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-flag.js","sources":["../../../../../src/script-metadata/module-references/collectors/scoped/feature-flag.ts"],"sourcesContent":[null],"names":["createSalesforceModuleCollector"],"mappings":";;;;;;AAAA;AAMA,2BAAeA,qCAA+B,CAAC;AAC3C,IAAA,IAAI,EAAE,aAAa;AACtB,CAAA,CAAC;;;;"}
@@ -13,6 +13,7 @@ var community = require('./collectors/scoped/community.js');
13
13
  var contentAssetUrl = require('./collectors/scoped/content-asset-url.js');
14
14
  var customPermissions = require('./collectors/scoped/custom-permissions.js');
15
15
  var designSystem = require('./collectors/scoped/design-system.js');
16
+ var featureFlag = require('./collectors/scoped/feature-flag.js');
16
17
  var gate = require('./collectors/scoped/gate.js');
17
18
  var i18n = require('./collectors/scoped/i18n.js');
18
19
  var internal = require('./collectors/scoped/internal.js');
@@ -39,6 +40,7 @@ const COLLECTORS = [
39
40
  contentAssetUrl["default"],
40
41
  customPermissions["default"],
41
42
  designSystem["default"],
43
+ featureFlag["default"],
42
44
  gate["default"],
43
45
  i18n["default"],
44
46
  internal["default"],
@@ -1 +1 @@
1
- {"version":3,"file":"reference.js","sources":["../../../src/script-metadata/module-references/reference.ts"],"sourcesContent":[null],"names":["accessCheckCollector","apexCollector","clientCollector","commerceCollector","communityCollector","contentAssetUrlCollector","customPermissionsCollector","designSystemCollector","gateCollector","i18nCollector","internalCollector","labelCollector","messageChannelCollector","metricCollector","resourceUrlCollector","schemaCollector","siteCollector","userCollector","userPermissionCollector","localModuleCollector","genericModuleCollector","webstoreCollector","komaciCollector","isUndefined","generateSourceLocation","QUOTE_LENGTH","collectReference"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAoCA,MAAM,UAAU,GAAG;IACfA,sBAAoB;IACpBC,eAAa;IACbC,iBAAe;IACfC,mBAAiB;IACjBC,oBAAkB;IAClBC,0BAAwB;IACxBC,4BAA0B;IAC1BC,uBAAqB;IACrBC,eAAa;IACbC,eAAa;IACbC,mBAAiB;IACjBC,gBAAc;IACdC,yBAAuB;IACvBC,iBAAe;IACfC,sBAAoB;IACpBC,iBAAe;IACfC,eAAa;IACbC,eAAa;IACbC,yBAAuB;IACvBC,sBAAoB;IACpBC,wBAAsB;IACtBC,mBAAiB;IACjBC,iBAAe;CAClB,CAAC;SAEc,qBAAqB,CACjC,IAA6E,EAC7E,KAAkB,EAClB,MAAkB,EAAA;AAElB,IAAA,MAAM,EAAE,qBAAqB,EAAE,GAAG,KAAK,CAAC;;;AAGxC,IAAA,MAAM,MAAM,GAAG,IAAI,CAAC,MAAO,CAAC;AAC5B,IAAA,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAE1C,IAAI,eAAe,GAAG,qBAAqB,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;AACjE,IAAA,IAAI,CAACC,iBAAW,CAAC,eAAe,CAAC,EAAE;AAC/B,QAAA,eAAe,CAAC,SAAS,CAAC,IAAI,CAACC,8BAAsB,CAAC,MAAM,EAAEC,oBAAY,EAAEA,oBAAY,CAAC,CAAC,CAAC;AAC9F,KAAA;AAAM,SAAA;QACH,eAAe,GAAGC,qBAAgB,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,QAAA,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAC9C,QAAA,qBAAqB,CAAC,GAAG,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;AAC/D,KAAA;AAED,IAAA,OAAO,eAAe,CAAC;AAC3B;;;;"}
1
+ {"version":3,"file":"reference.js","sources":["../../../src/script-metadata/module-references/reference.ts"],"sourcesContent":[null],"names":["accessCheckCollector","apexCollector","clientCollector","commerceCollector","communityCollector","contentAssetUrlCollector","customPermissionsCollector","designSystemCollector","featureFlagCollector","gateCollector","i18nCollector","internalCollector","labelCollector","messageChannelCollector","metricCollector","resourceUrlCollector","schemaCollector","siteCollector","userCollector","userPermissionCollector","localModuleCollector","genericModuleCollector","webstoreCollector","komaciCollector","isUndefined","generateSourceLocation","QUOTE_LENGTH","collectReference"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAqCA,MAAM,UAAU,GAAG;IACfA,sBAAoB;IACpBC,eAAa;IACbC,iBAAe;IACfC,mBAAiB;IACjBC,oBAAkB;IAClBC,0BAAwB;IACxBC,4BAA0B;IAC1BC,uBAAqB;IACrBC,sBAAoB;IACpBC,eAAa;IACbC,eAAa;IACbC,mBAAiB;IACjBC,gBAAc;IACdC,yBAAuB;IACvBC,iBAAe;IACfC,sBAAoB;IACpBC,iBAAe;IACfC,eAAa;IACbC,eAAa;IACbC,yBAAuB;IACvBC,sBAAoB;IACpBC,wBAAsB;IACtBC,mBAAiB;IACjBC,iBAAe;CAClB,CAAC;SAEc,qBAAqB,CACjC,IAA6E,EAC7E,KAAkB,EAClB,MAAkB,EAAA;AAElB,IAAA,MAAM,EAAE,qBAAqB,EAAE,GAAG,KAAK,CAAC;;;AAGxC,IAAA,MAAM,MAAM,GAAG,IAAI,CAAC,MAAO,CAAC;AAC5B,IAAA,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAE1C,IAAI,eAAe,GAAG,qBAAqB,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;AACjE,IAAA,IAAI,CAACC,iBAAW,CAAC,eAAe,CAAC,EAAE;AAC/B,QAAA,eAAe,CAAC,SAAS,CAAC,IAAI,CAACC,8BAAsB,CAAC,MAAM,EAAEC,oBAAY,EAAEA,oBAAY,CAAC,CAAC,CAAC;AAC9F,KAAA;AAAM,SAAA;QACH,eAAe,GAAGC,qBAAgB,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,QAAA,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAC9C,QAAA,qBAAqB,CAAC,GAAG,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;AAC/D,KAAA;AAED,IAAA,OAAO,eAAe,CAAC;AAC3B;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lwc/metadata",
3
- "version": "2.24.0-1",
3
+ "version": "2.24.0-2",
4
4
  "description": "Extract metadata about Lightning Web Components modules. This software is provided as-is with no support provided.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "postcss-value-parser": "~4.2.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@lwc/sfdc-compiler-utils": "2.24.0-1",
25
+ "@lwc/sfdc-compiler-utils": "2.24.0-2",
26
26
  "@lwc/errors": "~2.24.0",
27
27
  "@lwc/template-compiler": "~2.24.0"
28
28
  },