@modern-js/module-tools 2.54.6 → 2.56.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.
@@ -42,7 +42,7 @@ var import_write_file = require("./write-file");
42
42
  const globalNamespace = "globals";
43
43
  const HTTP_PATTERNS = /^(https?:)?\/\//;
44
44
  const DATAURL_PATTERNS = /^data:/;
45
- const HASH_PATTERNS = /#[^#]+$/;
45
+ const HASH_PATTERNS = /.#[^#]+$/;
46
46
  const DATAURL_JAVASCRIPT_PATTERNS = /^data:text\/javascript/;
47
47
  const adapterPlugin = (compiler) => {
48
48
  const { context } = compiler;
@@ -27,7 +27,7 @@ var import_utils = require("./utils");
27
27
  const Processed = Symbol("processed");
28
28
  const HTTP_PATTERNS = /^(https?:)?\/\//;
29
29
  const DATAURL_PATTERNS = /^data:/;
30
- const HASH_PATTERNS = /#[^#]+$/;
30
+ const HASH_PATTERNS = /.#[^#]+$/;
31
31
  const postcssUrlPlugin = (options) => {
32
32
  return {
33
33
  postcssPlugin: "postcss-url",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/module-tools",
3
- "version": "2.54.6",
3
+ "version": "2.56.0",
4
4
  "description": "Simple, powerful, high-performance modern npm package development solution.",
5
5
  "keywords": [
6
6
  "modern",
@@ -52,8 +52,8 @@
52
52
  "dependencies": {
53
53
  "@ampproject/remapping": "^2.2.1",
54
54
  "@ast-grep/napi": "0.16.0",
55
- "@babel/core": "^7.23.2",
56
- "@babel/types": "^7.23.0",
55
+ "@babel/core": "^7.24.7",
56
+ "@babel/types": "^7.24.7",
57
57
  "@modern-js/swc-plugins": "0.6.6",
58
58
  "@rollup/pluginutils": "4.1.1",
59
59
  "@swc/helpers": "0.5.3",
@@ -68,24 +68,24 @@
68
68
  "style-inject": "0.3.0",
69
69
  "sucrase": "3.29.0",
70
70
  "tapable": "2.2.1",
71
- "terser": "5.19.2",
71
+ "terser": "^5.31.1",
72
72
  "tsconfig-paths-webpack-plugin": "4.1.0",
73
- "@modern-js/plugin": "2.54.6",
74
- "@modern-js/plugin-changeset": "2.54.6",
75
- "@modern-js/core": "2.54.6",
76
- "@modern-js/plugin-lint": "2.54.6",
77
- "@modern-js/plugin-i18n": "2.54.6",
78
- "@modern-js/types": "2.54.6",
79
- "@modern-js/utils": "2.54.6"
73
+ "@modern-js/core": "2.56.0",
74
+ "@modern-js/plugin": "2.56.0",
75
+ "@modern-js/plugin-changeset": "2.56.0",
76
+ "@modern-js/plugin-i18n": "2.56.0",
77
+ "@modern-js/plugin-lint": "2.56.0",
78
+ "@modern-js/types": "2.56.0",
79
+ "@modern-js/utils": "2.56.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@rsbuild/core": "0.7.10",
82
+ "@rsbuild/core": "1.0.1-beta.3",
83
83
  "@types/convert-source-map": "1.5.2",
84
84
  "@types/node": "^14",
85
85
  "typescript": "^5",
86
- "@modern-js/self": "npm:@modern-js/module-tools@2.54.6",
87
- "@scripts/build": "2.54.6",
88
- "@scripts/vitest-config": "2.54.6"
86
+ "@modern-js/self": "npm:@modern-js/module-tools@2.56.0",
87
+ "@scripts/build": "2.56.0",
88
+ "@scripts/vitest-config": "2.56.0"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "typescript": "^4 || ^5"