@tamagui/assert 1.125.6 → 1.125.8
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.
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
function assertIsError(error) {
|
|
2
|
-
if (!(error instanceof Error))
|
|
3
|
-
throw error;
|
|
2
|
+
if (!(error instanceof Error)) throw error;
|
|
4
3
|
}
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=assertions.js.map
|
|
4
|
+
export { assertIsError };
|
|
5
|
+
//# sourceMappingURL=assertions.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Users/n8/tamagui/code/core/assert/src/assertions.ts"],
|
|
4
|
-
"mappings": "AAAO,SAASA,cAAcC,OAAc;AAC1C,MAAI,EAAEA,iBAAiBC;AACrB,UAAMD;AAEV;",
|
|
5
|
-
"names": ["assertIsError", "error", "Error"]
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["assertIsError","error","Error"],"sources":["../../src/assertions.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,cAAcC,KAAA,EAAwC;EACpE,IAAI,EAAEA,KAAA,YAAiBC,KAAA,GACrB,MAAMD,KAAA;AAEV","ignoreList":[]}
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./assertions";
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export * from "./assertions.native.js";
|
|
2
|
+
//# sourceMappingURL=index.native.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/assert",
|
|
3
|
-
"version": "1.125.
|
|
3
|
+
"version": "1.125.8",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"clean:build": "tamagui-build clean:build"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@tamagui/build": "1.125.
|
|
22
|
+
"@tamagui/build": "1.125.8"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|