@fncts/pattern 0.0.21 → 0.0.23
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/_cjs/index.cjs +1 -0
- package/_cjs/index.cjs.map +1 -1
- package/_mjs/index.mjs +1 -0
- package/_mjs/index.mjs.map +1 -1
- package/_src/index.ts +2 -4
- package/index.d.ts +2 -3
- package/package.json +1 -1
package/_cjs/index.cjs
CHANGED
package/_cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["_tsPattern","require","match","exports","_match"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["_tsPattern","require","match","exports","_match"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,gBAAAC,OAAA;AAEA;;;;AAIO,MAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAkBE,gBAAM","ignoreList":[]}
|
package/_mjs/index.mjs
CHANGED
package/_mjs/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["match","_match","isMatching","P","Pattern"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["match","_match","isMatching","P","Pattern"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAK,IAAIC,MAAM,QAAQ,YAAY;AAE5C;;;;AAIA,OAAO,MAAMD,KAAK,GAAkBC,MAAM;AAE1C,SAASC,UAAU,EAAEC,CAAC,EAAEC,OAAO,QAAQ,YAAY","ignoreList":[]}
|
package/_src/index.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type { unset } from "ts-pattern/dist/internals/symbols";
|
|
2
|
-
import type { Match } from "ts-pattern/dist/types/Match";
|
|
3
|
-
|
|
4
1
|
import { match as _match } from "ts-pattern";
|
|
5
2
|
|
|
6
3
|
/**
|
|
4
|
+
*
|
|
7
5
|
* @tsplus getter global match
|
|
8
6
|
*/
|
|
9
|
-
export const match:
|
|
7
|
+
export const match: typeof _match = _match;
|
|
10
8
|
|
|
11
9
|
export { isMatching, P, Pattern } from "ts-pattern";
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { Match } from "ts-pattern/dist/types/Match";
|
|
1
|
+
import { match as _match } from "ts-pattern";
|
|
3
2
|
/**
|
|
4
3
|
* @tsplus getter global match
|
|
5
4
|
* @tsplus location "@fncts/pattern/index"
|
|
6
5
|
*/
|
|
7
|
-
export declare const match:
|
|
6
|
+
export declare const match: typeof _match;
|
|
8
7
|
export { isMatching, P, Pattern } from "ts-pattern";
|