@fncts/pattern 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAEA;;;AAGO,MAAMA,KAAK,GAAGC,gBAAM;AAAC","names":["match","_match"],"sourceRoot":"","sources":["../_src/index.ts"],"sourcesContent":[null]}
1
+ {"version":3,"file":"index.cjs","names":["_tsPattern","require","match","_match","exports"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,gBAAAC,OAAA;AAEA;;;AAGO,MAAMC,KAAK,GAAGC,gBAAM;AAACC,OAAA,CAAAF,KAAA,GAAAA,KAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","mappings":"AAAA,SAASA,KAAK,IAAIC,MAAM,QAAQ,YAAY;AAE5C;;;AAGA,OAAO,MAAMD,KAAK,GAAGC,MAAM;AAE3B,SAASC,UAAU,EAAEC,CAAC,EAAEC,OAAO,QAAQ,YAAY","names":["match","_match","isMatching","P","Pattern"],"sourceRoot":"","sources":["../_src/index.ts"],"sourcesContent":[null]}
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;;;AAGA,OAAO,MAAMD,KAAK,GAAGC,MAAM;AAE3B,SAASC,UAAU,EAAEC,CAAC,EAAEC,OAAO,QAAQ,YAAY"}
package/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
+ import { match as _match } from "ts-pattern";
1
2
  /**
2
3
  * @tsplus getter global match
3
4
  * @tsplus location "@fncts/pattern/index"
4
5
  */
5
- export declare const match: <input, output = typeof import("ts-pattern/dist/internals/symbols").unset>(value: input) => import("ts-pattern/dist/types/Match").Match<input, output, [], never>;
6
+ export declare const match: typeof _match;
6
7
  export { isMatching, P, Pattern } from "ts-pattern";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@fncts/pattern",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "dependencies": {
5
- "ts-pattern": "^4.1.4"
5
+ "ts-pattern": "^4.2.2"
6
6
  },
7
7
  "exports": {
8
8
  "./*": {