@common.js/mem 9.0.2 → 10.0.1

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/README.md CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  The [mem](https://www.npmjs.com/package/mem) package exported as CommonJS modules.
4
4
 
5
- Exported from [mem@9.0.2](https://www.npmjs.com/package/mem/v/9.0.2) using https://github.com/etienne-martin/common.js.
5
+ Exported from [mem@10.0.0](https://www.npmjs.com/package/mem/v/10.0.0) using https://github.com/etienne-martin/common.js.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare type AnyFunction = (...arguments_: any) => any;
1
+ type AnyFunction = (...arguments_: any) => any;
2
2
  interface CacheStorageContent<ValueType> {
3
3
  data: ValueType;
4
4
  maxAge: number;
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "@common.js/mem",
3
- "version": "9.0.2",
3
+ "version": "10.0.1",
4
4
  "description": "mem package exported as CommonJS modules",
5
5
  "license": "MIT",
6
6
  "repository": "etienne-martin/common.js",
7
7
  "funding": "https://github.com/sindresorhus/mem?sponsor=1",
8
8
  "type": "commonjs",
9
+ "exports": "./dist/index.js",
9
10
  "engines": {
10
11
  "node": ">=12.20"
11
12
  },
12
13
  "scripts": {
13
- "test": "xo && ava && npm run build && tsd",
14
+ "test": "npm run build",
14
15
  "build": "del-cli dist && tsc"
15
16
  },
16
17
  "types": "dist/index.d.ts",
@@ -19,7 +20,7 @@
19
20
  ],
20
21
  "dependencies": {
21
22
  "map-age-cleaner": "^0.1.3",
22
- "@common.js/mimic-fn": "^4.0.0"
23
+ "mimic-fn": "npm:@common.js/mimic-fn@4.0.1"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@ava/typescript": "^1.1.1",
@@ -54,5 +55,13 @@
54
55
  }
55
56
  },
56
57
  "homepage": "https://github.com/etienne-martin/common.js#readme",
58
+ "commonjs": {
59
+ "source": {
60
+ "name": "mem",
61
+ "version": "10.0.0"
62
+ },
63
+ "transformRevision": 1,
64
+ "buildKey": "99ff37370273aed982e061582a24eda7769426a1479932305acc321f47f63f50"
65
+ },
57
66
  "main": "./dist/index.js"
58
67
  }