@naturalcycles/nodejs-lib 12.70.0 → 12.70.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.
@@ -1,5 +1,5 @@
1
1
  import { MemoCache } from '@naturalcycles/js-lib';
2
- import LRUCache = require('lru-cache');
2
+ import * as LRUCache from 'lru-cache';
3
3
  export declare type LRUMemoCacheOptions<KEY, VALUE> = Partial<LRUCache.Options<KEY, VALUE>>;
4
4
  /**
5
5
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "12.70.0",
3
+ "version": "12.70.1",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "docs-serve": "vuepress dev docs",
@@ -15,7 +15,6 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@naturalcycles/js-lib": "^14.0.0",
18
- "@types/lru-cache": "^7.4.0",
19
18
  "@types/through2-concurrent": "^2.0.0",
20
19
  "ajv": "^8.6.2",
21
20
  "ajv-formats": "^2.1.0",
@@ -42,7 +41,7 @@
42
41
  "@naturalcycles/dev-lib": "^12.0.0",
43
42
  "@types/node": "^17.0.0",
44
43
  "@types/yargs": "^16.0.0",
45
- "jest": "^27.0.1",
44
+ "jest": "^28.0.3",
46
45
  "nock": "^13.0.2",
47
46
  "patch-package": "^6.2.1",
48
47
  "prettier": "^2.0.0",
@@ -1,5 +1,5 @@
1
1
  import { MemoCache } from '@naturalcycles/js-lib'
2
- import LRUCache = require('lru-cache')
2
+ import * as LRUCache from 'lru-cache'
3
3
 
4
4
  // Partial, to be able to provide default `max`
5
5
  export type LRUMemoCacheOptions<KEY, VALUE> = Partial<LRUCache.Options<KEY, VALUE>>