@modern-js/plugin 2.18.0 → 2.19.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,18 @@
1
1
  # @modern-js/plugin
2
2
 
3
+ ## 2.19.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [1134fe2]
8
+ - @modern-js/utils@2.19.0
9
+
10
+ ## 2.18.1
11
+
12
+ ### Patch Changes
13
+
14
+ - @modern-js/utils@2.18.1
15
+
3
16
  ## 2.18.0
4
17
 
5
18
  ### Patch Changes
@@ -16,7 +16,7 @@ _export(exports, {
16
16
  isObject: () => isObject,
17
17
  hasOwnProperty: () => hasOwnProperty
18
18
  });
19
- const _pluginDagSort = require("@modern-js/utils/universal/pluginDagSort");
19
+ const _plugindagsort = require("@modern-js/utils/universal/plugin-dag-sort");
20
20
  const checkPlugins = (plugins) => {
21
21
  if (process.env.NODE_ENV !== "production") {
22
22
  plugins.forEach((origin) => {
@@ -36,7 +36,7 @@ const checkPlugins = (plugins) => {
36
36
  }
37
37
  };
38
38
  function sortPlugins(input) {
39
- return (0, _pluginDagSort.pluginDagSort)(input.slice());
39
+ return (0, _plugindagsort.pluginDagSort)(input.slice());
40
40
  }
41
41
  const includePlugin = (plugins, input) => plugins.some((plugin) => plugin.name === input.name);
42
42
  const isObject = (obj) => obj !== null && typeof obj === "object";
package/dist/esm/index.js CHANGED
@@ -816,7 +816,7 @@ function isPromise(obj) {
816
816
  }
817
817
 
818
818
  // src/manager/shared.ts
819
- import { pluginDagSort } from "@modern-js/utils/universal/pluginDagSort";
819
+ import { pluginDagSort } from "@modern-js/utils/universal/plugin-dag-sort";
820
820
  var checkPlugins = function(plugins) {
821
821
  if (process.env.NODE_ENV !== "production") {
822
822
  plugins.forEach(function(origin) {
@@ -1,4 +1,4 @@
1
- import { pluginDagSort } from "@modern-js/utils/universal/pluginDagSort";
1
+ import { pluginDagSort } from "@modern-js/utils/universal/plugin-dag-sort";
2
2
  export const checkPlugins = (plugins) => {
3
3
  if (process.env.NODE_ENV !== "production") {
4
4
  plugins.forEach((origin) => {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.18.0",
18
+ "version": "2.19.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -33,15 +33,15 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7.18.0",
36
- "@modern-js/utils": "2.18.0"
36
+ "@modern-js/utils": "2.19.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/jest": "^29",
40
40
  "@types/node": "^14",
41
41
  "typescript": "^4",
42
42
  "jest": "^29",
43
- "@scripts/build": "2.18.0",
44
- "@scripts/jest-config": "2.18.0"
43
+ "@scripts/build": "2.19.0",
44
+ "@scripts/jest-config": "2.19.0"
45
45
  },
46
46
  "sideEffects": false,
47
47
  "publishConfig": {