@modern-js/utils 3.1.1 → 3.1.2
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.
|
@@ -19714,7 +19714,7 @@
|
|
|
19714
19714
|
},
|
|
19715
19715
|
6333: (e, t, r)=>{
|
|
19716
19716
|
var n = r(2781);
|
|
19717
|
-
|
|
19717
|
+
e.exports = through;
|
|
19718
19718
|
through.through = through;
|
|
19719
19719
|
function through(e, t, r) {
|
|
19720
19720
|
e = e || function(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./data.mjs";
|
|
2
|
-
export * from "./config.mjs";
|
|
3
1
|
import path from "path";
|
|
4
2
|
import { CONFIG_FILE_EXTENSIONS } from "../constants.mjs";
|
|
5
3
|
import { findExists } from "../fs.mjs";
|
|
4
|
+
export * from "./data.mjs";
|
|
5
|
+
export * from "./config.mjs";
|
|
6
6
|
const getServerConfig = async (appDirectory, configFile)=>{
|
|
7
7
|
const configFilePath = findExists(CONFIG_FILE_EXTENSIONS.map((extension)=>path.resolve(appDirectory, `${configFile}${extension}`)));
|
|
8
8
|
return configFilePath;
|
package/dist/esm/compiled.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __webpack_require__ } from "./rslib-runtime.mjs";
|
|
2
1
|
import { createRequire } from "node:module";
|
|
3
2
|
import { Import } from "./import.mjs";
|
|
3
|
+
import { __webpack_require__ } from "./rslib-runtime.mjs";
|
|
4
4
|
import signale from "../compiled/signale/index.js";
|
|
5
5
|
const { Signale: Signale } = signale;
|
|
6
6
|
const getNodeRequire = ()=>{
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
var
|
|
2
|
-
function __webpack_require__(moduleId) {
|
|
3
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
4
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
5
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
6
|
-
exports: {}
|
|
7
|
-
};
|
|
8
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
9
|
-
return module.exports;
|
|
10
|
-
}
|
|
11
|
-
(()=>{
|
|
12
|
-
__webpack_require__.add = function(modules) {
|
|
13
|
-
Object.assign(__webpack_require__.m, modules);
|
|
14
|
-
};
|
|
15
|
-
})();
|
|
1
|
+
var __webpack_require__ = {};
|
|
16
2
|
(()=>{
|
|
17
3
|
__webpack_require__.g = (()=>{
|
|
18
4
|
if ('object' == typeof globalThis) return globalThis;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
-
export * from "./data.mjs";
|
|
3
|
-
export * from "./config.mjs";
|
|
4
2
|
import path from "path";
|
|
5
3
|
import { CONFIG_FILE_EXTENSIONS } from "../constants.mjs";
|
|
6
4
|
import { findExists } from "../fs.mjs";
|
|
5
|
+
export * from "./data.mjs";
|
|
6
|
+
export * from "./config.mjs";
|
|
7
7
|
const getServerConfig = async (appDirectory, configFile)=>{
|
|
8
8
|
const configFilePath = findExists(CONFIG_FILE_EXTENSIONS.map((extension)=>path.resolve(appDirectory, `${configFile}${extension}`)));
|
|
9
9
|
return configFilePath;
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.1.
|
|
18
|
+
"version": "3.1.2",
|
|
19
19
|
"types": "./dist/types/index.d.ts",
|
|
20
20
|
"main": "./dist/cjs/index.js",
|
|
21
21
|
"module": "./dist/esm/index.mjs",
|
|
@@ -142,13 +142,13 @@
|
|
|
142
142
|
"rslog": "^1.3.2"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
|
-
"@rslib/core": "0.20.
|
|
145
|
+
"@rslib/core": "0.20.3",
|
|
146
146
|
"@types/node": "^20",
|
|
147
147
|
"happy-dom": "^20.8.4",
|
|
148
148
|
"typescript": "^5",
|
|
149
149
|
"@modern-js/rslib": "2.68.10",
|
|
150
|
-
"@
|
|
151
|
-
"@
|
|
150
|
+
"@scripts/rstest-config": "2.66.0",
|
|
151
|
+
"@modern-js/types": "3.1.2"
|
|
152
152
|
},
|
|
153
153
|
"peerDependencies": {
|
|
154
154
|
"react": "^19.2.4",
|