@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 CHANGED
@@ -24,6 +24,7 @@ Object.defineProperty(exports, "isMatching", {
24
24
  exports.match = void 0;
25
25
  var _tsPattern = /*#__PURE__*/require("ts-pattern");
26
26
  /**
27
+ *
27
28
  * @tsplus getter global match
28
29
  */
29
30
  const match = exports.match = _tsPattern.match;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["_tsPattern","require","match","exports","_match"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAAA,UAAA,gBAAAC,OAAA;AAEA;;;AAGO,MAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAkEE,gBAAM","ignoreList":[]}
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
@@ -1,5 +1,6 @@
1
1
  import { match as _match } from "ts-pattern";
2
2
  /**
3
+ *
3
4
  * @tsplus getter global match
4
5
  */
5
6
  export const match = _match;
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["match","_match","isMatching","P","Pattern"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":"AAGA,SAASA,KAAK,IAAIC,MAAM,QAAQ,YAAY;AAE5C;;;AAGA,OAAO,MAAMD,KAAK,GAAkEC,MAAM;AAE1F,SAASC,UAAU,EAAEC,CAAC,EAAEC,OAAO,QAAQ,YAAY","ignoreList":[]}
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: <input, output = unset>(value: input) => Match<input, output> = _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 type { unset } from "ts-pattern/dist/internals/symbols";
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: <input, output = unset>(value: input) => Match<input, output>;
6
+ export declare const match: typeof _match;
8
7
  export { isMatching, P, Pattern } from "ts-pattern";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fncts/pattern",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "dependencies": {
5
5
  "ts-pattern": "^5.7.1"
6
6
  },