@bleedingdev/modern-js-runtime 3.5.0-ultramodern.100 → 3.5.0-ultramodern.101

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.
@@ -39,7 +39,8 @@ __webpack_require__.r(__webpack_exports__);
39
39
  __webpack_require__.d(__webpack_exports__, {
40
40
  default: ()=>cli,
41
41
  documentPlugin: ()=>documentPlugin,
42
- getDocumentByEntryName: ()=>getDocumentByEntryName
42
+ getDocumentByEntryName: ()=>getDocumentByEntryName,
43
+ processScriptPlaceholders: ()=>processScriptPlaceholders
43
44
  });
44
45
  const utils_namespaceObject = require("@modern-js/utils");
45
46
  const external_entities_namespaceObject = require("entities");
@@ -394,10 +395,12 @@ const cli = documentPlugin;
394
395
  exports["default"] = __webpack_exports__["default"];
395
396
  exports.documentPlugin = __webpack_exports__.documentPlugin;
396
397
  exports.getDocumentByEntryName = __webpack_exports__.getDocumentByEntryName;
398
+ exports.processScriptPlaceholders = __webpack_exports__.processScriptPlaceholders;
397
399
  for(var __rspack_i in __webpack_exports__)if (-1 === [
398
400
  "default",
399
401
  "documentPlugin",
400
- "getDocumentByEntryName"
402
+ "getDocumentByEntryName",
403
+ "processScriptPlaceholders"
401
404
  ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
402
405
  Object.defineProperty(exports, '__esModule', {
403
406
  value: true
@@ -347,4 +347,4 @@ const documentPlugin = ()=>({
347
347
  });
348
348
  const cli = documentPlugin;
349
349
  export default cli;
350
- export { documentPlugin, getDocumentByEntryName };
350
+ export { documentPlugin, getDocumentByEntryName, processScriptPlaceholders };
@@ -349,4 +349,4 @@ const documentPlugin = ()=>({
349
349
  });
350
350
  const cli = documentPlugin;
351
351
  export default cli;
352
- export { documentPlugin, getDocumentByEntryName };
352
+ export { documentPlugin, getDocumentByEntryName, processScriptPlaceholders };
@@ -1,5 +1,6 @@
1
1
  import type { AppTools, CliPlugin } from '@modern-js/app-tools';
2
2
  import type { Entrypoint } from '@modern-js/types/cli';
3
+ export declare const processScriptPlaceholders: (html: string, nonce?: string) => string;
3
4
  export declare const getDocumentByEntryName: (entrypoints: Entrypoint[], entryName: string, fallbackDir?: string) => string | undefined;
4
5
  export declare const documentPlugin: () => CliPlugin<AppTools>;
5
6
  export default documentPlugin;
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "modern",
18
18
  "modern.js"
19
19
  ],
20
- "version": "3.5.0-ultramodern.100",
20
+ "version": "3.5.0-ultramodern.101",
21
21
  "engines": {
22
22
  "node": ">=20"
23
23
  },
@@ -246,12 +246,12 @@
246
246
  "dependencies": {
247
247
  "@loadable/component": "5.16.7",
248
248
  "@loadable/server": "5.16.7",
249
- "@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.5.0-ultramodern.100",
250
- "@modern-js/plugin-data-loader": "npm:@bleedingdev/modern-js-plugin-data-loader@3.5.0-ultramodern.100",
251
- "@modern-js/render": "npm:@bleedingdev/modern-js-render@3.5.0-ultramodern.100",
252
- "@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.5.0-ultramodern.100",
253
- "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.5.0-ultramodern.100",
254
- "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.5.0-ultramodern.100",
249
+ "@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.5.0-ultramodern.101",
250
+ "@modern-js/plugin-data-loader": "npm:@bleedingdev/modern-js-plugin-data-loader@3.5.0-ultramodern.101",
251
+ "@modern-js/render": "npm:@bleedingdev/modern-js-render@3.5.0-ultramodern.101",
252
+ "@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.5.0-ultramodern.101",
253
+ "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.5.0-ultramodern.101",
254
+ "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.5.0-ultramodern.101",
255
255
  "@swc/core": "1.15.43",
256
256
  "@swc/helpers": "^0.5.23",
257
257
  "@swc/plugin-loadable-components": "^11.15.0",
@@ -272,7 +272,7 @@
272
272
  "react-dom": "^19.2.7"
273
273
  },
274
274
  "devDependencies": {
275
- "@modern-js/app-tools": "npm:@bleedingdev/modern-js-app-tools@3.5.0-ultramodern.100",
275
+ "@modern-js/app-tools": "npm:@bleedingdev/modern-js-app-tools@3.5.0-ultramodern.101",
276
276
  "@remix-run/web-fetch": "^4.4.2",
277
277
  "@rsbuild/core": "2.1.5",
278
278
  "@rslib/core": "0.23.2",