@lwc/metadata 6.2.0-0 → 6.2.1-0
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/dist/bundle-metadata.js +1 -1
- package/dist/dependency-analyzer/analyzeScriptFile.d.ts +1 -1
- package/dist/dependency-analyzer/analyzeTemplateFile.d.ts +2 -2
- package/dist/luvio-metadata/index.d.ts +1 -1
- package/dist/luvio-metadata/index.js.map +1 -1
- package/dist/luvio-metadata/visitors/tagged-template-expression-visitor.d.ts +1 -1
- package/dist/luvio-metadata/visitors/tagged-template-expression-visitor.js +1 -1
- package/dist/luvio-metadata/visitors/tagged-template-expression-visitor.js.map +1 -1
- package/dist/schema/typescript-types/common-metadata-types.d.ts +3 -3
- package/package.json +4 -4
package/dist/bundle-metadata.js
CHANGED
|
@@ -75,7 +75,7 @@ function rollupDiagnostics(files) {
|
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
} */
|
|
78
|
-
const version = '6.2.
|
|
78
|
+
const version = '6.2.1-0';
|
|
79
79
|
function collectBundleMetadata(config) {
|
|
80
80
|
// validateBundleConfig(config);
|
|
81
81
|
const { namespace, name, type, namespaceMapping, files, enableKomaci, strictCSSTokenCollection, enableLuvio, experimentalComplexExpressions, apiVersion, } = config;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KomaciDocument } from '@komaci/types';
|
|
2
1
|
import { ScriptFile } from '../schema/typescript-types/script-metadata-types';
|
|
3
2
|
import { ScriptState } from '../script-metadata/utils';
|
|
3
|
+
import type { KomaciDocument } from '@komaci/types';
|
|
4
4
|
export declare function generateKomaciDocFromScript(scriptFile: ScriptFile, scriptState: ScriptState): KomaciDocument;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { KomaciDocument } from '@komaci/types';
|
|
2
|
-
import { HTMLTemplateFile } from '../schema/typescript-types/template-metadata-types';
|
|
1
|
+
import type { KomaciDocument } from '@komaci/types';
|
|
2
|
+
import type { HTMLTemplateFile } from '../schema/typescript-types/template-metadata-types';
|
|
3
3
|
export declare function generateKomaciDocFromTemplate(htmlFile: HTMLTemplateFile): KomaciDocument;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ParseResult } from '@babel/parser';
|
|
2
1
|
import * as t from '@babel/types';
|
|
2
|
+
import type { ParseResult } from '@babel/parser';
|
|
3
3
|
import type { LuvioMetadata } from '../schema/typescript-types/luvio-metadata-types';
|
|
4
4
|
export declare function generateLuvioMetadata(astRoot: ParseResult<t.File>): LuvioMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/luvio-metadata/index.ts"],"sourcesContent":[null],"names":["traverse","getTaggedTemplateExpressionVisitorFunction"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/luvio-metadata/index.ts"],"sourcesContent":[null],"names":["traverse","getTaggedTemplateExpressionVisitorFunction"],"mappings":";;;;;;;;;AAOM,SAAU,qBAAqB,CAAC,OAA4B,EAAA;;AAE9D,IAAA,MAAM,aAAa,GAAkB;AACjC,QAAA,MAAM,EAAE,EAAE;KACb,CAAC;IAEFA,yBAAQ,CAAC,OAAO,EAAE;AACd,QAAA,wBAAwB,EAAEC,uCAA0C,CAAC,aAAa,CAAC;AACtF,KAAA,CAAC,CAAC;AAEH,IAAA,OAAO,aAAa,CAAC;AACzB;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NodePath } from '@babel/traverse';
|
|
2
1
|
import * as t from '@babel/types';
|
|
2
|
+
import type { NodePath } from '@babel/traverse';
|
|
3
3
|
import type { LuvioMetadata } from '../../schema/typescript-types/luvio-metadata-types';
|
|
4
4
|
export default function visitorFunction({ gqlTag }: LuvioMetadata): (path: NodePath<t.TaggedTemplateExpression>) => void;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var t = require('@babel/types');
|
|
6
5
|
var node_crypto = require('node:crypto');
|
|
6
|
+
var t = require('@babel/types');
|
|
7
7
|
var utils = require('../../script-metadata/utils.js');
|
|
8
8
|
|
|
9
9
|
function _interopNamespaceCompat(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagged-template-expression-visitor.js","sources":["../../../src/luvio-metadata/visitors/tagged-template-expression-visitor.ts"],"sourcesContent":[null],"names":["t","createHash","generateSourceLocation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"tagged-template-expression-visitor.js","sources":["../../../src/luvio-metadata/visitors/tagged-template-expression-visitor.ts"],"sourcesContent":[null],"names":["t","createHash","generateSourceLocation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AACtD,MAAM,qBAAqB,GAAG,KAAK,CAAC;AAEpC,SAAS,mBAAmB,CAAC,IAA0C,EAAA;AACnE,IAAA,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;IAE1B,IAAI,CAACA,YAAC,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE;AACtB,QAAA,OAAO,KAAK,CAAC;KAChB;AAED,IAAA,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAE5C,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE;QACrC,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;AAErC,QAAA,IAAIA,YAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,oBAAoB,EAAE;YAC3E,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;AAEnC,YAAA,OAAOA,YAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,KAAK,qBAAqB,CAAC;SAC9E;KACJ;AAED,IAAA,OAAO,KAAK,CAAC;AACjB,CAAC;AAEa,SAAU,eAAe,CAAC,EAAE,MAAM,EAAiB,EAAA;IAC7D,OAAO,SAAS,uCAAuC,CACnD,IAA0C,EAAA;;;AAI1C,QAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE;YAC5B,OAAO;SACV;AAED,QAAA,MAAM,EACF,KAAK,EACL,KAAK,EAAE,EAAE,MAAM,EAAE,GACpB,GAAG,IAAI,CAAC,IAAI,CAAC;;QAEd,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CACvB,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,KAAK,CAAG,EAAA,aAAa,CAAG,EAAA,GAAG,CAAE,CAAA,EAC/D,EAAE,CACL,CAAC;;;;;;;;;;QAWF,MAAM,CAAC,IAAI,CAAC;AACR,YAAA,IAAI,EAAEC,sBAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AAC3D,YAAA,cAAc,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC;AACjC,YAAA,QAAQ,EAAEC,4BAAsB,CAAC,KAAK,CAAC;AAC1C,SAAA,CAAC,CAAC;AACP,KAAC,CAAC;AACN;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CompilerDiagnostic } from '@lwc/errors';
|
|
2
|
-
import { KomaciDocument } from '@komaci/types';
|
|
3
|
-
import { ScriptFileType } from '../../script-metadata/utils';
|
|
1
|
+
import type { CompilerDiagnostic } from '@lwc/errors';
|
|
2
|
+
import type { KomaciDocument } from '@komaci/types';
|
|
3
|
+
import type { ScriptFileType } from '../../script-metadata/utils';
|
|
4
4
|
interface SourceLocation {
|
|
5
5
|
startLine: number;
|
|
6
6
|
startColumn: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lwc/metadata",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1-0",
|
|
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",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"postcss-value-parser": "~4.2.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@lwc/sfdc-compiler-utils": "6.2.
|
|
31
|
-
"@lwc/errors": "~6.2.
|
|
32
|
-
"@lwc/template-compiler": "~6.2.
|
|
30
|
+
"@lwc/sfdc-compiler-utils": "6.2.1-0",
|
|
31
|
+
"@lwc/errors": "~6.2.1",
|
|
32
|
+
"@lwc/template-compiler": "~6.2.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/babel__core": "^7.20.5",
|