Merge window-shim fix

This commit is contained in:
Opender Singh 2020-12-08 11:32:18 +13:00
commit 98d2cf90c7
12 changed files with 22 additions and 11 deletions

View File

@ -1,6 +1,6 @@
{
"tagVersionPrefix": "lib@",
"version": "2.2.26",
"version": "2.2.28",
"includeMergedTags": true,
"packages": [
"packages/*",

View File

@ -1,6 +1,6 @@
{
"name": "insomnia-app",
"version": "2.2.26",
"version": "2.2.27",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",

View File

@ -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')) }),
],
};

View File

@ -0,0 +1,6 @@
module.exports = {
localStorage: {
getItem: () => undefined,
setItem: () => {},
},
};

View File

@ -0,0 +1,4 @@
{
"name": "window-shim",
"main": "index.js"
}

View File

@ -1,6 +1,6 @@
{
"name": "insomnia-inso",
"version": "2.2.26",
"version": "2.2.28",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",

View File

@ -1,6 +1,6 @@
{
"name": "insomnia-send-request",
"version": "2.2.26",
"version": "2.2.28",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",

View File

@ -1,6 +1,6 @@
{
"name": "insomnia-smoke-test",
"version": "2.2.26",
"version": "2.2.27",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",