File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,11 @@ class LRUCache {
673673 [ Symbol . iterator ] ( ) {
674674 return this . entries ( ) ;
675675 }
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' ;
676681 /**
677682 * Find a value for which the supplied fn method returns a truthy value,
678683 * 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 {
670670 [ Symbol . iterator ] ( ) {
671671 return this . entries ( ) ;
672672 }
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' ;
673678 /**
674679 * Find a value for which the supplied fn method returns a truthy value,
675680 * similar to Array.find(). fn is called as fn(value, key, cache).
Original file line number Diff line number Diff line change 11{
22 "name" : " lru-cache" ,
33 "description" : " A cache object that deletes the least-recently-used items." ,
4- "version" : " 10.1 .0" ,
4+ "version" : " 10.2 .0" ,
55 "author" :
" Isaac Z. Schlueter <[email protected] >" ,
66 "keywords" : [
77 " mru" ,
Original file line number Diff line number Diff line change 85698569 }
85708570 },
85718571 "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 ==",
85758575 "inBundle": true,
85768576 "engines": {
85778577 "node": "14 || >=16.14"
You can’t perform that action at this time.
0 commit comments