app-devtools 0.19.0 → 0.20.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/dist/main.js +19 -19
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
2
|
import { dequal } from 'dequal';
|
|
3
3
|
import { produce as produce$1 } from 'immer';
|
|
4
|
-
import { nanoid } from 'nanoid';
|
|
5
4
|
import { parse } from 'regexparam';
|
|
5
|
+
import { nanoid } from 'nanoid';
|
|
6
6
|
import * as diff from 'diff';
|
|
7
7
|
import tinykeys from 'tinykeys';
|
|
8
8
|
|
|
@@ -1693,6 +1693,24 @@ function getTypeIcon(type, subType) {
|
|
|
1693
1693
|
};
|
|
1694
1694
|
}
|
|
1695
1695
|
|
|
1696
|
+
function reverseCopy(array) {
|
|
1697
|
+
if (!array)
|
|
1698
|
+
return [];
|
|
1699
|
+
return array.slice().reverse();
|
|
1700
|
+
}
|
|
1701
|
+
function concatNonNullable(...arrays) {
|
|
1702
|
+
const result = [];
|
|
1703
|
+
for (const array of arrays) {
|
|
1704
|
+
if (array !== null && array !== void 0) {
|
|
1705
|
+
result.push(...array);
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
return result;
|
|
1709
|
+
}
|
|
1710
|
+
function filterNonNullableElements(array) {
|
|
1711
|
+
return array.filter((item) => item !== null && item !== void 0);
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1696
1714
|
function assertIsNotNullish(value) {
|
|
1697
1715
|
if (value === null || value === void 0) {
|
|
1698
1716
|
throw new Error("Value is null or undefined");
|
|
@@ -1726,24 +1744,6 @@ function exec(path, result) {
|
|
|
1726
1744
|
return out;
|
|
1727
1745
|
}
|
|
1728
1746
|
|
|
1729
|
-
function reverseCopy(array) {
|
|
1730
|
-
if (!array)
|
|
1731
|
-
return [];
|
|
1732
|
-
return array.slice().reverse();
|
|
1733
|
-
}
|
|
1734
|
-
function concatNonNullable(...arrays) {
|
|
1735
|
-
const result = [];
|
|
1736
|
-
for (const array of arrays) {
|
|
1737
|
-
if (array !== null && array !== void 0) {
|
|
1738
|
-
result.push(...array);
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
return result;
|
|
1742
|
-
}
|
|
1743
|
-
function filterNonNullableElements(array) {
|
|
1744
|
-
return array.filter((item) => item !== null && item !== void 0);
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
1747
|
function klona(val) {
|
|
1748
1748
|
var k, out, tmp;
|
|
1749
1749
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app-devtools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"packageManager": "pnpm@6.29.1",
|
|
6
6
|
"license": "MIT",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"test:run": "echo 'no tests'",
|
|
63
63
|
"preview": "vite preview",
|
|
64
64
|
"tsc": "tsc -p tsconfig.prod.json",
|
|
65
|
-
"eslint": "eslint --ext .js,.ts,.tsx,.jsx src",
|
|
65
|
+
"eslint": "eslint --ext .js,.ts,.tsx,.jsx src --max-warnings 0",
|
|
66
66
|
"lint": "pnpm eslint && pnpm tsc",
|
|
67
67
|
"tsc:w": "tsc -w -p tsconfig.prod.json",
|
|
68
68
|
"convert-har": "tsm scripts/filterFetchRequests.ts",
|