File tree 4 files changed +14
-4
lines changed
4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,11 @@ class LRUCache {
673
673
[ Symbol . iterator ] ( ) {
674
674
return this . entries ( ) ;
675
675
}
676
+ /**
677
+ * A String value that is used in the creation of the default string description of an object.
678
+ * Called by the built-in method Object.prototype.toString.
679
+ */
680
+ [ Symbol . toStringTag ] = 'LRUCache' ;
676
681
/**
677
682
* Find a value for which the supplied fn method returns a truthy value,
678
683
* similar to Array.find(). fn is called as fn(value, key, cache).
Original file line number Diff line number Diff line change @@ -670,6 +670,11 @@ export class LRUCache {
670
670
[ Symbol . iterator ] ( ) {
671
671
return this . entries ( ) ;
672
672
}
673
+ /**
674
+ * A String value that is used in the creation of the default string description of an object.
675
+ * Called by the built-in method Object.prototype.toString.
676
+ */
677
+ [ Symbol . toStringTag ] = 'LRUCache' ;
673
678
/**
674
679
* Find a value for which the supplied fn method returns a truthy value,
675
680
* similar to Array.find(). fn is called as fn(value, key, cache).
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lru-cache" ,
3
3
"description" : " A cache object that deletes the least-recently-used items." ,
4
- "version" : " 10.1 .0" ,
4
+ "version" : " 10.2 .0" ,
5
5
"author" :
" Isaac Z. Schlueter <[email protected] >" ,
6
6
"keywords" : [
7
7
" mru" ,
Original file line number Diff line number Diff line change 8569
8569
}
8570
8570
},
8571
8571
"node_modules/lru-cache": {
8572
- "version": "10.1 .0",
8573
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1 .0.tgz",
8574
- "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag ==",
8572
+ "version": "10.2 .0",
8573
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2 .0.tgz",
8574
+ "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q ==",
8575
8575
"inBundle": true,
8576
8576
"engines": {
8577
8577
"node": "14 || >=16.14"
You can’t perform that action at this time.
0 commit comments