mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 14:19:58 +00:00
parent
6aa7cf1697
commit
c0e25d0490
@ -72,3 +72,15 @@ This is just a brief summary of Insomnia's current technical debt.
|
||||
- Bundling `libcurl` (native module) has caused many weeks of headaches trying to get builds working across Windows, Mac, and Linux. More expertise here is definitely needed.
|
||||
- All input fields that support features like templating or code completion are actually [CodeMirror](https://codemirror.net/6/) instances. This isn't really debt, but may affect things going forward.
|
||||
- Use of `libcurl` means Insomnia can't run in a web browser and can't support bidirectional socket communication.
|
||||
|
||||
## Electron upgrade
|
||||
|
||||
<https://releases.electronjs.org/>
|
||||
|
||||
bump the following node and electron versions
|
||||
|
||||
- `.npmrc`
|
||||
- `.nvmrc`
|
||||
- `packages/insomnia/package.json` electron and node-libcurl
|
||||
- `packages/insomnia-send-request/package.json` node-libcurl
|
||||
- `shell.nix`
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -38,7 +38,7 @@
|
||||
"typescript": "^4.5.5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.12 <20",
|
||||
"node": ">=18.15 <20",
|
||||
"npm": ">=8.19.0"
|
||||
}
|
||||
},
|
||||
|
@ -11,7 +11,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/kong/insomnia#readme",
|
||||
"engines": {
|
||||
"node": ">=18.12 <20",
|
||||
"node": ">=18.15 <20",
|
||||
"npm": ">=8.19.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
1372
packages/insomnia-send-request/package-lock.json
generated
1372
packages/insomnia-send-request/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/send-request/index.d.ts",
|
||||
"dependencies": {
|
||||
"@getinsomnia/node-libcurl": "2.3.5-9",
|
||||
"@getinsomnia/node-libcurl": "2.3.6-18",
|
||||
"@stoplight/spectral-core": "^1.12.2",
|
||||
"@stoplight/spectral-formats": "^1.2.0",
|
||||
"@stoplight/spectral-rulesets": "^1.9.0",
|
||||
|
@ -1,3 +1,3 @@
|
||||
runtime = electron
|
||||
target = 23.0.0
|
||||
target = 25.2.0
|
||||
disturl = https://electronjs.org/headers
|
||||
|
1933
packages/insomnia/package-lock.json
generated
1933
packages/insomnia/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -45,7 +45,7 @@
|
||||
"dependencies": {
|
||||
"@apideck/better-ajv-errors": "^0.2.6",
|
||||
"@apidevtools/swagger-parser": "10.1.0",
|
||||
"@getinsomnia/node-libcurl": "2.3.5-9",
|
||||
"@getinsomnia/node-libcurl": "2.3.6-18",
|
||||
"@grpc/grpc-js": "^1.8.0",
|
||||
"@grpc/proto-loader": "^0.7.4",
|
||||
"@jest/globals": "^28.1.0",
|
||||
@ -169,7 +169,7 @@
|
||||
"cross-env": "^7.0.3",
|
||||
"date-fns": "^2.28.0",
|
||||
"deep-equal": "^1.0.1",
|
||||
"electron": "23.3.9",
|
||||
"electron": "25.2.0",
|
||||
"electron-builder": "24.4.0",
|
||||
"electron-builder-squirrel-windows": "24.4.0",
|
||||
"electron-devtools-installer": "^3.2.0",
|
||||
|
@ -3,9 +3,9 @@ with import <nixpkgs> { };
|
||||
mkShell {
|
||||
nativeBuildInputs = [
|
||||
nodejs-18_x
|
||||
electron_23
|
||||
electron_25
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
LD_LIBRARY_PATH = "${stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
|
||||
ELECTRON_OVERRIDE_DIST_PATH = "${electron_23}/bin/";
|
||||
ELECTRON_OVERRIDE_DIST_PATH = "${electron_25}/bin/";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user