@formatjs/fast-memoize 2.0.0 → 2.1.0

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/index.d.ts CHANGED
@@ -30,4 +30,3 @@ export interface Strategies<F extends Func> {
30
30
  }
31
31
  export declare const strategies: Strategies<Func>;
32
32
  export {};
33
- //# sourceMappingURL=index.d.ts.map
package/lib/index.d.ts CHANGED
@@ -30,4 +30,3 @@ export interface Strategies<F extends Func> {
30
30
  }
31
31
  export declare const strategies: Strategies<Func>;
32
32
  export {};
33
- //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "@formatjs/fast-memoize",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "fork of fast-memoize and support esm",
5
5
  "main": "index.js",
6
6
  "module": "lib/index.js",
7
+ "types": "index.d.ts",
7
8
  "exports": {
8
- "import": "./lib/index.js",
9
- "require": "./index.js",
10
- "default": "./index.js"
9
+ ".": {
10
+ "types": "./index.d.ts",
11
+ "import": "./lib/index.js",
12
+ "default": "./index.js"
13
+ },
14
+ "./package.json": "./package.json"
11
15
  },
12
16
  "repository": {
13
17
  "type": "git",