Skip to content
Snippets Groups Projects
Commit 1ab08871 authored by Alexander Rose's avatar Alexander Rose
Browse files

package updates

parent 0cb2e585
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
...@@ -94,38 +94,38 @@ ...@@ -94,38 +94,38 @@
"@graphql-codegen/add": "^3.1.1", "@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/cli": "^2.6.2", "@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/time": "^3.1.1", "@graphql-codegen/time": "^3.1.1",
"@graphql-codegen/typescript": "^2.4.5", "@graphql-codegen/typescript": "^2.4.7",
"@graphql-codegen/typescript-graphql-files-modules": "^2.1.1", "@graphql-codegen/typescript-graphql-files-modules": "^2.1.1",
"@graphql-codegen/typescript-graphql-request": "^4.3.7", "@graphql-codegen/typescript-graphql-request": "^4.4.2",
"@graphql-codegen/typescript-operations": "^2.3.2", "@graphql-codegen/typescript-operations": "^2.3.4",
"@types/cors": "^2.8.12", "@types/cors": "^2.8.12",
"@types/gl": "^4.1.0", "@types/gl": "^4.1.0",
"@types/jest": "^27.4.1", "@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.12.1", "@typescript-eslint/parser": "^5.14.0",
"benchmark": "^2.1.4", "benchmark": "^2.1.4",
"concurrently": "^7.0.0", "concurrently": "^7.0.0",
"cpx2": "^4.2.0", "cpx2": "^4.2.0",
"crypto-browserify": "^3.12.0", "crypto-browserify": "^3.12.0",
"css-loader": "^6.6.0", "css-loader": "^6.7.1",
"eslint": "^8.10.0", "eslint": "^8.11.0",
"extra-watch-webpack-plugin": "^1.0.3", "extra-watch-webpack-plugin": "^1.0.3",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"fs-extra": "^10.0.1", "fs-extra": "^10.0.1",
"graphql": "^16.3.0", "graphql": "^16.3.0",
"http-server": "^14.1.0", "http-server": "^14.1.0",
"jest": "^27.5.1", "jest": "^27.5.1",
"mini-css-extract-plugin": "^2.5.3", "mini-css-extract-plugin": "^2.6.0",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"sass": "^1.49.9", "sass": "^1.49.9",
"sass-loader": "^12.6.0", "sass-loader": "^12.6.0",
"simple-git": "^3.2.6", "simple-git": "^3.3.0",
"stream-browserify": "^3.0.0", "stream-browserify": "^3.0.0",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",
"ts-jest": "^27.1.3", "ts-jest": "^27.1.3",
"typescript": "^4.5.5", "typescript": "^4.6.2",
"webpack": "^5.69.1", "webpack": "^5.70.0",
"webpack-cli": "^4.9.2" "webpack-cli": "^4.9.2"
}, },
"dependencies": { "dependencies": {
...@@ -135,8 +135,8 @@ ...@@ -135,8 +135,8 @@
"@types/express": "^4.17.13", "@types/express": "^4.17.13",
"@types/node": "^16.11.26", "@types/node": "^16.11.26",
"@types/node-fetch": "^2.6.1", "@types/node-fetch": "^2.6.1",
"@types/react": "^17.0.39", "@types/react": "^17.0.40",
"@types/react-dom": "^17.0.11", "@types/react-dom": "^17.0.13",
"@types/swagger-ui-dist": "3.30.1", "@types/swagger-ui-dist": "3.30.1",
"argparse": "^2.0.1", "argparse": "^2.0.1",
"body-parser": "^1.19.2", "body-parser": "^1.19.2",
...@@ -147,8 +147,8 @@ ...@@ -147,8 +147,8 @@
"immer": "^9.0.12", "immer": "^9.0.12",
"immutable": "^4.0.0", "immutable": "^4.0.0",
"node-fetch": "^2.6.7", "node-fetch": "^2.6.7",
"rxjs": "^7.5.4", "rxjs": "^7.5.5",
"swagger-ui-dist": "^4.5.2", "swagger-ui-dist": "^4.6.2",
"tslib": "^2.3.1", "tslib": "^2.3.1",
"util.promisify": "^1.1.1", "util.promisify": "^1.1.1",
"xhr2": "^0.2.1" "xhr2": "^0.2.1"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
declare const WorkerGlobalScope: any; declare const WorkerGlobalScope: any;
function createImmediateActions() { function createImmediateActions() {
const global: any = (function () { const thisGlobal: any = (function () {
const _window = typeof window !== 'undefined' && window; const _window = typeof window !== 'undefined' && window;
const _self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self; const _self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self;
const _global = typeof global !== 'undefined' && global; const _global = typeof global !== 'undefined' && global;
...@@ -79,14 +79,14 @@ function createImmediateActions() { ...@@ -79,14 +79,14 @@ function createImmediateActions() {
} }
function canUsePostMessage() { function canUsePostMessage() {
if (global && global.postMessage && !global.importScripts) { if (thisGlobal && thisGlobal.postMessage && !thisGlobal.importScripts) {
let postMessageIsAsynchronous = true; let postMessageIsAsynchronous = true;
const oldOnMessage = global.onmessage; const oldOnMessage = thisGlobal.onmessage;
global.onmessage = function () { thisGlobal.onmessage = function () {
postMessageIsAsynchronous = false; postMessageIsAsynchronous = false;
}; };
global.postMessage('', '*'); thisGlobal.postMessage('', '*');
global.onmessage = oldOnMessage; thisGlobal.onmessage = oldOnMessage;
return postMessageIsAsynchronous; return postMessageIsAsynchronous;
} }
} }
...@@ -98,7 +98,7 @@ function createImmediateActions() { ...@@ -98,7 +98,7 @@ function createImmediateActions() {
const messagePrefix = 'setImmediate$' + Math.random() + '$'; const messagePrefix = 'setImmediate$' + Math.random() + '$';
const onGlobalMessage = function (event: any) { const onGlobalMessage = function (event: any) {
if (event.source === global && if (event.source === thisGlobal &&
typeof event.data === 'string' && typeof event.data === 'string' &&
event.data.indexOf(messagePrefix) === 0) { event.data.indexOf(messagePrefix) === 0) {
runIfPresent(+event.data.slice(messagePrefix.length)); runIfPresent(+event.data.slice(messagePrefix.length));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment