mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Upgrade Electron and React
This commit is contained in:
parent
413818cee1
commit
a51fe44f74
@ -26,6 +26,7 @@ import {isDevelopment} from '../common/constants';
|
||||
const context = DragDropContext(DNDBackend);
|
||||
const DndComponent = context(App);
|
||||
const render = Component => {
|
||||
console.time('Render');
|
||||
ReactDOM.render(
|
||||
<AppContainer>
|
||||
<Provider store={store}>
|
||||
@ -34,6 +35,7 @@ import {isDevelopment} from '../common/constants';
|
||||
</AppContainer>,
|
||||
document.getElementById('root')
|
||||
);
|
||||
console.timeEnd('Render');
|
||||
};
|
||||
|
||||
render(DndComponent);
|
||||
|
122
package-lock.json
generated
122
package-lock.json
generated
@ -5,9 +5,9 @@
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"@types/node": {
|
||||
"version": "7.0.41",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.41.tgz",
|
||||
"integrity": "sha512-m0kvfhUKxOig8kono87g4iRrhdI4cJL+q7VansizNvbOQXZ3wMc+IcpKtzGPTNd/UA3TgqgNXOXoetlRvzQrrw==",
|
||||
"version": "7.0.43",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.43.tgz",
|
||||
"integrity": "sha512-7scYwwfHNppXvH/9JzakbVxk0o0QUILVk1Lv64GRaxwPuGpnF1QBiwdvhDpLcymb8BpomQL3KYoWKq3wUdDMhQ==",
|
||||
"dev": true
|
||||
},
|
||||
"7zip": {
|
||||
@ -2422,9 +2422,9 @@
|
||||
}
|
||||
},
|
||||
"create-react-class": {
|
||||
"version": "15.6.0",
|
||||
"resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.0.tgz",
|
||||
"integrity": "sha1-q0SEl8JlZuHilBPogyB9V8/nvtQ=",
|
||||
"version": "15.6.2",
|
||||
"resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.2.tgz",
|
||||
"integrity": "sha1-zx7RXxKq1/FO9fLf4F5sQvke8Co=",
|
||||
"requires": {
|
||||
"fbjs": "0.8.12",
|
||||
"loose-envify": "1.3.1",
|
||||
@ -3007,12 +3007,12 @@
|
||||
"dev": true
|
||||
},
|
||||
"electron": {
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/electron/-/electron-1.7.5.tgz",
|
||||
"integrity": "sha1-BloxAr+LhxAt9QxQmF/v5sVpBFs=",
|
||||
"version": "1.7.8",
|
||||
"resolved": "https://registry.npmjs.org/electron/-/electron-1.7.8.tgz",
|
||||
"integrity": "sha1-J7eRpolRcafVKZG5lELNvRCjU50=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/node": "7.0.41",
|
||||
"@types/node": "7.0.43",
|
||||
"electron-download": "3.3.0",
|
||||
"extract-zip": "1.6.5"
|
||||
}
|
||||
@ -10282,15 +10282,40 @@
|
||||
}
|
||||
},
|
||||
"react": {
|
||||
"version": "15.6.1",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-15.6.1.tgz",
|
||||
"integrity": "sha1-uqhDTsZ4C96ZfNw4C3nNM7ljk98=",
|
||||
"version": "16.0.0",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-16.0.0.tgz",
|
||||
"integrity": "sha1-zn348ZQbA28Cssyp29DLHw6FXi0=",
|
||||
"requires": {
|
||||
"create-react-class": "15.6.0",
|
||||
"fbjs": "0.8.12",
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"prop-types": "15.5.10"
|
||||
"prop-types": "15.6.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"fbjs": {
|
||||
"version": "0.8.16",
|
||||
"resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz",
|
||||
"integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=",
|
||||
"requires": {
|
||||
"core-js": "1.2.7",
|
||||
"isomorphic-fetch": "2.2.1",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"promise": "7.1.1",
|
||||
"setimmediate": "1.0.5",
|
||||
"ua-parser-js": "0.7.12"
|
||||
}
|
||||
},
|
||||
"prop-types": {
|
||||
"version": "15.6.0",
|
||||
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz",
|
||||
"integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=",
|
||||
"requires": {
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"react-deep-force-update": {
|
||||
@ -10321,14 +10346,40 @@
|
||||
}
|
||||
},
|
||||
"react-dom": {
|
||||
"version": "15.6.1",
|
||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.6.1.tgz",
|
||||
"integrity": "sha1-LLDtQZEDjlPCCes6eaI+Kkz5lHA=",
|
||||
"version": "16.0.0",
|
||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.0.0.tgz",
|
||||
"integrity": "sha1-nMMHnD3NcNTG4BuEqrKn40wwP1g=",
|
||||
"requires": {
|
||||
"fbjs": "0.8.12",
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"prop-types": "15.5.10"
|
||||
"prop-types": "15.6.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"fbjs": {
|
||||
"version": "0.8.16",
|
||||
"resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz",
|
||||
"integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=",
|
||||
"requires": {
|
||||
"core-js": "1.2.7",
|
||||
"isomorphic-fetch": "2.2.1",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"promise": "7.1.1",
|
||||
"setimmediate": "1.0.5",
|
||||
"ua-parser-js": "0.7.12"
|
||||
}
|
||||
},
|
||||
"prop-types": {
|
||||
"version": "15.6.0",
|
||||
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz",
|
||||
"integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=",
|
||||
"requires": {
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"react-hot-loader": {
|
||||
@ -11283,8 +11334,33 @@
|
||||
"integrity": "sha1-QtlNWMyxxSJ84snpISuWiE2fItQ=",
|
||||
"requires": {
|
||||
"pdfjs-dist": "1.8.618",
|
||||
"react": "15.6.1",
|
||||
"react-dom": "15.6.1"
|
||||
"react": "15.6.2",
|
||||
"react-dom": "15.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": {
|
||||
"version": "15.6.2",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz",
|
||||
"integrity": "sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI=",
|
||||
"requires": {
|
||||
"create-react-class": "15.6.2",
|
||||
"fbjs": "0.8.12",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"prop-types": "15.5.10"
|
||||
}
|
||||
},
|
||||
"react-dom": {
|
||||
"version": "15.6.2",
|
||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.6.2.tgz",
|
||||
"integrity": "sha1-Qc+t9pO3V/rycIRDodH9WgK+9zA=",
|
||||
"requires": {
|
||||
"fbjs": "0.8.12",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"prop-types": "15.5.10"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"single-line-log": {
|
||||
|
@ -143,10 +143,10 @@
|
||||
"node-forge": "^0.7.0",
|
||||
"nunjucks": "^3.0.0",
|
||||
"prop-types": "^15.5.10",
|
||||
"react": "^15.6.1",
|
||||
"react": "^16.0.0",
|
||||
"react-dnd": "^2.4.0",
|
||||
"react-dnd-html5-backend": "^2.4.1",
|
||||
"react-dom": "^15.6.1",
|
||||
"react-dom": "^16.0.0",
|
||||
"react-redux": "^5.0.6",
|
||||
"react-tabs": "^1.1.0",
|
||||
"redux": "^3.7.2",
|
||||
@ -180,7 +180,7 @@
|
||||
"concurrently": "^2.0.0",
|
||||
"cross-env": "^2.0.0",
|
||||
"css-loader": "^0.26.2",
|
||||
"electron": "^1.7.5",
|
||||
"electron": "^1.7.8",
|
||||
"electron-builder": "^10.17.3",
|
||||
"electron-rebuild": "^1.6.0",
|
||||
"eslint": "^3.16.1",
|
||||
|
Loading…
Reference in New Issue
Block a user