@bleedingdev/modern-js-code-tools 3.5.0-ultramodern.35 → 3.5.0-ultramodern.37

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.
@@ -28,8 +28,6 @@ var __webpack_require__ = {};
28
28
  var __webpack_exports__ = {};
29
29
  __webpack_require__.r(__webpack_exports__);
30
30
  __webpack_require__.d(__webpack_exports__, {
31
- SINGLE_APP_I18N_FAILURE: ()=>SINGLE_APP_I18N_FAILURE,
32
- SINGLE_APP_I18N_SUCCESS: ()=>SINGLE_APP_I18N_SUCCESS,
33
31
  main: ()=>main,
34
32
  runSingleAppI18nCheck: ()=>runSingleAppI18nCheck
35
33
  });
@@ -58,13 +56,9 @@ const runSingleAppI18nCheck = ({ cwd = process.cwd(), targets = [
58
56
  const main = ()=>{
59
57
  process.exitCode = runSingleAppI18nCheck();
60
58
  };
61
- exports.SINGLE_APP_I18N_FAILURE = __webpack_exports__.SINGLE_APP_I18N_FAILURE;
62
- exports.SINGLE_APP_I18N_SUCCESS = __webpack_exports__.SINGLE_APP_I18N_SUCCESS;
63
59
  exports.main = __webpack_exports__.main;
64
60
  exports.runSingleAppI18nCheck = __webpack_exports__.runSingleAppI18nCheck;
65
61
  for(var __rspack_i in __webpack_exports__)if (-1 === [
66
- "SINGLE_APP_I18N_FAILURE",
67
- "SINGLE_APP_I18N_SUCCESS",
68
62
  "main",
69
63
  "runSingleAppI18nCheck"
70
64
  ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
@@ -37,7 +37,6 @@ var __webpack_require__ = {};
37
37
  var __webpack_exports__ = {};
38
38
  __webpack_require__.r(__webpack_exports__);
39
39
  __webpack_require__.d(__webpack_exports__, {
40
- WORKSPACE_SOURCE_SUCCESS: ()=>WORKSPACE_SOURCE_SUCCESS,
41
40
  main: ()=>main,
42
41
  runWorkspaceSourceCheck: ()=>runWorkspaceSourceCheck
43
42
  });
@@ -187,11 +186,9 @@ const runWorkspaceSourceCheck = ({ cwd = process.cwd(), sourceRoots = [
187
186
  const main = ()=>{
188
187
  process.exitCode = runWorkspaceSourceCheck();
189
188
  };
190
- exports.WORKSPACE_SOURCE_SUCCESS = __webpack_exports__.WORKSPACE_SOURCE_SUCCESS;
191
189
  exports.main = __webpack_exports__.main;
192
190
  exports.runWorkspaceSourceCheck = __webpack_exports__.runWorkspaceSourceCheck;
193
191
  for(var __rspack_i in __webpack_exports__)if (-1 === [
194
- "WORKSPACE_SOURCE_SUCCESS",
195
192
  "main",
196
193
  "runWorkspaceSourceCheck"
197
194
  ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
@@ -32,12 +32,10 @@ __webpack_require__.d(__webpack_exports__, {
32
32
  expressionStringValue: ()=>expressionStringValue,
33
33
  getCallExpressionName: ()=>getCallExpressionName,
34
34
  getIgnorePattern: ()=>getIgnorePattern,
35
- getJsxElementName: ()=>getJsxElementName,
36
35
  getLine: ()=>getLine,
37
36
  getNodeName: ()=>getNodeName,
38
37
  getSourceText: ()=>getSourceText,
39
38
  getStringLiteralValue: ()=>getStringLiteralValue,
40
- getTemplateLiteralValue: ()=>getTemplateLiteralValue,
41
39
  hasAllowedElementAncestor: ()=>hasAllowedElementAncestor,
42
40
  hasIgnoreComment: ()=>hasIgnoreComment,
43
41
  hasLetters: ()=>hasLetters,
@@ -138,12 +136,10 @@ exports.asStringArray = __webpack_exports__.asStringArray;
138
136
  exports.expressionStringValue = __webpack_exports__.expressionStringValue;
139
137
  exports.getCallExpressionName = __webpack_exports__.getCallExpressionName;
140
138
  exports.getIgnorePattern = __webpack_exports__.getIgnorePattern;
141
- exports.getJsxElementName = __webpack_exports__.getJsxElementName;
142
139
  exports.getLine = __webpack_exports__.getLine;
143
140
  exports.getNodeName = __webpack_exports__.getNodeName;
144
141
  exports.getSourceText = __webpack_exports__.getSourceText;
145
142
  exports.getStringLiteralValue = __webpack_exports__.getStringLiteralValue;
146
- exports.getTemplateLiteralValue = __webpack_exports__.getTemplateLiteralValue;
147
143
  exports.hasAllowedElementAncestor = __webpack_exports__.hasAllowedElementAncestor;
148
144
  exports.hasIgnoreComment = __webpack_exports__.hasIgnoreComment;
149
145
  exports.hasLetters = __webpack_exports__.hasLetters;
@@ -162,12 +158,10 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
162
158
  "expressionStringValue",
163
159
  "getCallExpressionName",
164
160
  "getIgnorePattern",
165
- "getJsxElementName",
166
161
  "getLine",
167
162
  "getNodeName",
168
163
  "getSourceText",
169
164
  "getStringLiteralValue",
170
- "getTemplateLiteralValue",
171
165
  "hasAllowedElementAncestor",
172
166
  "hasIgnoreComment",
173
167
  "hasLetters",
@@ -23,4 +23,4 @@ const runSingleAppI18nCheck = ({ cwd = process.cwd(), targets = [
23
23
  const main = ()=>{
24
24
  process.exitCode = runSingleAppI18nCheck();
25
25
  };
26
- export { SINGLE_APP_I18N_FAILURE, SINGLE_APP_I18N_SUCCESS, main, runSingleAppI18nCheck };
26
+ export { main, runSingleAppI18nCheck };
@@ -142,4 +142,4 @@ const runWorkspaceSourceCheck = ({ cwd = process.cwd(), sourceRoots = [
142
142
  const main = ()=>{
143
143
  process.exitCode = runWorkspaceSourceCheck();
144
144
  };
145
- export { WORKSPACE_SOURCE_SUCCESS, main, runWorkspaceSourceCheck };
145
+ export { main, runWorkspaceSourceCheck };
@@ -80,4 +80,4 @@ const reportMissingProgramPattern = (context, node, source, pattern, message)=>{
80
80
  message
81
81
  });
82
82
  };
83
- export { asStringArray, expressionStringValue, getCallExpressionName, getIgnorePattern, getJsxElementName, getLine, getNodeName, getSourceText, getStringLiteralValue, getTemplateLiteralValue, hasAllowedElementAncestor, hasIgnoreComment, hasLetters, isApiEntryFile, isApiSourceFile, isForbiddenGeneratedEffectPath, isRecord, isSharedApiContractFile, normalizeFilename, normalizeVisibleText, reportMissingProgramPattern, reportProgramPattern, reportVisibleText };
83
+ export { asStringArray, expressionStringValue, getCallExpressionName, getIgnorePattern, getLine, getNodeName, getSourceText, getStringLiteralValue, hasAllowedElementAncestor, hasIgnoreComment, hasLetters, isApiEntryFile, isApiSourceFile, isForbiddenGeneratedEffectPath, isRecord, isSharedApiContractFile, normalizeFilename, normalizeVisibleText, reportMissingProgramPattern, reportProgramPattern, reportVisibleText };
@@ -24,4 +24,4 @@ const runSingleAppI18nCheck = ({ cwd = process.cwd(), targets = [
24
24
  const main = ()=>{
25
25
  process.exitCode = runSingleAppI18nCheck();
26
26
  };
27
- export { SINGLE_APP_I18N_FAILURE, SINGLE_APP_I18N_SUCCESS, main, runSingleAppI18nCheck };
27
+ export { main, runSingleAppI18nCheck };
@@ -143,4 +143,4 @@ const runWorkspaceSourceCheck = ({ cwd = process.cwd(), sourceRoots = [
143
143
  const main = ()=>{
144
144
  process.exitCode = runWorkspaceSourceCheck();
145
145
  };
146
- export { WORKSPACE_SOURCE_SUCCESS, main, runWorkspaceSourceCheck };
146
+ export { main, runWorkspaceSourceCheck };
@@ -81,4 +81,4 @@ const reportMissingProgramPattern = (context, node, source, pattern, message)=>{
81
81
  message
82
82
  });
83
83
  };
84
- export { asStringArray, expressionStringValue, getCallExpressionName, getIgnorePattern, getJsxElementName, getLine, getNodeName, getSourceText, getStringLiteralValue, getTemplateLiteralValue, hasAllowedElementAncestor, hasIgnoreComment, hasLetters, isApiEntryFile, isApiSourceFile, isForbiddenGeneratedEffectPath, isRecord, isSharedApiContractFile, normalizeFilename, normalizeVisibleText, reportMissingProgramPattern, reportProgramPattern, reportVisibleText };
84
+ export { asStringArray, expressionStringValue, getCallExpressionName, getIgnorePattern, getLine, getNodeName, getSourceText, getStringLiteralValue, hasAllowedElementAncestor, hasIgnoreComment, hasLetters, isApiEntryFile, isApiSourceFile, isForbiddenGeneratedEffectPath, isRecord, isSharedApiContractFile, normalizeFilename, normalizeVisibleText, reportMissingProgramPattern, reportProgramPattern, reportVisibleText };
@@ -2,8 +2,6 @@ type SingleAppI18nCheckOptions = {
2
2
  readonly cwd?: string;
3
3
  readonly targets?: readonly string[];
4
4
  };
5
- export declare const SINGLE_APP_I18N_SUCCESS = "No hardcoded user-visible JSX strings found.";
6
- export declare const SINGLE_APP_I18N_FAILURE = "Hardcoded user-visible JSX strings found. Move copy to locale JSON files.";
7
5
  export declare const runSingleAppI18nCheck: ({ cwd, targets, }?: SingleAppI18nCheckOptions) => number;
8
6
  export declare const main: () => void;
9
7
  export {};
@@ -16,6 +16,5 @@ export type WorkspaceSourceCheckOptions = {
16
16
  */
17
17
  readonly pluralCategories?: Readonly<Record<string, readonly string[]>>;
18
18
  };
19
- export declare const WORKSPACE_SOURCE_SUCCESS = "UltraModern i18n and boundary guardrails validated";
20
19
  export declare const runWorkspaceSourceCheck: ({ cwd, sourceRoots, locales, pluralCategories, }?: WorkspaceSourceCheckOptions) => number;
21
20
  export declare const main: () => void;
@@ -4,9 +4,7 @@ export declare const asStringArray: (value: unknown, fallback: readonly string[]
4
4
  export declare const normalizeVisibleText: (value: string) => string;
5
5
  export declare const hasLetters: (value: string) => boolean;
6
6
  export declare const getNodeName: (node: AstNode | undefined) => string | undefined;
7
- export declare const getJsxElementName: (node: AstNode | undefined) => string | undefined;
8
7
  export declare const hasAllowedElementAncestor: (node: AstNode, allowedElements: ReadonlySet<string>) => boolean;
9
- export declare const getTemplateLiteralValue: (node: AstNode) => string | undefined;
10
8
  export declare const getStringLiteralValue: (node: AstNode | undefined) => string | undefined;
11
9
  export declare const expressionStringValue: (node: AstNode | undefined) => string | undefined;
12
10
  export declare const getLine: (node: AstNode) => number | undefined;
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "engines": {
24
24
  "node": ">=20"
25
25
  },
26
- "version": "3.5.0-ultramodern.35",
26
+ "version": "3.5.0-ultramodern.37",
27
27
  "types": "./dist/types/index.d.ts",
28
28
  "main": "./dist/esm-node/index.js",
29
29
  "typesVersions": {
@@ -58,12 +58,12 @@
58
58
  "dist"
59
59
  ],
60
60
  "dependencies": {
61
- "oxlint": "1.71.0"
61
+ "oxlint": "1.73.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@rslib/core": "0.23.1",
65
- "@types/node": "^26.0.1",
66
- "@typescript/native-preview": "7.0.0-dev.20260628.1",
64
+ "@rslib/core": "0.23.2",
65
+ "@types/node": "^26.1.1",
66
+ "@typescript/native-preview": "7.0.0-dev.20260707.2",
67
67
  "@scripts/rstest-config": "2.66.0"
68
68
  },
69
69
  "sideEffects": false,