Skip to content

Commit 4e98861

Browse files
committed
Add node engines fields specifying a minimum of 18
1 parent 5594ebc commit 4e98861

File tree

66 files changed

+200
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+200
-17
lines changed

config/functions/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
},
99
"private": true,
1010
"engines": {
11-
"node": "16"
11+
"node": ">=18.0.0"
1212
}
1313
}

e2e/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
"webpack": "5.76.0",
3939
"webpack-cli": "4.10.0",
4040
"webpack-dev-server": "4.11.1"
41+
},
42+
"engines": {
43+
"node": ">=18.0.0"
4144
}
4245
}

integration/compat-interop/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@
2525
},
2626
"devDependencies": {
2727
"typescript": "4.7.4"
28+
},
29+
"engines": {
30+
"node": ">=18.0.0"
2831
}
2932
}

integration/compat-typings/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@
1111
},
1212
"devDependencies": {
1313
"typescript": "4.7.4"
14+
},
15+
"engines": {
16+
"node": ">=18.0.0"
1417
}
15-
}
18+
}

integration/firebase/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
"mocha": "9.2.2",
2222
"npm-run-all": "4.1.5",
2323
"typescript": "4.7.4"
24+
},
25+
"engines": {
26+
"node": ">=18.0.0"
2427
}
2528
}

integration/firestore/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@
3232
"typescript": "4.2.2",
3333
"webpack": "5.76.0",
3434
"webpack-stream": "7.0.0"
35+
},
36+
"engines": {
37+
"node": ">=18.0.0"
3538
}
3639
}

integration/messaging/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@
1717
"mocha": "9.2.2",
1818
"undici": "6.19.7",
1919
"selenium-assistant": "6.1.1"
20+
},
21+
"engines": {
22+
"node": ">=18.0.0"
2023
}
2124
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
77
"license": "Apache-2.0",
88
"engines": {
9-
"node": "^8.13.0 || >=10.10.0"
9+
"node": ">=18.0.0"
1010
},
1111
"homepage": "https://github.com/firebase/firebase-js-sdk",
1212
"keywords": [

packages/analytics-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,8 @@
6565
".ts"
6666
],
6767
"reportDir": "./coverage/node"
68+
},
69+
"engines": {
70+
"node": ">=18.0.0"
6871
}
6972
}

packages/analytics-interop-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
},
2222
"devDependencies": {
2323
"typescript": "4.7.4"
24+
},
25+
"engines": {
26+
"node": ">=18.0.0"
2427
}
2528
}

packages/analytics-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
},
2222
"devDependencies": {
2323
"typescript": "4.7.4"
24+
},
25+
"engines": {
26+
"node": ">=18.0.0"
2427
}
2528
}

packages/analytics/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,8 @@
7171
".ts"
7272
],
7373
"reportDir": "./coverage/node"
74+
},
75+
"engines": {
76+
"node": ">=18.0.0"
7477
}
7578
}

packages/app-check-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,8 @@
6767
".ts"
6868
],
6969
"reportDir": "./coverage/node"
70+
},
71+
"engines": {
72+
"node": ">=18.0.0"
7073
}
7174
}

packages/app-check/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,8 @@
6868
".ts"
6969
],
7070
"reportDir": "./coverage/node"
71+
},
72+
"engines": {
73+
"node": ">=18.0.0"
7174
}
7275
}

packages/app-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,8 @@
6868
".ts"
6969
],
7070
"reportDir": "./coverage/node"
71+
},
72+
"engines": {
73+
"node": ">=18.0.0"
7174
}
7275
}

packages/app-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@
2525
},
2626
"devDependencies": {
2727
"typescript": "4.7.4"
28+
},
29+
"engines": {
30+
"node": ">=18.0.0"
2831
}
2932
}

packages/app/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,8 @@
6868
".ts"
6969
],
7070
"reportDir": "./coverage/node"
71+
},
72+
"engines": {
73+
"node": ">=18.0.0"
7174
}
7275
}

packages/auth-compat/demo/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,8 @@
5050
".ts"
5151
],
5252
"reportDir": "./coverage/node"
53+
},
54+
"engines": {
55+
"node": ">=18.0.0"
5356
}
5457
}

packages/auth-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,8 @@
8282
".ts"
8383
],
8484
"reportDir": "./coverage/node"
85+
},
86+
"engines": {
87+
"node": ">=18.0.0"
8588
}
8689
}

packages/auth-interop-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
},
2222
"devDependencies": {
2323
"typescript": "4.7.4"
24+
},
25+
"engines": {
26+
"node": ">=18.0.0"
2427
}
2528
}

packages/auth-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@
2525
},
2626
"devDependencies": {
2727
"typescript": "4.7.4"
28+
},
29+
"engines": {
30+
"node": ">=18.0.0"
2831
}
2932
}

packages/auth/cordova/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"description": "A Cordova-specific build of the Firebase Auth JS SDK",
44
"browser": "../dist/cordova/index.js",
55
"module": "../dist/cordova/index.js",
6-
"typings": "../dist/cordova/auth-cordova-public.d.ts"
7-
}
6+
"typings": "../dist/cordova/auth-cordova-public.d.ts",
7+
"engines": {
8+
"node": ">=18.0.0"
9+
}
10+
}

