@modern-js/plugin 2.5.0 → 2.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @modern-js/plugin
2
2
 
3
+ ## 2.6.0
4
+
3
5
  ## 2.5.0
4
6
 
5
7
  ### Patch Changes
@@ -55,6 +55,7 @@ const dagSort = (plugins, key = "name", preKey = "pre", postKey = "post") => {
55
55
  (item) => !sortedPoint.find((sp) => sp[key] === item[key])
56
56
  );
57
57
  zeroEndPoints = restPoints.filter(
58
+ // eslint-disable-next-line @typescript-eslint/no-loop-func
58
59
  (item) => !allLines.find((l) => l[1] === item[key])
59
60
  );
60
61
  }
@@ -10,7 +10,8 @@ var dagSort = function(plugins) {
10
10
  return sp[key] === item[key];
11
11
  });
12
12
  });
13
- zeroEndPoints = restPoints.filter(function(item) {
13
+ zeroEndPoints = restPoints.filter(// eslint-disable-next-line @typescript-eslint/no-loop-func
14
+ function(item) {
14
15
  return !allLines.find(function(l) {
15
16
  return l[1] === item[key];
16
17
  });
@@ -33,6 +33,7 @@ const dagSort = (plugins, key = "name", preKey = "pre", postKey = "post") => {
33
33
  (item) => !sortedPoint.find((sp) => sp[key] === item[key])
34
34
  );
35
35
  zeroEndPoints = restPoints.filter(
36
+ // eslint-disable-next-line @typescript-eslint/no-loop-func
36
37
  (item) => !allLines.find((l) => l[1] === item[key])
37
38
  );
38
39
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.5.0",
14
+ "version": "2.6.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/cjs/index.js",
@@ -35,8 +35,8 @@
35
35
  "@types/node": "^14",
36
36
  "typescript": "^4",
37
37
  "jest": "^27",
38
- "@scripts/build": "2.5.0",
39
- "@scripts/jest-config": "2.5.0"
38
+ "@scripts/build": "2.6.0",
39
+ "@scripts/jest-config": "2.6.0"
40
40
  },
41
41
  "sideEffects": false,
42
42
  "publishConfig": {