mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
feat(experience): experience support old browser (#5130)
* feat(experience): update experience browserslist and add corejs dependency feat(experience): import corejs to experience feat(experience): update pnpm-lock.yaml feat(experience): update experience browserslist and add corejs to support old browsers * feat(experience): fix lint problem --------- Co-authored-by: root <root@MKJ>
This commit is contained in:
parent
e9e0f18dcf
commit
be9613dd44
3 changed files with 21 additions and 7 deletions
|
@ -56,6 +56,7 @@
|
||||||
"camelcase-keys": "^9.0.0",
|
"camelcase-keys": "^9.0.0",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"color": "^4.2.3",
|
"color": "^4.2.3",
|
||||||
|
"core-js": "^3.34.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^8.44.0",
|
"eslint": "^8.44.0",
|
||||||
"i18next": "^22.4.15",
|
"i18next": "^22.4.15",
|
||||||
|
@ -99,7 +100,16 @@
|
||||||
"targets": {
|
"targets": {
|
||||||
"default": {
|
"default": {
|
||||||
"engines": {
|
"engines": {
|
||||||
"browsers": "defaults"
|
"browsers": [
|
||||||
|
"defaults",
|
||||||
|
">0.3%",
|
||||||
|
"Chrome >= 52",
|
||||||
|
"Firefox >= 55",
|
||||||
|
"Safari >= 10",
|
||||||
|
"Edge >= 13",
|
||||||
|
"iOS >= 10",
|
||||||
|
"Electron >= 0.36"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable-next-line import/no-unassigned-import */
|
||||||
|
import 'core-js/actual';
|
||||||
import { createRoot } from 'react-dom/client';
|
import { createRoot } from 'react-dom/client';
|
||||||
import ReactModal from 'react-modal';
|
import ReactModal from 'react-modal';
|
||||||
|
|
||||||
|
|
|
@ -3626,6 +3626,9 @@ importers:
|
||||||
color:
|
color:
|
||||||
specifier: ^4.2.3
|
specifier: ^4.2.3
|
||||||
version: 4.2.3
|
version: 4.2.3
|
||||||
|
core-js:
|
||||||
|
specifier: ^3.34.0
|
||||||
|
version: 3.34.0
|
||||||
cross-env:
|
cross-env:
|
||||||
specifier: ^7.0.3
|
specifier: ^7.0.3
|
||||||
version: 7.0.3
|
version: 7.0.3
|
||||||
|
@ -11649,10 +11652,9 @@ packages:
|
||||||
depd: 2.0.0
|
depd: 2.0.0
|
||||||
keygrip: 1.1.0
|
keygrip: 1.1.0
|
||||||
|
|
||||||
/core-js@3.21.1:
|
/core-js@3.34.0:
|
||||||
resolution: {integrity: sha512-FRq5b/VMrWlrmCzwRrpDYNxyHP9BcAZC+xHJaqTgIE5091ZV1NTmyh0sGOg5XqpnHvR0svdy0sv1gWA1zmhxig==}
|
resolution: {integrity: sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag==}
|
||||||
requiresBuild: true
|
requiresBuild: true
|
||||||
dev: false
|
|
||||||
|
|
||||||
/cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.0.2):
|
/cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.3)(cosmiconfig@8.3.6)(typescript@5.0.2):
|
||||||
resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==}
|
resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==}
|
||||||
|
@ -19715,7 +19717,7 @@ packages:
|
||||||
slonik: '*'
|
slonik: '*'
|
||||||
dependencies:
|
dependencies:
|
||||||
camelcase: 6.3.0
|
camelcase: 6.3.0
|
||||||
core-js: 3.21.1
|
core-js: 3.34.0
|
||||||
slonik: 22.7.1
|
slonik: 22.7.1
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
@ -19736,7 +19738,7 @@ packages:
|
||||||
resolution: {integrity: sha512-f9jxhsu+8u0ssf2pdzLx1jSlGODkAitNbGrprJWGOjmnQzZKW4jWaq54DZGwyNv4HotOb9m4Lp0u9XQODKXyng==}
|
resolution: {integrity: sha512-f9jxhsu+8u0ssf2pdzLx1jSlGODkAitNbGrprJWGOjmnQzZKW4jWaq54DZGwyNv4HotOb9m4Lp0u9XQODKXyng==}
|
||||||
engines: {node: '>=8.0'}
|
engines: {node: '>=8.0'}
|
||||||
dependencies:
|
dependencies:
|
||||||
core-js: 3.21.1
|
core-js: 3.34.0
|
||||||
pg-formatter: 1.3.0
|
pg-formatter: 1.3.0
|
||||||
pretty-ms: 6.0.1
|
pretty-ms: 6.0.1
|
||||||
slonik: 22.7.1
|
slonik: 22.7.1
|
||||||
|
@ -19762,7 +19764,7 @@ packages:
|
||||||
resolution: {integrity: sha512-TAuWVFBVnq7I5KcEY/x1JgVgIVZ0yyyeRlMTzKs+u4wRYhszQW2hMIYnDak/UUfWR1h6wp3+hODiC4gKyBOUcg==}
|
resolution: {integrity: sha512-TAuWVFBVnq7I5KcEY/x1JgVgIVZ0yyyeRlMTzKs+u4wRYhszQW2hMIYnDak/UUfWR1h6wp3+hODiC4gKyBOUcg==}
|
||||||
engines: {node: '>=8.0'}
|
engines: {node: '>=8.0'}
|
||||||
dependencies:
|
dependencies:
|
||||||
core-js: 3.21.1
|
core-js: 3.34.0
|
||||||
slonik: 22.7.1
|
slonik: 22.7.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- pg-native
|
- pg-native
|
||||||
|
|
Loading…
Reference in a new issue