packages/auth/demo/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,8 @@
4949
".ts"
5050
],
5151
"reportDir": "./coverage/node"
52+
},
53+
"engines": {
54+
"node": ">=18.0.0"
5255
}
5356
}

packages/auth/internal/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"browser": "../dist/esm2017/internal.js",
77
"esm5": "../dist/esm5/internal.js",
88
"typings": "../dist/esm5/internal/index.d.ts",
9-
"private": true
9+
"private": true,
10+
"engines": {
11+
"node": ">=18.0.0"
12+
}
1013
}

packages/auth/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,8 @@
161161
".ts"
162162
],
163163
"reportDir": "./coverage/node"
164+
},
165+
"engines": {
166+
"node": ">=18.0.0"
164167
}
165168
}

packages/auth/web-extension/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"main": "../dist/web-extension-cjs/index.js",
55
"browser": "../dist/web-extension-esm2017/index.js",
66
"module": "../dist/web-extension-esm2017/index.js",
7-
"typings": "../dist/web-extension-esm2017/auth-web-extension-public.d.ts"
8-
}
7+
"typings": "../dist/web-extension-esm2017/auth-web-extension-public.d.ts",
8+
"engines": {
9+
"node": ">=18.0.0"
10+
}
11+
}

packages/component/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@
5656
".ts"
5757
],
5858
"reportDir": "./coverage/node"
59+
},
60+
"engines": {
61+
"node": ">=18.0.0"
5962
}
6063
}

packages/database-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,8 @@
6969
},
7070
"bugs": {
7171
"url": "https://github.com/firebase/firebase-js-sdk/issues"
72+
},
73+
"engines": {
74+
"node": ">=18.0.0"
7275
}
7376
}

packages/database-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@
2525
},
2626
"devDependencies": {
2727
"typescript": "4.7.4"
28+
},
29+
"engines": {
30+
"node": ">=18.0.0"
2831
}
2932
}

packages/database/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
".ts"
7979
],
8080
"reportDir": "./coverage/node"
81+
},
82+
"engines": {
83+
"node": ">=18.0.0"
8184
}
8285
}

packages/firebase/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -448,5 +448,8 @@
448448
"database",
449449
"vertexai-preview"
450450
],
451-
"typings": "empty.d.ts"
451+
"typings": "empty.d.ts",
452+
"engines": {
453+
"node": ">=18.0.0"
454+
}
452455
}

packages/firestore-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,8 @@
7474
},
7575
"bugs": {
7676
"url": "https://github.com/firebase/firebase-js-sdk/issues"
77+
},
78+
"engines": {
79+
"node": ">=18.0.0"
7780
}
7881
}

packages/firestore-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@
2525
},
2626
"devDependencies": {
2727
"typescript": "4.2.2"
28+
},
29+
"engines": {
30+
"node": ">=18.0.0"
2831
}
2932
}

packages/firestore/lite/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
"react-native": "../dist/lite/index.rn.esm2017.js",
99
"esm5": "../dist/lite/index.browser.esm5.js",
1010
"typings": "../dist/lite/index.d.ts",
11-
"private": true
11+
"private": true,
12+
"engines": {
13+
"node": ">=18.0.0"
14+
}
1215
}

packages/firestore/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@firebase/firestore",
33
"version": "4.7.0",
44
"engines": {
5-
"node": ">=10.10.0"
5+
"node": ">=18.0.0"
66
},
77
"description": "The Cloud Firestore component of the Firebase JS SDK.",
88
"author": "Firebase <[email protected]> (https://firebase.google.com/)",

packages/functions-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,8 @@
7575
".ts"
7676
],
7777
"reportDir": "./coverage/node"
78+
},
79+
"engines": {
80+
"node": ">=18.0.0"
7881
}
7982
}

packages/functions-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
},
2222
"devDependencies": {
2323
"typescript": "4.7.4"
24+
},
25+
"engines": {
26+
"node": ">=18.0.0"
2427
}
2528
}

packages/functions/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,8 @@
8080
".ts"
8181
],
8282
"reportDir": "./coverage/node"
83+
},
84+
"engines": {
85+
"node": ">=18.0.0"
8386
}
8487
}

packages/installations-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464
"@firebase/util": "1.9.7",
6565
"@firebase/component": "0.6.8",
6666
"tslib": "^2.1.0"
67+
},
68+
"engines": {
69+
"node": ">=18.0.0"
6770
}
6871
}

packages/installations-types/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@
2424
},
2525
"devDependencies": {
2626
"typescript": "4.7.4"
27+
},
28+
"engines": {
29+
"node": ">=18.0.0"
2730
}
2831
}

packages/installations/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,8 @@
6868
"@firebase/component": "0.6.8",
6969
"idb": "7.1.1",
7070
"tslib": "^2.1.0"
71+
},
72+
"engines": {
73+
"node": ">=18.0.0"
7174
}
7275
}

packages/logger/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,8 @@
5555
".ts"
5656
],
5757
"reportDir": "./coverage/node"
58+
},
59+
"engines": {
60+
"node": ">=18.0.0"
5861
}
5962
}

packages/messaging-compat/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,8 @@
5959
},
6060
"bugs": {
6161
"url": "https://github.com/firebase/firebase-js-sdk/issues"
62+
},
63+
"engines": {
64+
"node": ">=18.0.0"
6265
}
6366
}

0 commit comments

Comments
 (0)