@podium/context
Advanced tools
Comparing version 5.0.0-next.7 to 5.0.0
@@ -0,1 +1,22 @@ | ||
# [5.0.0](https://github.com/podium-lib/context/compare/v4.1.81...v5.0.0) (2023-11-28) | ||
### Bug Fixes | ||
* Update @podium/utils to 5.0.0-next.1 ([50d6648](https://github.com/podium-lib/context/commit/50d6648cfeb50b80ec4cdbb184b8795502534c67)) | ||
* Use v5 versions of @podium/utils and @podium/schema ([79e4225](https://github.com/podium-lib/context/commit/79e4225f768c175976190dabc3e8f2e0aaf11a28)) | ||
### Features | ||
* Convert to ESM ([b74155f](https://github.com/podium-lib/context/commit/b74155fda42dccb263bd62d1c9cd5610a357c13f)) | ||
* Convert to ESM ([2f48d1a](https://github.com/podium-lib/context/commit/2f48d1a037d7c7c2680a0c8cd68f56d382fe2211)) | ||
* Drop node 10.x support ([ee34ea1](https://github.com/podium-lib/context/commit/ee34ea12363fe4da61995f9e4c88bba4c11901ba)) | ||
### BREAKING CHANGES | ||
* Convert from CommonJS to ESM | ||
* Only support node 12 and 14. | ||
# [5.0.0-next.7](https://github.com/podium-lib/context/compare/v5.0.0-next.6...v5.0.0-next.7) (2023-11-28) | ||
@@ -2,0 +23,0 @@ |
import Bowser from 'bowser'; | ||
import LRU from 'lru-cache'; | ||
import { LRUCache } from 'lru-cache'; | ||
@@ -17,3 +17,3 @@ const symCapabilitiesToType = Symbol('_capabilitiesToType'); | ||
Object.defineProperty(this, 'cache', { | ||
value: new LRU({ | ||
value: new LRUCache({ | ||
max: this.cacheSize, | ||
@@ -20,0 +20,0 @@ }), |
{ | ||
"name": "@podium/context", | ||
"version": "5.0.0-next.7", | ||
"version": "5.0.0", | ||
"description": "Module to generate the context which is passed on requests from a Podium Layout server to a Podium Podlet server", | ||
@@ -33,3 +33,3 @@ "type": "module", | ||
"lint:fix": "eslint --fix .", | ||
"test": "tap --no-check-coverage" | ||
"test": "tap --disable-coverage --allow-empty-coverage" | ||
}, | ||
@@ -45,22 +45,22 @@ "author": "", | ||
"decamelize": "^6.0.0", | ||
"lru-cache": "^7.9.0" | ||
"lru-cache": "10.1.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "8.15.0", | ||
"eslint": "8.54.0", | ||
"eslint-config-airbnb-base": "15.0.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-prettier": "4.0.0", | ||
"@babel/eslint-parser": "7.17.0", | ||
"tap": "16.2.0", | ||
"prettier": "2.6.2", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-import": "2.29.0", | ||
"eslint-plugin-prettier": "5.0.1", | ||
"@babel/eslint-parser": "7.23.3", | ||
"tap": "18.6.1", | ||
"prettier": "3.1.0", | ||
"@semantic-release/changelog": "6.0.3", | ||
"@semantic-release/commit-analyzer": "9.0.2", | ||
"@semantic-release/commit-analyzer": "11.1.0", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/github": "8.1.0", | ||
"@semantic-release/npm": "9.0.2", | ||
"@semantic-release/release-notes-generator": "10.0.3", | ||
"@semantic-release/github": "9.2.3", | ||
"@semantic-release/npm": "11.0.1", | ||
"@semantic-release/release-notes-generator": "12.1.0", | ||
"benchmark": "2.1.4", | ||
"semantic-release": "19.0.5" | ||
"semantic-release": "22.0.8" | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
66530
0
+ Addedlru-cache@10.1.0(transitive)
- Removedlru-cache@7.18.3(transitive)
Updatedlru-cache@10.1.0