Downgrade string-length, Firefox doesn't support Intl.Segmenter

This commit is contained in:
Lim Chee Aun 2023-06-12 14:48:41 +08:00
parent fc99c703e4
commit 087158064c
2 changed files with 26 additions and 11 deletions

35
package-lock.json generated
View file

@ -28,7 +28,7 @@
"react-intersection-observer": "~9.4.4", "react-intersection-observer": "~9.4.4",
"react-quick-pinch-zoom": "~4.9.0", "react-quick-pinch-zoom": "~4.9.0",
"react-router-dom": "6.6.2", "react-router-dom": "6.6.2",
"string-length": "~6.0.0", "string-length": "5.0.1",
"swiped-events": "~1.1.7", "swiped-events": "~1.1.7",
"toastify-js": "~1.12.0", "toastify-js": "~1.12.0",
"uid": "~2.0.2", "uid": "~2.0.2",
@ -3704,6 +3704,14 @@
"tslib": "^2.0.3" "tslib": "^2.0.3"
} }
}, },
"node_modules/char-regex": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz",
"integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==",
"engines": {
"node": ">=12.20"
}
},
"node_modules/color-convert": { "node_modules/color-convert": {
"version": "1.9.3", "version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
@ -6633,14 +6641,15 @@
"dev": true "dev": true
}, },
"node_modules/string-length": { "node_modules/string-length": {
"version": "6.0.0", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-6.0.0.tgz", "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz",
"integrity": "sha512-1U361pxZHEQ+FeSjzqRpV+cu2vTzYeWeafXFLykiFlv4Vc0n3njgU8HrMbyik5uwm77naWMuVG8fhEF+Ovb1Kg==", "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==",
"dependencies": { "dependencies": {
"strip-ansi": "^7.1.0" "char-regex": "^2.0.0",
"strip-ansi": "^7.0.1"
}, },
"engines": { "engines": {
"node": ">=16" "node": ">=12.20"
}, },
"funding": { "funding": {
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
@ -10055,6 +10064,11 @@
"tslib": "^2.0.3" "tslib": "^2.0.3"
} }
}, },
"char-regex": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/char-regex/-/char-regex-2.0.1.tgz",
"integrity": "sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw=="
},
"color-convert": { "color-convert": {
"version": "1.9.3", "version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
@ -12040,11 +12054,12 @@
"dev": true "dev": true
}, },
"string-length": { "string-length": {
"version": "6.0.0", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-6.0.0.tgz", "resolved": "https://registry.npmjs.org/string-length/-/string-length-5.0.1.tgz",
"integrity": "sha512-1U361pxZHEQ+FeSjzqRpV+cu2vTzYeWeafXFLykiFlv4Vc0n3njgU8HrMbyik5uwm77naWMuVG8fhEF+Ovb1Kg==", "integrity": "sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==",
"requires": { "requires": {
"strip-ansi": "^7.1.0" "char-regex": "^2.0.0",
"strip-ansi": "^7.0.1"
} }
}, },
"string.prototype.matchall": { "string.prototype.matchall": {

View file

@ -30,7 +30,7 @@
"react-intersection-observer": "~9.4.4", "react-intersection-observer": "~9.4.4",
"react-quick-pinch-zoom": "~4.9.0", "react-quick-pinch-zoom": "~4.9.0",
"react-router-dom": "6.6.2", "react-router-dom": "6.6.2",
"string-length": "~6.0.0", "string-length": "5.0.1",
"swiped-events": "~1.1.7", "swiped-events": "~1.1.7",
"toastify-js": "~1.12.0", "toastify-js": "~1.12.0",
"uid": "~2.0.2", "uid": "~2.0.2",