Skip to content

Commit fccfa20

Browse files
committed
upgrade versions
1 parent 6e91674 commit fccfa20

File tree

3 files changed

+2184
-2823
lines changed

3 files changed

+2184
-2823
lines changed

__test__/StringCacheMap.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @jest-environment jsdom
3+
*/
4+
15
const StringCacheMap = require('..')
26

37
describe('StringCacheMap', () => {
@@ -38,6 +42,7 @@ describe('StringCacheMap', () => {
3842
const map = new StringCacheMap()
3943

4044
expect(map.get('fOf')).toBeUndefined()
45+
expect(map.get(global)).toBeUndefined()
4146
expect(map.get(window)).toBeUndefined()
4247
})
4348

@@ -50,6 +55,7 @@ describe('StringCacheMap', () => {
5055
expect(map.has('uOf')).toBe(true)
5156
expect(map.has('bOf')).toBe(false)
5257
expect(map.has('constructor')).toBe(false)
58+
expect(map.has(global)).toBe(false)
5359
expect(map.has(window)).toBe(false)
5460
expect('constructor' in {}).toBe(true)
5561
})

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
},
2525
"homepage": "https://github.com/drpicox/string-cache-map#readme",
2626
"devDependencies": {
27-
"eslint-plugin-prettier": "^2.6.2",
28-
"husky": "^0.14.3",
29-
"jest": "^23.5.0",
30-
"lint-staged": "^7.2.2",
31-
"prettier": "^1.14.2"
27+
"eslint-plugin-prettier": "^3.4.0",
28+
"husky": "^7.0.1",
29+
"jest": "^27.0.6",
30+
"lint-staged": "^11.1.1",
31+
"prettier": "^2.3.2"
3232
},
3333
"lint-staged": {
3434
"*.{js,json,css,md}": [

0 commit comments

Comments
 (0)