Skip to content

Commit eb03f95

Browse files
committed
bump to es2018
1 parent 53c2dd8 commit eb03f95

File tree

21 files changed

+30
-30
lines changed

21 files changed

+30
-30
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module.exports = {
77
root: true,
88
env: {
9-
es2017: true,
9+
es2018: true,
1010
},
1111
parserOptions: {
1212
ecmaVersion: 2018,

MIGRATION.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ stable release of `8.x` comes out).
2424
to `@sentry/node` and all of our node-based server-side sdks (`@sentry/nextjs`, `@sentry/serverless`, etc.). We no
2525
longer test against Node 8, 10, or 12 and cannot guarantee that the SDK will work as expected on these versions.
2626

27-
**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2017+ compatible
27+
**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2018+ compatible
2828
browsers. This means that we no longer support IE11 (end of an era). This also means that the Browser SDK requires the
2929
fetch API to be available in the environment.
3030

3131
New minimum supported browsers:
3232

33-
- Chrome 58
34-
- Edge 15
35-
- Safari/iOS Safari 11
36-
- Firefox 54
37-
- Opera 45
38-
- Samsung Internet 7.2
33+
- Chrome 63
34+
- Edge 79
35+
- Safari/iOS Safari 12
36+
- Firefox 58
37+
- Opera 50
38+
- Samsung Internet 8.2
3939

4040
For IE11 support please transpile your code to ES5 using babel or similar and add required polyfills.
4141

dev-packages/e2e-tests/test-applications/create-next-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/create-react-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"include": ["index.ts"],
33
"compilerOptions": {
4-
"lib": ["es2017", "DOM"],
4+
"lib": ["es2018", "DOM"],
55
"skipLibCheck": false,
66
"noEmit": true,
77
"types": [],
8-
"target": "es2017",
8+
"target": "es2018",
99
"moduleResolution": "node"
1010
}
1111
}

dev-packages/e2e-tests/test-applications/nextjs-14/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/nextjs-app-dir/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/node-exports-test-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"types": ["node"],
44
"esModuleInterop": true,
5-
"lib": ["es2017"],
5+
"lib": ["es2018"],
66
"strict": true,
77
"outDir": "dist",
88
"target": "ESNext",

dev-packages/e2e-tests/test-applications/node-express-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"types": ["node"],
44
"esModuleInterop": true,
5-
"lib": ["es2017"],
5+
"lib": ["es2018"],
66
"strict": true,
77
"outDir": "dist"
88
},

dev-packages/e2e-tests/test-applications/react-create-hash-router/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/react-router-6-use-routes/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/standard-frontend-react/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/rollup-utils/npmHelpers.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function makeBaseNPMConfig(options = {}) {
5959
// output individual files rather than one big bundle
6060
preserveModules: true,
6161

62-
// Allow wrappers or helper functions generated by rollup to use any ES6 features except symbols. (Symbols in
62+
// Allow wrappers or helper functions generated by rollup to use any ES2015 features except symbols. (Symbols in
6363
// general are fine, but the `[Symbol.toStringTag]: 'Module'` which Rollup adds alongside `__esModule:
6464
// true` in CJS modules makes it so that Jest <= 29.2.2 crashes when trying to mock generated `@sentry/xxx`
6565
// packages. See https://github.com/getsentry/sentry-javascript/pull/6043.)

packages/angular/tsconfig.ngc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
{
66
"extends": "./tsconfig.json",
77
"compilerOptions": {
8-
"target": "es2017",
8+
"target": "es2018",
99
"declarationMap": false,
10-
"lib": ["dom", "es2017"],
10+
"lib": ["dom", "es2018"],
1111
"baseUrl": "./"
1212
},
1313
"angularCompilerOptions": {

packages/nextjs/test/integration/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"forceConsistentCasingInFileNames": true,
88
"isolatedModules": true,
99
"jsx": "preserve",
10-
"lib": ["dom", "es2017"],
10+
"lib": ["dom", "es2018"],
1111
"module": "esnext",
1212
"moduleResolution": "node",
1313
"noEmit": true,

packages/node-experimental/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"include": ["src/**/*"],
55

66
"compilerOptions": {
7-
"lib": ["es2017"],
7+
"lib": ["es2018"],
88
"module": "Node16"
99
}
1010
}

packages/node/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"include": ["src/**/*"],
55

66
"compilerOptions": {
7-
"lib": ["es2017"]
7+
"lib": ["es2018"]
88
}
99
}

packages/profiling-node/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"module": "esnext",
5-
"lib": ["es2017"],
5+
"lib": ["es2018"],
66
"outDir": "lib",
77
"types": ["node"]
88
},

packages/replay-worker/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"module": "esnext",
55
"lib": ["webworker", "scripthost"],
66
"esModuleInterop": true,
7-
"target": "es2017",
7+
"target": "es2018",
88
"strictPropertyInitialization": false
99
},
1010
"include": ["src/**/*.ts"]

packages/types/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"include": ["src/**/*"],
55

66
"compilerOptions": {
7-
"lib": ["es2017"]
7+
"lib": ["es2018"]
88
}
99
}

packages/typescript/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"importHelpers": true,
88
"inlineSources": true,
99
"isolatedModules": true,
10-
"lib": ["es2017", "dom"],
10+
"lib": ["es2018", "dom"],
1111
"moduleResolution": "node",
1212
"noErrorTruncation": true,
1313
"noFallthroughCasesInSwitch": true,
@@ -19,6 +19,6 @@
1919
"sourceMap": true,
2020
"strict": true,
2121
"strictBindCallApply": false,
22-
"target": "es2017"
22+
"target": "es2018"
2323
}
2424
}

0 commit comments

Comments
 (0)