Comparing version 1.3.0 to 1.3.1
1.3.1 / 2022-03-16 | ||
================== | ||
**fixes** | ||
* [[`18f576e`](http://github.com/node-modules/ylru/commit/18f576eb12ce456a7af419b68bd17d74bf567de6)] - fix: module declares (#5) (陆沉 <<surgesoft@gmail.com>>) | ||
1.3.0 / 2022-03-16 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -5,3 +5,3 @@ export interface YLRUOptions { | ||
export default class YLRU { | ||
declare class YLRU { | ||
constructor(max: number) | ||
@@ -12,1 +12,5 @@ get: <T = any>(key: any, options?: YLRUOptions) => T | undefined; | ||
} | ||
declare module 'ylru' { | ||
export = YLRU; | ||
} |
{ | ||
"name": "ylru", | ||
"description": "Extends LRU base on hashlru", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"homepage": "https://github.com/node-modules/ylru", | ||
@@ -17,2 +17,3 @@ "repository": { | ||
"eslint-config-egg": "^3.2.0", | ||
"git-contributor": "^1.0.10", | ||
"hashlru": "^1.0.3", | ||
@@ -28,2 +29,3 @@ "ko-sleep": "^1.0.2", | ||
"scripts": { | ||
"contributor": "git-contributor", | ||
"lint": "eslint test *.js", | ||
@@ -30,0 +32,0 @@ "test": "npm run lint -- --fix && npm run test-local", |
@@ -6,3 +6,2 @@ # ylru | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![David deps][david-image]][david-url] | ||
[![Known Vulnerabilities][snyk-image]][snyk-url] | ||
@@ -17,4 +16,2 @@ [![npm download][download-image]][download-url] | ||
[codecov-url]: https://codecov.io/github/node-modules/ylru?branch=master | ||
[david-image]: https://img.shields.io/david/node-modules/ylru.svg?style=flat-square | ||
[david-url]: https://david-dm.org/node-modules/ylru | ||
[snyk-image]: https://snyk.io/test/npm/ylru/badge.svg?style=flat-square | ||
@@ -94,1 +91,12 @@ [snyk-url]: https://snyk.io/test/npm/ylru | ||
[MIT](LICENSE) | ||
<!-- GITCONTRIBUTOR_START --> | ||
## Contributors | ||
|[<img src="https://avatars.githubusercontent.com/u/259374?v=4" width="100px;"/><br/><sub><b>dominictarr</b></sub>](https://github.com/dominictarr)<br/>|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/985607?v=4" width="100px;"/><br/><sub><b>dead-horse</b></sub>](https://github.com/dead-horse)<br/>|[<img src="https://avatars.githubusercontent.com/u/25395?v=4" width="100px;"/><br/><sub><b>mourner</b></sub>](https://github.com/mourner)<br/>|[<img src="https://avatars.githubusercontent.com/u/6828924?v=4" width="100px;"/><br/><sub><b>vagusX</b></sub>](https://github.com/vagusX)<br/>|[<img src="https://avatars.githubusercontent.com/u/566097?v=4" width="100px;"/><br/><sub><b>RaoHai</b></sub>](https://github.com/RaoHai)<br/>| | ||
| :---: | :---: | :---: | :---: | :---: | :---: | | ||
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Wed Mar 16 2022 23:57:13 GMT+0800`. | ||
<!-- GITCONTRIBUTOR_END --> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9262
106
100
9