i18next-cli 1.69.0 → 1.69.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.
- package/README.md +9 -1
- package/dist/cjs/cli.js +1 -1
- package/dist/cjs/extractor/parsers/call-expression-handler.js +3 -2
- package/dist/cjs/extractor/parsers/expression-resolver.js +5 -4
- package/dist/cjs/instrumenter/core/instrumenter.js +9 -3
- package/dist/cjs/linter.js +18 -1
- package/dist/esm/cli.js +1 -1
- package/dist/esm/extractor/parsers/call-expression-handler.js +3 -2
- package/dist/esm/extractor/parsers/expression-resolver.js +5 -4
- package/dist/esm/instrumenter/core/instrumenter.js +9 -3
- package/dist/esm/linter.js +18 -1
- package/package.json +19 -19
- package/types/extractor/parsers/call-expression-handler.d.ts.map +1 -1
- package/types/extractor/parsers/expression-resolver.d.ts.map +1 -1
- package/types/instrumenter/core/instrumenter.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -598,7 +598,15 @@ The command walks through six steps:
|
|
|
598
598
|
|
|
599
599
|
**Non-React stacks (Vue, Svelte, …):** the instrument step transforms React/JSX out of the box. For other stacks, add a plugin that covers your file type (community: [i18next-cli-vue](https://github.com/PBK-B/i18next-cli-vue), [i18next-cli-plugin-svelte](https://github.com/dreamscached/i18next-cli-plugin-svelte) — or write your own via the [Plugin System](#plugin-system) `instrumentOnLoad`/`onLoad` hooks). With a matching plugin configured, `localize` runs the full flow; without one, the instrument step is skipped with guidance and the remaining steps (extract → Locize → auto-translate) still run.
|
|
600
600
|
|
|
601
|
-
**Agent
|
|
601
|
+
**Agent Skill (recommended):** install the flow as a skill and your agent picks it up on its own, no copy-pasting:
|
|
602
|
+
|
|
603
|
+
```bash
|
|
604
|
+
npx skills add i18next/i18next-cli
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
Then just ask it to *"add i18n to this project"*. See [`skills/i18next-localization`](./skills/i18next-localization/SKILL.md) — it ships in this repo, so it stays version-matched to the commands it drives.
|
|
608
|
+
|
|
609
|
+
**Agent prompt:** the same flow is also available as a copy-paste prompt for AI coding agents (Claude Code, Cursor, …):
|
|
602
610
|
|
|
603
611
|
```bash
|
|
604
612
|
npx i18next-cli localize --print-agent-prompt
|
package/dist/cjs/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ const program = new commander.Command();
|
|
|
37
37
|
program
|
|
38
38
|
.name('i18next-cli')
|
|
39
39
|
.description('A unified, high-performance i18next CLI.')
|
|
40
|
-
.version('1.69.
|
|
40
|
+
.version('1.69.2'); // This string is replaced with the actual version at build time by rollup
|
|
41
41
|
// new: global config override option
|
|
42
42
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
43
43
|
program
|
|
@@ -676,8 +676,9 @@ class CallExpressionHandler {
|
|
|
676
676
|
extractKeysFromSelector(node) {
|
|
677
677
|
let body = node.body;
|
|
678
678
|
// Handle block bodies, e.g., $ => { return $.key; }
|
|
679
|
-
|
|
680
|
-
|
|
679
|
+
// swc >=1.16 types function bodies as 'FunctionBody'; older versions used 'BlockStatement'.
|
|
680
|
+
if (body.type === 'BlockStatement' || body.type === 'FunctionBody') {
|
|
681
|
+
const returnStmt = body.stmts.find((s) => s.type === 'ReturnStatement');
|
|
681
682
|
if (returnStmt?.type === 'ReturnStatement' && returnStmt.argument) {
|
|
682
683
|
body = returnStmt.argument;
|
|
683
684
|
}
|
|
@@ -447,9 +447,10 @@ class ExpressionResolver {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
|
-
// Arrow functions with an expression body (no
|
|
451
|
-
// have their return expression directly as `body`.
|
|
452
|
-
|
|
450
|
+
// Arrow functions with an expression body (no block) — `() => expr` —
|
|
451
|
+
// have their return expression directly as `body`. swc >=1.16 types function
|
|
452
|
+
// bodies as 'FunctionBody'; older versions used 'BlockStatement'.
|
|
453
|
+
if (body.type !== 'BlockStatement' && body.type !== 'FunctionBody') {
|
|
453
454
|
const vals = this.resolvePossibleStringValuesFromExpression(body);
|
|
454
455
|
if (vals.length > 0)
|
|
455
456
|
return Array.from(new Set(vals));
|
|
@@ -611,7 +612,7 @@ class ExpressionResolver {
|
|
|
611
612
|
try {
|
|
612
613
|
let body = expression.body;
|
|
613
614
|
// Handle block body with return statement
|
|
614
|
-
if (body.type === 'BlockStatement') {
|
|
615
|
+
if (body.type === 'BlockStatement' || body.type === 'FunctionBody') {
|
|
615
616
|
const returnStmt = body.stmts.find((s) => s.type === 'ReturnStatement');
|
|
616
617
|
if (returnStmt?.type === 'ReturnStatement' && returnStmt.argument) {
|
|
617
618
|
body = returnStmt.argument;
|
|
@@ -406,7 +406,7 @@ function detectComponentBoundaries(node, content, components) {
|
|
|
406
406
|
// FunctionDeclaration with uppercase name
|
|
407
407
|
if (node.type === 'FunctionDeclaration' && node.identifier?.value && /^[A-Z]/.test(node.identifier.value)) {
|
|
408
408
|
const body = node.body;
|
|
409
|
-
if (body
|
|
409
|
+
if (isBlockBody(body) && body.span) {
|
|
410
410
|
components.push({
|
|
411
411
|
name: node.identifier.value,
|
|
412
412
|
bodyStart: body.span.start,
|
|
@@ -422,7 +422,7 @@ function detectComponentBoundaries(node, content, components) {
|
|
|
422
422
|
// VariableDeclarator path (e.g. `const Foo = function Foo() {}`).
|
|
423
423
|
if (node.type === 'FunctionExpression' && node.identifier?.value && /^[A-Z]/.test(node.identifier.value)) {
|
|
424
424
|
const body = node.body;
|
|
425
|
-
if (body
|
|
425
|
+
if (isBlockBody(body) && body.span) {
|
|
426
426
|
const alreadyRegistered = components.some(c => c.bodyStart === body.span.start && c.bodyEnd === body.span.end);
|
|
427
427
|
if (!alreadyRegistered) {
|
|
428
428
|
components.push({
|
|
@@ -474,9 +474,15 @@ function detectComponentBoundaries(node, content, components) {
|
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* swc >=1.16 types function bodies as 'FunctionBody'; older versions used 'BlockStatement'.
|
|
479
|
+
*/
|
|
480
|
+
function isBlockBody(body) {
|
|
481
|
+
return body?.type === 'BlockStatement' || body?.type === 'FunctionBody';
|
|
482
|
+
}
|
|
477
483
|
/**
|
|
478
484
|
* Helper: extracts a ComponentBoundary from an ArrowFunctionExpression or FunctionExpression
|
|
479
|
-
* that has a
|
|
485
|
+
* that has a block body.
|
|
480
486
|
*/
|
|
481
487
|
function addComponentFromFunctionNode(name, fnNode, content, components) {
|
|
482
488
|
const body = fnNode.body;
|
package/dist/cjs/linter.js
CHANGED
|
@@ -1049,9 +1049,26 @@ function findHardcodedStrings(ast, code, config) {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
};
|
|
1051
1051
|
walk(ast, []); // Run the walk to collect nodes
|
|
1052
|
-
// --- PHASE 2:
|
|
1052
|
+
// --- PHASE 2: Resolve line numbers from the (already normalised) node spans,
|
|
1053
|
+
// falling back to a tracked text search when a span is unavailable. Searching
|
|
1054
|
+
// the raw source misreports short strings that also occur as a substring
|
|
1055
|
+
// earlier in the file (283: "in" inside "settings.scss"), which in turn breaks
|
|
1056
|
+
// the ignore directives, since those are correlated by line.
|
|
1053
1057
|
let lastSearchIndex = 0;
|
|
1054
1058
|
for (const node of nodesToLint) {
|
|
1059
|
+
const start = node?.span?.start;
|
|
1060
|
+
if (typeof start === 'number') {
|
|
1061
|
+
// A JSXText span starts right after the preceding tag, so skip its leading
|
|
1062
|
+
// whitespace to report the line the visible text actually sits on.
|
|
1063
|
+
const offset = node.type === 'JSXText' && typeof node.value === 'string'
|
|
1064
|
+
? node.value.length - node.value.trimStart().length
|
|
1065
|
+
: 0;
|
|
1066
|
+
const pos = astUtils.lineColumnFromOffset(code, start + offset);
|
|
1067
|
+
if (pos) {
|
|
1068
|
+
issues.push({ text: node.value.trim(), line: pos.line, type: 'hardcoded' });
|
|
1069
|
+
continue;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1055
1072
|
// For StringLiterals, the `raw` property includes the quotes ("..."), which is
|
|
1056
1073
|
// much more unique for searching than the plain `value`.
|
|
1057
1074
|
const searchText = node.raw ?? node.value;
|
package/dist/esm/cli.js
CHANGED
|
@@ -31,7 +31,7 @@ const program = new Command();
|
|
|
31
31
|
program
|
|
32
32
|
.name('i18next-cli')
|
|
33
33
|
.description('A unified, high-performance i18next CLI.')
|
|
34
|
-
.version('1.69.
|
|
34
|
+
.version('1.69.2'); // This string is replaced with the actual version at build time by rollup
|
|
35
35
|
// new: global config override option
|
|
36
36
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
37
37
|
program
|
|
@@ -674,8 +674,9 @@ class CallExpressionHandler {
|
|
|
674
674
|
extractKeysFromSelector(node) {
|
|
675
675
|
let body = node.body;
|
|
676
676
|
// Handle block bodies, e.g., $ => { return $.key; }
|
|
677
|
-
|
|
678
|
-
|
|
677
|
+
// swc >=1.16 types function bodies as 'FunctionBody'; older versions used 'BlockStatement'.
|
|
678
|
+
if (body.type === 'BlockStatement' || body.type === 'FunctionBody') {
|
|
679
|
+
const returnStmt = body.stmts.find((s) => s.type === 'ReturnStatement');
|
|
679
680
|
if (returnStmt?.type === 'ReturnStatement' && returnStmt.argument) {
|
|
680
681
|
body = returnStmt.argument;
|
|
681
682
|
}
|
|
@@ -445,9 +445,10 @@ class ExpressionResolver {
|
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
};
|
|
448
|
-
// Arrow functions with an expression body (no
|
|
449
|
-
// have their return expression directly as `body`.
|
|
450
|
-
|
|
448
|
+
// Arrow functions with an expression body (no block) — `() => expr` —
|
|
449
|
+
// have their return expression directly as `body`. swc >=1.16 types function
|
|
450
|
+
// bodies as 'FunctionBody'; older versions used 'BlockStatement'.
|
|
451
|
+
if (body.type !== 'BlockStatement' && body.type !== 'FunctionBody') {
|
|
451
452
|
const vals = this.resolvePossibleStringValuesFromExpression(body);
|
|
452
453
|
if (vals.length > 0)
|
|
453
454
|
return Array.from(new Set(vals));
|
|
@@ -609,7 +610,7 @@ class ExpressionResolver {
|
|
|
609
610
|
try {
|
|
610
611
|
let body = expression.body;
|
|
611
612
|
// Handle block body with return statement
|
|
612
|
-
if (body.type === 'BlockStatement') {
|
|
613
|
+
if (body.type === 'BlockStatement' || body.type === 'FunctionBody') {
|
|
613
614
|
const returnStmt = body.stmts.find((s) => s.type === 'ReturnStatement');
|
|
614
615
|
if (returnStmt?.type === 'ReturnStatement' && returnStmt.argument) {
|
|
615
616
|
body = returnStmt.argument;
|
|
@@ -400,7 +400,7 @@ function detectComponentBoundaries(node, content, components) {
|
|
|
400
400
|
// FunctionDeclaration with uppercase name
|
|
401
401
|
if (node.type === 'FunctionDeclaration' && node.identifier?.value && /^[A-Z]/.test(node.identifier.value)) {
|
|
402
402
|
const body = node.body;
|
|
403
|
-
if (body
|
|
403
|
+
if (isBlockBody(body) && body.span) {
|
|
404
404
|
components.push({
|
|
405
405
|
name: node.identifier.value,
|
|
406
406
|
bodyStart: body.span.start,
|
|
@@ -416,7 +416,7 @@ function detectComponentBoundaries(node, content, components) {
|
|
|
416
416
|
// VariableDeclarator path (e.g. `const Foo = function Foo() {}`).
|
|
417
417
|
if (node.type === 'FunctionExpression' && node.identifier?.value && /^[A-Z]/.test(node.identifier.value)) {
|
|
418
418
|
const body = node.body;
|
|
419
|
-
if (body
|
|
419
|
+
if (isBlockBody(body) && body.span) {
|
|
420
420
|
const alreadyRegistered = components.some(c => c.bodyStart === body.span.start && c.bodyEnd === body.span.end);
|
|
421
421
|
if (!alreadyRegistered) {
|
|
422
422
|
components.push({
|
|
@@ -468,9 +468,15 @@ function detectComponentBoundaries(node, content, components) {
|
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
+
/**
|
|
472
|
+
* swc >=1.16 types function bodies as 'FunctionBody'; older versions used 'BlockStatement'.
|
|
473
|
+
*/
|
|
474
|
+
function isBlockBody(body) {
|
|
475
|
+
return body?.type === 'BlockStatement' || body?.type === 'FunctionBody';
|
|
476
|
+
}
|
|
471
477
|
/**
|
|
472
478
|
* Helper: extracts a ComponentBoundary from an ArrowFunctionExpression or FunctionExpression
|
|
473
|
-
* that has a
|
|
479
|
+
* that has a block body.
|
|
474
480
|
*/
|
|
475
481
|
function addComponentFromFunctionNode(name, fnNode, content, components) {
|
|
476
482
|
const body = fnNode.body;
|
package/dist/esm/linter.js
CHANGED
|
@@ -1047,9 +1047,26 @@ function findHardcodedStrings(ast, code, config) {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
};
|
|
1049
1049
|
walk(ast, []); // Run the walk to collect nodes
|
|
1050
|
-
// --- PHASE 2:
|
|
1050
|
+
// --- PHASE 2: Resolve line numbers from the (already normalised) node spans,
|
|
1051
|
+
// falling back to a tracked text search when a span is unavailable. Searching
|
|
1052
|
+
// the raw source misreports short strings that also occur as a substring
|
|
1053
|
+
// earlier in the file (283: "in" inside "settings.scss"), which in turn breaks
|
|
1054
|
+
// the ignore directives, since those are correlated by line.
|
|
1051
1055
|
let lastSearchIndex = 0;
|
|
1052
1056
|
for (const node of nodesToLint) {
|
|
1057
|
+
const start = node?.span?.start;
|
|
1058
|
+
if (typeof start === 'number') {
|
|
1059
|
+
// A JSXText span starts right after the preceding tag, so skip its leading
|
|
1060
|
+
// whitespace to report the line the visible text actually sits on.
|
|
1061
|
+
const offset = node.type === 'JSXText' && typeof node.value === 'string'
|
|
1062
|
+
? node.value.length - node.value.trimStart().length
|
|
1063
|
+
: 0;
|
|
1064
|
+
const pos = lineColumnFromOffset(code, start + offset);
|
|
1065
|
+
if (pos) {
|
|
1066
|
+
issues.push({ text: node.value.trim(), line: pos.line, type: 'hardcoded' });
|
|
1067
|
+
continue;
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1053
1070
|
// For StringLiterals, the `raw` property includes the quotes ("..."), which is
|
|
1054
1071
|
// much more unique for searching than the plain `value`.
|
|
1055
1072
|
const searchText = node.raw ?? node.value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "i18next-cli",
|
|
3
|
-
"version": "1.69.
|
|
3
|
+
"version": "1.69.2",
|
|
4
4
|
"description": "A unified, high-performance i18next CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -55,38 +55,38 @@
|
|
|
55
55
|
"@rollup/plugin-replace": "^6.0.3",
|
|
56
56
|
"@rollup/plugin-terser": "^1.0.0",
|
|
57
57
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
58
|
-
"@types/inquirer": "^9.0.
|
|
59
|
-
"@types/node": "^
|
|
60
|
-
"@types/react": "^19.2.
|
|
61
|
-
"@typescript-eslint/parser": "^8.
|
|
62
|
-
"@vitest/coverage-v8": "^4.1.
|
|
58
|
+
"@types/inquirer": "^9.0.10",
|
|
59
|
+
"@types/node": "^26.2.0",
|
|
60
|
+
"@types/react": "^19.2.18",
|
|
61
|
+
"@typescript-eslint/parser": "^8.67.0",
|
|
62
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
63
63
|
"eslint": "^9.39.4",
|
|
64
64
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
65
65
|
"eslint-plugin-import": "^2.32.0",
|
|
66
|
-
"memfs": "^4.
|
|
66
|
+
"memfs": "^4.68.1",
|
|
67
67
|
"neostandard": "^0.13.0",
|
|
68
|
-
"rollup": "^4.
|
|
68
|
+
"rollup": "^4.62.4",
|
|
69
69
|
"typescript": "^6.0.3",
|
|
70
|
-
"unplugin-swc": "^1.5.
|
|
71
|
-
"vitest": "^4.1.
|
|
70
|
+
"unplugin-swc": "^1.5.11",
|
|
71
|
+
"vitest": "^4.1.10"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@croct/json5-parser": "^0.2.2",
|
|
75
|
-
"@swc/core": "^1.
|
|
75
|
+
"@swc/core": "^1.16.0",
|
|
76
76
|
"chokidar": "^5.0.0",
|
|
77
|
-
"commander": "^
|
|
78
|
-
"execa": "^
|
|
77
|
+
"commander": "^15.0.0",
|
|
78
|
+
"execa": "^10.0.1",
|
|
79
79
|
"glob": "^13.0.6",
|
|
80
|
-
"i18next": "^26.3.
|
|
80
|
+
"i18next": "^26.3.6",
|
|
81
81
|
"i18next-resources-for-ts": "^2.1.0",
|
|
82
82
|
"inquirer": "^14.0.2",
|
|
83
83
|
"jiti": "^2.7.0",
|
|
84
84
|
"jsonc-parser": "^3.3.1",
|
|
85
|
-
"magic-string": "^
|
|
86
|
-
"minimatch": "^10.2.
|
|
87
|
-
"ora": "^9.4.
|
|
88
|
-
"react": "^19.2.
|
|
89
|
-
"react-i18next": "^17.0.
|
|
85
|
+
"magic-string": "^1.2.0",
|
|
86
|
+
"minimatch": "^10.2.6",
|
|
87
|
+
"ora": "^9.4.1",
|
|
88
|
+
"react": "^19.2.8",
|
|
89
|
+
"react-i18next": "^17.0.11",
|
|
90
90
|
"yaml": "^2.9.0"
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call-expression-handler.d.ts","sourceRoot":"","sources":["../../../src/extractor/parsers/call-expression-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAA6C,MAAM,WAAW,CAAA;AAC1F,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,EAAgB,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1G,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAc7D,qBAAa,qBAAqB;IAChC,OAAO,CAAC,aAAa,CAAe;IACpC,OAAO,CAAC,MAAM,CAAuC;IACrD,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,kBAAkB,CAAoB;IACvC,UAAU,cAAoB;IACrC,OAAO,CAAC,cAAc,CAAc;IACpC,OAAO,CAAC,cAAc,CAAc;IACpC,OAAO,CAAC,iBAAiB,CAAsC;gBAG7D,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAC7C,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,kBAAkB,EACtC,cAAc,EAAE,MAAM,MAAM,EAC5B,cAAc,EAAE,MAAM,MAAM,EAC5B,iBAAiB,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,SAA2B;IAW3E;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAiB3B;;;;;;;;;;;;;;OAcG;IACH,oBAAoB,CAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,GAAG,SAAS,GAAG,IAAI;IA8ZxG;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAmBzB,OAAO,CAAC,wBAAwB;IAyEhC;;;;;;OAMG;IACH,OAAO,CAAC,4BAA4B;IAsDpC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,OAAO,CAAC,sBAAsB;IA2B9B;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,uBAAuB;
|
|
1
|
+
{"version":3,"file":"call-expression-handler.d.ts","sourceRoot":"","sources":["../../../src/extractor/parsers/call-expression-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAA6C,MAAM,WAAW,CAAA;AAC1F,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,EAAgB,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1G,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAc7D,qBAAa,qBAAqB;IAChC,OAAO,CAAC,aAAa,CAAe;IACpC,OAAO,CAAC,MAAM,CAAuC;IACrD,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,kBAAkB,CAAoB;IACvC,UAAU,cAAoB;IACrC,OAAO,CAAC,cAAc,CAAc;IACpC,OAAO,CAAC,cAAc,CAAc;IACpC,OAAO,CAAC,iBAAiB,CAAsC;gBAG7D,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAC7C,aAAa,EAAE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EAAE;IAKjE;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,yCAAyC;IAqOjD,OAAO,CAAC,mCAAmC;IAiH3C;;;;;;OAMG;IACH,OAAO,CAAC,6CAA6C;IAyBrD;;;;;;OAMG;IACH,OAAO,CAAC,kDAAkD;CAwB3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumenter.d.ts","sourceRoot":"","sources":["../../../src/instrumenter/core/instrumenter.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAA6B,sBAAsB,EAAiE,MAAM,gBAAgB,CAAA;AAU1N;;;;;;;;GAQG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,mBAAmB,EAC5B,MAAM,GAAE,MAA4B,GACnC,OAAO,CAAC,sBAAsB,CAAC,CA+NjC;
|
|
1
|
+
{"version":3,"file":"instrumenter.d.ts","sourceRoot":"","sources":["../../../src/instrumenter/core/instrumenter.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAA6B,sBAAsB,EAAiE,MAAM,gBAAgB,CAAA;AAU1N;;;;;;;;GAQG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,mBAAmB,EAC5B,MAAM,GAAE,MAA4B,GACnC,OAAO,CAAC,sBAAsB,CAAC,CA+NjC;AA4yCD;;GAEG;AACH,wBAAsB,mBAAmB,IAAK,OAAO,CAAC,OAAO,CAAC,CAU7D;AAID,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,aAAa,GAAG,MAAM,GAAG,SAAS,CAAA;AA6B/E;;;;;;;;;GASG;AACH,wBAAsB,wBAAwB,IAAK,OAAO,CAAC,kBAAkB,CAAC,CA8B7E;AAED;;GAEG;AACH,wBAAsB,wBAAw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