@xylabs/exists 3.5.0 → 3.5.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/dist/browser/index.d.cts +0 -8
- package/dist/browser/index.d.cts.map +1 -1
- package/dist/browser/index.d.mts +0 -8
- package/dist/browser/index.d.mts.map +1 -1
- package/dist/browser/index.d.ts +0 -8
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/neutral/index.d.cts +0 -8
- package/dist/neutral/index.d.cts.map +1 -1
- package/dist/neutral/index.d.mts +0 -8
- package/dist/neutral/index.d.mts.map +1 -1
- package/dist/neutral/index.d.ts +0 -8
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/node/index.d.cts +0 -8
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.mts +0 -8
- package/dist/node/index.d.mts.map +1 -1
- package/dist/node/index.d.ts +0 -8
- package/dist/node/index.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/browser/index.d.cts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/browser/index.d.mts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/neutral/index.d.cts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/neutral/index.d.mts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/node/index.d.cts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to type narrow an object which is possibly null or undefined. Works well
|
|
3
|
-
* with functional Array methods. For example:
|
|
4
|
-
* @example
|
|
5
|
-
* const payloads: XyoPayload[] = boundWitness._payloads?.filter(exists) || []
|
|
6
|
-
* @param x The object which is potentially undefined or null
|
|
7
|
-
* @returns False if the object is null/undefined, true otherwise
|
|
8
|
-
*/
|
|
9
1
|
export declare const exists: <T>(x?: T | null) => x is T;
|
|
10
2
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,GAAI,CAAC,MAAM,CAAC,GAAG,IAAI,KAAG,CAAC,IAAI,CAE7C,CAAA"}
|
package/package.json
CHANGED
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"esm"
|
|
37
37
|
],
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@xylabs/ts-scripts-yarn3": "^3.10
|
|
40
|
-
"@xylabs/tsconfig": "^3.10
|
|
41
|
-
"typescript": "^5.
|
|
39
|
+
"@xylabs/ts-scripts-yarn3": "^3.11.10",
|
|
40
|
+
"@xylabs/tsconfig": "^3.11.10",
|
|
41
|
+
"typescript": "^5.5.2"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=18"
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"url": "https://github.com/xylabs/sdk-js.git"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
|
-
"version": "3.5.
|
|
54
|
+
"version": "3.5.2",
|
|
55
55
|
"type": "module"
|
|
56
56
|
}
|