@modern-js/server 3.11.0 → 3.11.1

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.
@@ -61,8 +61,8 @@ function createRuntimeServerOptions(base, assetPrefix) {
61
61
  ]
62
62
  };
63
63
  }
64
- __webpack_require__.d(__webpack_exports__, {
65
- createRuntimeServerOptions: ()=>createRuntimeServerOptions
64
+ __webpack_require__.d(__webpack_exports__, {}, {
65
+ createRuntimeServerOptions: createRuntimeServerOptions
66
66
  });
67
67
  exports.createRuntimeServerOptions = __webpack_exports__.createRuntimeServerOptions;
68
68
  for(var __rspack_i in __webpack_exports__)if (-1 === [
@@ -1,14 +1,5 @@
1
1
  "use strict";
2
2
  var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.n = (module)=>{
5
- var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
6
- __webpack_require__.d(getter, {
7
- a: getter
8
- });
9
- return getter;
10
- };
11
- })();
12
3
  (()=>{
13
4
  __webpack_require__.d = (exports1, getters, values)=>{
14
5
  var define = (defs, kind)=>{
@@ -41,7 +32,6 @@ __webpack_require__.d(__webpack_exports__, {
41
32
  defaultIgnores: ()=>defaultIgnores
42
33
  });
43
34
  const external_minimatch_namespaceObject = require("minimatch");
44
- var external_minimatch_default = /*#__PURE__*/ __webpack_require__.n(external_minimatch_namespaceObject);
45
35
  const defaultIgnores = [
46
36
  '**/coverage/**',
47
37
  '**/node_modules/**',
@@ -84,7 +74,7 @@ class DependencyTree {
84
74
  }
85
75
  }
86
76
  shouldIgnore(path) {
87
- return !path || Boolean(this.ignore.find((rule)=>external_minimatch_default().match([
77
+ return !path || Boolean(this.ignore.find((rule)=>(0, external_minimatch_namespaceObject.match)([
88
78
  path
89
79
  ], rule, {
90
80
  dot: true
@@ -125,8 +125,8 @@ var __webpack_exports__ = {};
125
125
  });
126
126
  return watcher;
127
127
  }
128
- __webpack_require__.d(__webpack_exports__, {
129
- startWatcher: ()=>startWatcher
128
+ __webpack_require__.d(__webpack_exports__, {}, {
129
+ startWatcher: startWatcher
130
130
  });
131
131
  })();
132
132
  exports.startWatcher = __webpack_exports__.startWatcher;
@@ -1,4 +1,4 @@
1
- import minimatch from "minimatch";
1
+ import { match } from "minimatch";
2
2
  const defaultIgnores = [
3
3
  '**/coverage/**',
4
4
  '**/node_modules/**',
@@ -41,7 +41,7 @@ class DependencyTree {
41
41
  }
42
42
  }
43
43
  shouldIgnore(path) {
44
- return !path || Boolean(this.ignore.find((rule)=>minimatch.match([
44
+ return !path || Boolean(this.ignore.find((rule)=>match([
45
45
  path
46
46
  ], rule, {
47
47
  dot: true
@@ -1,5 +1,5 @@
1
1
  import "node:module";
2
- import minimatch from "minimatch";
2
+ import { match } from "minimatch";
3
3
  const defaultIgnores = [
4
4
  '**/coverage/**',
5
5
  '**/node_modules/**',
@@ -42,7 +42,7 @@ class DependencyTree {
42
42
  }
43
43
  }
44
44
  shouldIgnore(path) {
45
- return !path || Boolean(this.ignore.find((rule)=>minimatch.match([
45
+ return !path || Boolean(this.ignore.find((rule)=>match([
46
46
  path
47
47
  ], rule, {
48
48
  dot: true
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.11.0",
18
+ "version": "3.11.1",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "exports": {
@@ -41,14 +41,14 @@
41
41
  "axios": "^1.20.0",
42
42
  "connect-history-api-fallback": "^2.0.0",
43
43
  "http-compression": "1.0.6",
44
- "minimatch": "^3.1.5",
44
+ "minimatch": "^11.0.0",
45
45
  "path-to-regexp": "^6.3.0",
46
46
  "ws": "^8.22.0",
47
- "@modern-js/runtime-utils": "3.11.0",
48
- "@modern-js/server-utils": "3.11.0",
49
- "@modern-js/types": "3.11.0",
50
- "@modern-js/utils": "3.11.0",
51
- "@modern-js/server-core": "3.11.0"
47
+ "@modern-js/runtime-utils": "3.11.1",
48
+ "@modern-js/server-core": "3.11.1",
49
+ "@modern-js/server-utils": "3.11.1",
50
+ "@modern-js/types": "3.11.1",
51
+ "@modern-js/utils": "3.11.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/connect-history-api-fallback": "^1.5.4",
@@ -60,9 +60,9 @@
60
60
  "tsconfig-paths": "4.2.0",
61
61
  "typescript": "^5",
62
62
  "websocket": "^1.0.35",
63
- "@modern-js/builder": "3.11.0",
64
- "@scripts/rstest-config": "2.66.4",
65
- "@modern-js/rslib": "3.11.0"
63
+ "@modern-js/builder": "3.11.1",
64
+ "@modern-js/rslib": "3.11.1",
65
+ "@scripts/rstest-config": "2.66.5"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "devcert": "^1.2.3",