mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Merge window-shim fix
This commit is contained in:
commit
98d2cf90c7
@ -1,6 +1,6 @@
|
||||
{
|
||||
"tagVersionPrefix": "lib@",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.28",
|
||||
"includeMergedTags": true,
|
||||
"packages": [
|
||||
"packages/*",
|
||||
|
2
packages/insomnia-app/package-lock.json
generated
2
packages/insomnia-app/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "insomnia-app",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.27",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.27",
|
||||
"name": "insomnia-app",
|
||||
"homepage": "https://konghq.com",
|
||||
"description": "The Collaborative API Design Tool",
|
||||
|
@ -46,5 +46,6 @@ module.exports = {
|
||||
plugins: [
|
||||
// Set the APP_ID environment variable because it's required to access the app config
|
||||
new webpack.DefinePlugin({ 'process.env.APP_ID': JSON.stringify('com.insomnia.designer') }),
|
||||
new webpack.ProvidePlugin({ window: path.resolve(path.join(__dirname, './window-shim')) }),
|
||||
],
|
||||
};
|
||||
|
6
packages/insomnia-app/send-request/window-shim/index.js
Normal file
6
packages/insomnia-app/send-request/window-shim/index.js
Normal file
@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
localStorage: {
|
||||
getItem: () => undefined,
|
||||
setItem: () => {},
|
||||
},
|
||||
};
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "window-shim",
|
||||
"main": "index.js"
|
||||
}
|
2
packages/insomnia-inso/package-lock.json
generated
2
packages/insomnia-inso/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "insomnia-inso",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.28",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "insomnia-inso",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.28",
|
||||
"homepage": "https://insomnia.rest",
|
||||
"description": "A CLI for Insomnia Designer - the collaborative API design tool.",
|
||||
"author": "Kong <office@konghq.com>",
|
||||
@ -80,7 +80,7 @@
|
||||
"insomnia-plugin-request": "^2.2.24",
|
||||
"insomnia-plugin-response": "^2.2.25",
|
||||
"insomnia-plugin-uuid": "^2.2.24",
|
||||
"insomnia-send-request": "^2.2.26",
|
||||
"insomnia-send-request": "^2.2.28",
|
||||
"insomnia-testing": "^2.2.26",
|
||||
"lodash.flattendeep": "^4.4.0",
|
||||
"mkdirp": "^1.0.4",
|
||||
|
2
packages/insomnia-send-request/package-lock.json
generated
2
packages/insomnia-send-request/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "insomnia-send-request",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.28",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "insomnia-send-request",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.28",
|
||||
"main": "dist/index.js",
|
||||
"dependencies": {
|
||||
"@stoplight/spectral": "^5.4.0",
|
||||
@ -27,7 +27,7 @@
|
||||
"multiparty": "^4.2.1",
|
||||
"nedb": "^1.8.0",
|
||||
"node-forge": "^0.9.1",
|
||||
"node-libcurl": "^2.2.0",
|
||||
"node-libcurl": "2.2.0",
|
||||
"nunjucks": "^3.2.1",
|
||||
"oauth-1.0a": "^2.2.6",
|
||||
"openapi-2-kong": "^2.2.26",
|
||||
|
2
packages/insomnia-smoke-test/package-lock.json
generated
2
packages/insomnia-smoke-test/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "insomnia-smoke-test",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.27",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "insomnia-smoke-test",
|
||||
"version": "2.2.26",
|
||||
"version": "2.2.27",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"spectron:core:build": "cross-env BUNDLE=build xvfb-maybe jest --detectOpenHandles --testPathPattern core",
|
||||
|
Loading…
Reference in New Issue
Block a user