Skip to content

Commit

Permalink
fix(build)!: bump @octokit/core to 5.x
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `@octokit/core` 5.0.0 drops support for Node 14 and 16.

Testing shows that at least Node 16 still works if you import
`node-fetch`. But since `@octokit/core` now declares Node 18 as a
requirement in its `package.json`, it's still a bit early for us to
start using 5.x.
  • Loading branch information
tido64 committed Sep 15, 2023
1 parent d9f6c50 commit 6ae007b
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 69 deletions.
6 changes: 3 additions & 3 deletions incubator/build-plugin-firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.js"
}
"import": "./lib/index.js"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
Expand Down
11 changes: 6 additions & 5 deletions incubator/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
}
},
"./package.json": "./package.json"
},
"bin": {
"rnx-build": "lib/cli.js",
Expand All @@ -38,9 +39,9 @@
"test": "rnx-kit-scripts test"
},
"dependencies": {
"@octokit/core": "^4.0.0",
"@octokit/plugin-rest-endpoint-methods": "^7.0.0",
"@octokit/request-error": "^3.0.0",
"@octokit/core": "^5.0.0",
"@octokit/plugin-rest-endpoint-methods": "^9.0.0",
"@octokit/request-error": "^5.0.0",
"@rnx-kit/config": "^0.6.0",
"env-paths": "^3.0.0",
"fast-xml-parser": "^4.0.0",
Expand All @@ -59,7 +60,7 @@
"typescript": "^5.0.0"
},
"engines": {
"node": ">=14.18"
"node": ">=18.12"
},
"eslintConfig": {
"extends": "@rnx-kit/eslint-config"
Expand Down
3 changes: 2 additions & 1 deletion incubator/commitlint-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
}
},
"./package.json": "./package.json"
},
"bin": "lib/cli.js",
"repository": {
Expand Down
116 changes: 56 additions & 60 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2766,102 +2766,98 @@ __metadata:
languageName: node
linkType: hard

"@octokit/auth-token@npm:^3.0.0":
version: 3.0.3
resolution: "@octokit/auth-token@npm:3.0.3"
dependencies:
"@octokit/types": ^9.0.0
checksum: 9b3f569cec1b7e0aa88ab6da68aed4b49b6652261bd957257541fabaf6a4d4ed99f908153cc3dd2fe15b8b0ccaff8caaafaa50bb1a4de3925b0954a47cca1900
"@octokit/auth-token@npm:^4.0.0":
version: 4.0.0
resolution: "@octokit/auth-token@npm:4.0.0"
checksum: d78f4dc48b214d374aeb39caec4fdbf5c1e4fd8b9fcb18f630b1fe2cbd5a880fca05445f32b4561f41262cb551746aeb0b49e89c95c6dd99299706684d0cae2f
languageName: node
linkType: hard

"@octokit/core@npm:^4.0.0":
version: 4.2.1
resolution: "@octokit/core@npm:4.2.1"
"@octokit/core@npm:^5.0.0":
version: 5.0.0
resolution: "@octokit/core@npm:5.0.0"
dependencies:
"@octokit/auth-token": ^3.0.0
"@octokit/graphql": ^5.0.0
"@octokit/request": ^6.0.0
"@octokit/request-error": ^3.0.0
"@octokit/types": ^9.0.0
"@octokit/auth-token": ^4.0.0
"@octokit/graphql": ^7.0.0
"@octokit/request": ^8.0.2
"@octokit/request-error": ^5.0.0
"@octokit/types": ^11.0.0
before-after-hook: ^2.2.0
universal-user-agent: ^6.0.0
checksum: f82d52e937e12da1c7c163341c845b8e27e7fa75678f5e5954e6fa017a94f1833d6e5c4e43f0be796fbfea9dc5e1137087f655dbd5acb3d57879e1b28568e0a9
checksum: 1a5d1112a2403d146aa1db7aaf81a31192ef6b0310a1e6f68c3e439fded22bd4b3a930f5071585e6ca0f2f5e7fc4a1aac68910525b71b03732c140e362d26a33
languageName: node
linkType: hard

"@octokit/endpoint@npm:^7.0.0":
version: 7.0.5
resolution: "@octokit/endpoint@npm:7.0.5"
"@octokit/endpoint@npm:^9.0.0":
version: 9.0.0
resolution: "@octokit/endpoint@npm:9.0.0"
dependencies:
"@octokit/types": ^9.0.0
"@octokit/types": ^11.0.0
is-plain-object: ^5.0.0
universal-user-agent: ^6.0.0
checksum: 81c9e9eabf50e48940cceff7c4d7fbc9327190296507cfe8a199ea00cd492caf8f18a841caf4e3619828924b481996eb16091826db6b5a649bee44c8718ecaa9
checksum: 0e402c4d0fbe5b8053630cedb30dde5074bb6410828a05dc93d7e0fdd6c17f9a44b66586ef1a4e4ee0baa8d34ef7d6f535e2f04d9ea42909b7fc7ff55ce56a48
languageName: node
linkType: hard

"@octokit/graphql@npm:^5.0.0":
version: 5.0.5
resolution: "@octokit/graphql@npm:5.0.5"
"@octokit/graphql@npm:^7.0.0":
version: 7.0.1
resolution: "@octokit/graphql@npm:7.0.1"
dependencies:
"@octokit/request": ^6.0.0
"@octokit/types": ^9.0.0
"@octokit/request": ^8.0.1
"@octokit/types": ^11.0.0
universal-user-agent: ^6.0.0
checksum: eb2d1a6305a3d1f55ff0ce92fb88b677f0bb789757152d58a79ef61171fb65ecf6fe18d6c27e236c0cee6a0c2600c2cb8370f5ac7184f8e9361c085aa4555bb1
checksum: 7ee907987b1b8312c6f870c44455cbd3eed805bb1a4095038f4e7e62ee2e006bd766f2a71dfbe56b870cd8f7558309c602f00d3e252fe59578f4acf6249a4f17
languageName: node
linkType: hard

"@octokit/openapi-types@npm:^17.2.0":
version: 17.2.0
resolution: "@octokit/openapi-types@npm:17.2.0"
checksum: 29995e34f98d9d64ba234d64a7ae9486c66d2bb6ac0d30d9a42decdbb4b03b13e811769b1e1505a1748ff20c22d35724985e6c128cd11a3f14f8322201520093
"@octokit/openapi-types@npm:^18.0.0":
version: 18.0.0
resolution: "@octokit/openapi-types@npm:18.0.0"
checksum: d487d6c6c1965e583eee417d567e4fe3357a98953fc49bce1a88487e7908e9b5dbb3e98f60dfa340e23b1792725fbc006295aea071c5667a813b9c098185b56f
languageName: node
linkType: hard

"@octokit/plugin-rest-endpoint-methods@npm:^7.0.0":
version: 7.1.2
resolution: "@octokit/plugin-rest-endpoint-methods@npm:7.1.2"
"@octokit/plugin-rest-endpoint-methods@npm:^9.0.0":
version: 9.0.0
resolution: "@octokit/plugin-rest-endpoint-methods@npm:9.0.0"
dependencies:
"@octokit/types": ^9.2.3
deprecation: ^2.3.1
"@octokit/types": ^11.0.0
peerDependencies:
"@octokit/core": ">=3"
checksum: 159d29bf28d7aecbe39f08c25cf376d39b6c90ce17e50a55eafb44f3e4b9e1053a300c1edd72f308ae386146a17cbad46c410c1cfd000b048adf9c21d6922a1a
"@octokit/core": ">=5"
checksum: 8795cb29be042c839098886a03c2ec6051e3fd7a29f16f4f8a487aa2d85ceb00df8a4432499a43af550369bd730ce9b1b9d7eeff768745b80a3e67698ca9a5dd
languageName: node
linkType: hard

"@octokit/request-error@npm:^3.0.0":
version: 3.0.3
resolution: "@octokit/request-error@npm:3.0.3"
"@octokit/request-error@npm:^5.0.0":
version: 5.0.0
resolution: "@octokit/request-error@npm:5.0.0"
dependencies:
"@octokit/types": ^9.0.0
"@octokit/types": ^11.0.0
deprecation: ^2.0.0
once: ^1.4.0
checksum: 5db0b514732686b627e6ed9ef1ccdbc10501f1b271a9b31f784783f01beee70083d7edcfeb35fbd7e569fa31fdd6762b1ff6b46101700d2d97e7e48e749520d0
checksum: 2012eca66f6b8fa4038b3bfe81d65a7134ec58e2caf45d229aca13b9653ab260abd95229bd1a8c11180ee0bcf738e2556831a85de28f39b175175653c3b79fdd
languageName: node
linkType: hard

"@octokit/request@npm:^6.0.0":
version: 6.2.3
resolution: "@octokit/request@npm:6.2.3"
"@octokit/request@npm:^8.0.1, @octokit/request@npm:^8.0.2":
version: 8.1.1
resolution: "@octokit/request@npm:8.1.1"
dependencies:
"@octokit/endpoint": ^7.0.0
"@octokit/request-error": ^3.0.0
"@octokit/types": ^9.0.0
"@octokit/endpoint": ^9.0.0
"@octokit/request-error": ^5.0.0
"@octokit/types": ^11.1.0
is-plain-object: ^5.0.0
node-fetch: ^2.6.7
universal-user-agent: ^6.0.0
checksum: fef4097be8375d20bb0b3276d8a3adf866ec628f2b0664d334f3c29b92157da847899497abdc7a5be540053819b55564990543175ad48f04e9e6f25f0395d4d3
checksum: dec3ba2cba14739159cd8d1653ad8ac6d58095e4ac294d312d20ce2c63c60c3cad2e5499137244dba3d681fd5cd7f74b4b5d4df024a19c0ee1831204e5a3a894
languageName: node
linkType: hard

"@octokit/types@npm:^9.0.0, @octokit/types@npm:^9.2.3":
version: 9.2.3
resolution: "@octokit/types@npm:9.2.3"
"@octokit/types@npm:^11.0.0, @octokit/types@npm:^11.1.0":
version: 11.1.0
resolution: "@octokit/types@npm:11.1.0"
dependencies:
"@octokit/openapi-types": ^17.2.0
checksum: 6806413089f20a8302237ef85aa2e83bace7499e95fdc3db2d304f9e6dc6e87fb6766452f92e08ddf475046b69753e11beabaeff6733c38bdaf3e21dfd7d3341
"@octokit/openapi-types": ^18.0.0
checksum: 72627a94ddaf7bc14db06572bcde67649aad608cd86548818380db9305f4c0ca9ca078a62dd883858a267e8ec8fd596a0fce416aa04197c439b9548efef609a7
languageName: node
linkType: hard

Expand Down Expand Up @@ -3441,9 +3437,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@rnx-kit/build@workspace:incubator/build"
dependencies:
"@octokit/core": ^4.0.0
"@octokit/plugin-rest-endpoint-methods": ^7.0.0
"@octokit/request-error": ^3.0.0
"@octokit/core": ^5.0.0
"@octokit/plugin-rest-endpoint-methods": ^9.0.0
"@octokit/request-error": ^5.0.0
"@rnx-kit/config": ^0.6.0
"@rnx-kit/scripts": "*"
"@types/qrcode": ^1.4.2
Expand Down Expand Up @@ -6458,7 +6454,7 @@ __metadata:
languageName: node
linkType: hard

"deprecation@npm:^2.0.0, deprecation@npm:^2.3.1":
"deprecation@npm:^2.0.0":
version: 2.3.1
resolution: "deprecation@npm:2.3.1"
checksum: f56a05e182c2c195071385455956b0c4106fe14e36245b00c689ceef8e8ab639235176a96977ba7c74afb173317fac2e0ec6ec7a1c6d1e6eaa401c586c714132
Expand Down Expand Up @@ -10644,7 +10640,7 @@ __metadata:
languageName: node
linkType: hard

"node-fetch@npm:^2.2.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.7":
"node-fetch@npm:^2.2.0, node-fetch@npm:^2.6.0":
version: 2.6.7
resolution: "node-fetch@npm:2.6.7"
dependencies:
Expand Down

0 comments on commit 6ae007b

Please sign in to comment.