@modern-js/server-utils 3.0.0-alpha.2 → 3.0.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.
@@ -1,5 +1,4 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
3
2
  import { isAbsolute } from "path";
4
3
  const FILE_EXTENSIONS = [
5
4
  '.js',
@@ -1,5 +1,4 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
3
2
  import path_0 from "path";
4
3
  import { fs, getAliasConfig, logger } from "@modern-js/utils";
5
4
  import { tsconfigPathsBeforeHookFactory } from "./tsconfigPathsPlugin.mjs";
@@ -1,5 +1,5 @@
1
1
  import __rslib_shim_module__ from "node:module";
2
- const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(import.meta.url);
2
+ const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(/*#__PURE__*/ (()=>import.meta.url)());
3
3
  import { platform } from "os";
4
4
  import path, { dirname, posix } from "path";
5
5
  import { createMatchPath } from "@modern-js/utils/tsconfig-paths";
@@ -1,5 +1,5 @@
1
1
  import __rslib_shim_module__ from "node:module";
2
- const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(import.meta.url);
2
+ const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(/*#__PURE__*/ (()=>import.meta.url)());
3
3
  class TypescriptLoader {
4
4
  load() {
5
5
  if (this.tsBinary) return this.tsBinary;
@@ -1,4 +1,3 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
3
2
  import { compile } from "./common/index.mjs";
4
3
  export { compile };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.0.0-alpha.2",
18
+ "version": "3.0.0",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "exports": {
@@ -38,15 +38,15 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@swc/helpers": "^0.5.17",
41
- "@modern-js/utils": "3.0.0-alpha.2"
41
+ "@modern-js/utils": "3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@rslib/core": "0.19.3",
44
+ "@rslib/core": "0.19.4",
45
45
  "@types/node": "^20",
46
46
  "typescript": "^5",
47
47
  "@modern-js/rslib": "2.68.10",
48
- "@modern-js/server-core": "3.0.0-alpha.2",
49
- "@scripts/rstest-config": "2.66.0"
48
+ "@scripts/rstest-config": "2.66.0",
49
+ "@modern-js/server-core": "3.0.0"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "publishConfig": {