@modern-js/node-bundle-require 1.2.3 → 1.2.4
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.
- package/CHANGELOG.md +6 -0
- package/dist/js/modern/index.js +0 -1
- package/dist/js/node/index.js +0 -1
- package/jest.config.js +0 -1
- package/package.json +3 -3
- package/tests/modern-app-env.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/js/modern/index.js
CHANGED
|
@@ -47,7 +47,6 @@ export async function bundleRequire(filepath, options) {
|
|
|
47
47
|
{
|
|
48
48
|
name: 'native-node-modules',
|
|
49
49
|
|
|
50
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
51
50
|
setup(build) {
|
|
52
51
|
// If a ".node" file is imported within a module in the "file" namespace, resolve
|
|
53
52
|
// it to an absolute path and put it into the "node-file" virtual namespace.
|
package/dist/js/node/index.js
CHANGED
|
@@ -63,7 +63,6 @@ async function bundleRequire(filepath, options) {
|
|
|
63
63
|
{
|
|
64
64
|
name: 'native-node-modules',
|
|
65
65
|
|
|
66
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
67
66
|
setup(build) {
|
|
68
67
|
// If a ".node" file is imported within a module in the "file" namespace, resolve
|
|
69
68
|
// it to an absolute path and put it into the "node-file" virtual namespace.
|
package/jest.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/node-bundle-require",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "The meta-framework suite designed from scratch for frontend-focused modern web development.",
|
|
5
5
|
"homepage": "https://modernjs.dev",
|
|
6
6
|
"bugs": "https://github.com/modern-js-dev/modern.js/issues",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7",
|
|
32
|
-
"esbuild": "^0.13.
|
|
32
|
+
"esbuild": "^0.13.15",
|
|
33
33
|
"nanoid": "^3.3.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@scripts/build": "0.0.0",
|
|
37
|
-
"@modern-js/utils": "^1.3.
|
|
37
|
+
"@modern-js/utils": "^1.3.7",
|
|
38
38
|
"@types/jest": "^26.0.9",
|
|
39
39
|
"@types/node": "^14",
|
|
40
40
|
"typescript": "^4",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="@modern-js/module-tools/types" />
|
|
2
|
-
/// <reference types="@modern-js/plugin-testing/
|
|
2
|
+
/// <reference types="@modern-js/plugin-testing/types" />
|