magtool 1.4.0 → 1.4.2

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/README.1.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # magtool
2
2
 
3
+ 1.4.2
4
+ color#border-inline
5
+
6
+ 1.4.1
7
+
8
+ Array.filter 改为 Array.filterAll
9
+
3
10
  1.4.0
4
11
 
5
12
  Array.filter覆写,返回data和index
package/dist/util.js CHANGED
@@ -134,7 +134,7 @@ const N = (s) => {
134
134
  index: e,
135
135
  data: r
136
136
  };
137
- }, Array.prototype.filter = function(o) {
137
+ }, Array.prototype.filterAll = function(o) {
138
138
  if (!o || typeof o != "function")
139
139
  throw new Error(o + " is not a function");
140
140
  const r = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "magtool",
3
3
  "packageManager": "yarn@4.4.1",
4
- "version": "1.4.0",
4
+ "version": "1.4.2",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",