@rslib/core 0.19.5 → 0.19.6

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -720,7 +720,7 @@ class LibSvgrPatchPlugin {
720
720
  compiler.hooks.make.tap(this.name, (compilation)=>{
721
721
  compilation.hooks.processAssets.tap(this.name, (assets)=>{
722
722
  const isEsm = Boolean(compilation.options.output.module);
723
- const chunkAsset = Object.keys(assets).filter((name)=>/js$/.test(name));
723
+ const chunkAsset = Object.keys(assets).filter((name)=>name.endsWith('js'));
724
724
  for (const name of chunkAsset)compilation.updateAsset(name, (old)=>{
725
725
  const oldSource = old.source().toString();
726
726
  const newSource = new __rspack_external__rsbuild_core_1b356efc.rspack.sources.ReplaceSource(old);
@@ -3181,7 +3181,7 @@ const applyCommonOptions = (cli)=>{
3181
3181
  };
3182
3182
  function setupCommands() {
3183
3183
  const cli = dist('rslib');
3184
- cli.version("0.19.5");
3184
+ cli.version("0.19.6");
3185
3185
  applyCommonOptions(cli);
3186
3186
  const buildDescription = `build the library for production ${picocolors.dim('(default if no command is given)')}`;
3187
3187
  const buildCommand = cli.command('', buildDescription).alias('build');
@@ -3281,7 +3281,7 @@ function showGreeting() {
3281
3281
  const isBun = npm_execpath?.includes('.bun');
3282
3282
  const isNodeRun = Boolean(NODE_RUN_SCRIPT_NAME);
3283
3283
  const prefix = isNpx || isBun || isNodeRun ? '\n' : '';
3284
- logger.greet(`${prefix}Rslib v0.19.5\n`);
3284
+ logger.greet(`${prefix}Rslib v0.19.6\n`);
3285
3285
  }
3286
3286
  function setupLogLevel() {
3287
3287
  const logLevelIndex = process.argv.findIndex((item)=>'--log-level' === item || '--logLevel' === item);
@@ -3335,7 +3335,7 @@ function mergeRslibConfig(...originalConfigs) {
3335
3335
  if (void 0 !== mergedLib) mergedConfig.lib = mergedLib;
3336
3336
  return mergedConfig;
3337
3337
  }
3338
- const src_version = "0.19.5";
3338
+ const src_version = "0.19.6";
3339
3339
  var loadEnv = __rspack_external__rsbuild_core_1b356efc.loadEnv;
3340
3340
  var rspack = __rspack_external__rsbuild_core_1b356efc.rspack;
3341
3341
  export { __rspack_external__rsbuild_core_1b356efc as rsbuild, createRslib, defineConfig, loadConfig, loadEnv, mergeRslibConfig, rspack, runCLI, src_version as version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rslib/core",
3
- "version": "0.19.5",
3
+ "version": "0.19.6",
4
4
  "description": "The Rsbuild-based library development tool.",
5
5
  "homepage": "https://rslib.rs",
6
6
  "bugs": {
@@ -37,10 +37,10 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@rsbuild/core": "~1.7.3",
40
- "rsbuild-plugin-dts": "0.19.5"
40
+ "rsbuild-plugin-dts": "0.19.6"
41
41
  },
42
42
  "devDependencies": {
43
- "@module-federation/rsbuild-plugin": "^0.23.0",
43
+ "@module-federation/rsbuild-plugin": "^0.24.1",
44
44
  "@types/fs-extra": "^11.0.4",
45
45
  "cac": "^6.7.14",
46
46
  "chokidar": "^4.0.3",
@@ -50,7 +50,7 @@
50
50
  "picocolors": "1.1.1",
51
51
  "prebundle": "1.6.2",
52
52
  "rsbuild-plugin-publint": "^0.3.4",
53
- "rslib": "npm:@rslib/core@0.19.4",
53
+ "rslib": "npm:@rslib/core@0.19.5",
54
54
  "rslog": "^1.3.2",
55
55
  "tinyglobby": "0.2.14",
56
56
  "tsconfck": "3.1.6",