@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @modern-js/1.0.0-rc.19
2
2
 
3
+ ## 1.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 8491b6dd: fix: optimise "types" exports from plugin
8
+
3
9
  ## 1.2.3
4
10
 
5
11
  ### Patch Changes
@@ -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.
@@ -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
@@ -2,7 +2,6 @@ const sharedConfig = require('@scripts/jest-config');
2
2
 
3
3
  /** @type {import('@jest/types').Config.InitialOptions} */
4
4
  module.exports = {
5
- // eslint-disable-next-line node/no-unsupported-features/es-syntax
6
5
  ...sharedConfig,
7
6
  rootDir: __dirname,
8
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/node-bundle-require",
3
- "version": "1.2.3",
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.8",
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.6",
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/type" />
2
+ /// <reference types="@modern-js/plugin-testing/types" />