Skip to content

Commit 54313ad

Browse files
VULN UPGRADE: minor upgrades — 8 packages (minor: 4 · patch: 4) (#180)
* Executing automated changes * fix lint --------- Co-authored-by: campaigner-prod[bot] <87874424+campaigner-prod[bot]@users.noreply.github.com> Co-authored-by: Greg Huels <greg.huels@datadoghq.com>
1 parent ae25355 commit 54313ad

4 files changed

Lines changed: 972 additions & 106 deletions

File tree

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@
2727
"format:fix": "prettier --write ."
2828
},
2929
"devDependencies": {
30-
"@biomejs/biome": "^2.0.0",
31-
"@types/node": "^18.0.0",
30+
"@biomejs/biome": "^2.3.14",
31+
"@types/node": "^18.19.130",
3232
"glob": "^11.0.3",
33-
"jest": "^30.0.4",
33+
"jest": "^30.0.5",
3434
"lerna": "^9.0.3",
3535
"npm-run-all": "^4.1.5",
36-
"prettier": "^3.6.2",
36+
"prettier": "^3.8.1",
3737
"rimraf": "^6.0.0",
38-
"terser-webpack-plugin": "^5.3.14",
39-
"ts-loader": "^9.5.2",
38+
"terser-webpack-plugin": "^5.3.16",
39+
"ts-loader": "^9.5.4",
4040
"ts-node": "^10.9.0",
4141
"tsconfig-paths-webpack-plugin": "^4.2.0",
42-
"typescript": "^5.5.0",
43-
"webpack": "5.99.9"
42+
"typescript": "^5.9.3",
43+
"webpack": "5.105.0"
4444
},
4545
"packageManager": "yarn@4.9.2",
4646
"dependencies": {

packages/browser/src/cache/simple-assignment-cache.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export default class SimpleAssignmentCache implements BulkWriteAssignmentCache,
3232
const { store } = this
3333
// it's important to call store.set() directly here because we want to set the raw entries into the cache, bypassing
3434
// the AbstractAssignmentCache logic, which takes an AssignmentCacheKey instead.
35-
entries.forEach(([key, value]) => store.set(key, value))
35+
entries.forEach(([key, value]) => {
36+
store.set(key, value)
37+
})
3638
}
3739

3840
getEntries(): Promise<[string, string][]> {

packages/browser/test/cache/assignment-cache-factory.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ describe('AssignmentCacheFactory', () => {
3333

3434
beforeEach(() => {
3535
window.localStorage.clear()
36-
Object.keys(fakeStore).forEach((key) => delete fakeStore[key])
36+
Object.keys(fakeStore).forEach((key) => {
37+
delete fakeStore[key]
38+
})
3739
})
3840

3941
it('should create a hybrid cache if chrome storage is available', () => {

0 commit comments

Comments
 (0)