From 5cf2151859c1572f0bdb545b813f8505028bd5b3 Mon Sep 17 00:00:00 2001 From: ernscht Date: Tue, 11 May 2021 14:10:28 +0200 Subject: [PATCH] chore: update dev deps and examples --- examples/find-components/package.json | 4 +- examples/five-star/package.json | 4 +- .../get-component-by-dom-node/package.json | 4 +- examples/gondel-react/package.json | 2 +- examples/hello-world/package.json | 4 +- examples/lazy-load/package.json | 4 +- examples/plugin-data/package.json | 2 +- examples/plugin-media-query/package.json | 4 +- examples/plugin-resize/package.json | 4 +- examples/react-gondel/package.json | 4 +- examples/trigger-public-event/package.json | 4 +- examples/typescript/package.json | 2 +- package-lock.json | 266 +++++++++--------- package.json | 8 +- packages/core/src/GondelComponentStarter.ts | 4 +- packages/plugins/react/src/AppWrapper.tsx | 22 +- .../react/src/GondelReactComponent.tsx | 3 +- 17 files changed, 173 insertions(+), 172 deletions(-) diff --git a/examples/find-components/package.json b/examples/find-components/package.json index bdf9cc7..ca1840a 100644 --- a/examples/find-components/package.json +++ b/examples/find-components/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@gondel/core": "^1.2.7", - "core-js": "3.12.0" + "core-js": "3.12.1" }, "devDependencies": { "@babel/core": "7.14.0", @@ -16,7 +16,7 @@ "html-webpack-plugin": "4.5.2", "js-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/five-star/package.json b/examples/five-star/package.json index 0ffa0a7..313cd94 100644 --- a/examples/five-star/package.json +++ b/examples/five-star/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@gondel/core": "^1.2.7", - "core-js": "3.12.0" + "core-js": "3.12.1" }, "devDependencies": { "@babel/core": "7.14.0", @@ -17,7 +17,7 @@ "js-config-webpack-plugin": "2.0.2", "scss-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/get-component-by-dom-node/package.json b/examples/get-component-by-dom-node/package.json index 56cf5df..7fe5717 100644 --- a/examples/get-component-by-dom-node/package.json +++ b/examples/get-component-by-dom-node/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@gondel/core": "^1.2.7", - "core-js": "3.12.0" + "core-js": "3.12.1" }, "devDependencies": { "@babel/core": "7.14.0", @@ -16,7 +16,7 @@ "html-webpack-plugin": "4.5.2", "js-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/gondel-react/package.json b/examples/gondel-react/package.json index 524eb37..4fee966 100644 --- a/examples/gondel-react/package.json +++ b/examples/gondel-react/package.json @@ -19,7 +19,7 @@ "ts-config-webpack-plugin": "2.0.2", "typescript": "4.2.4", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 28b0927..023b607 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@gondel/core": "^1.2.7", - "core-js": "3.12.0" + "core-js": "3.12.1" }, "devDependencies": { "@babel/core": "7.14.0", @@ -16,7 +16,7 @@ "html-webpack-plugin": "4.5.2", "js-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/lazy-load/package.json b/examples/lazy-load/package.json index c05ec1e..78a543c 100755 --- a/examples/lazy-load/package.json +++ b/examples/lazy-load/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@gondel/core": "^1.2.7", - "core-js": "3.12.0", + "core-js": "3.12.1", "funnies": "2.1.0" }, "devDependencies": { @@ -17,7 +17,7 @@ "html-webpack-plugin": "4.5.2", "js-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/plugin-data/package.json b/examples/plugin-data/package.json index a7e6fd1..ca01515 100644 --- a/examples/plugin-data/package.json +++ b/examples/plugin-data/package.json @@ -14,7 +14,7 @@ "html-webpack-plugin": "4.5.2", "ts-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/plugin-media-query/package.json b/examples/plugin-media-query/package.json index fc2ae1b..b66187a 100755 --- a/examples/plugin-media-query/package.json +++ b/examples/plugin-media-query/package.json @@ -8,7 +8,7 @@ "dependencies": { "@gondel/core": "^1.2.7", "@gondel/plugin-media-queries": "^1.2.7", - "core-js": "3.12.0" + "core-js": "3.12.1" }, "devDependencies": { "@babel/core": "7.14.0", @@ -17,7 +17,7 @@ "html-webpack-plugin": "4.5.2", "js-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/plugin-resize/package.json b/examples/plugin-resize/package.json index 6c13047..2545963 100644 --- a/examples/plugin-resize/package.json +++ b/examples/plugin-resize/package.json @@ -8,7 +8,7 @@ "dependencies": { "@gondel/core": "^1.2.7", "@gondel/plugin-resize": "^1.2.7", - "core-js": "3.12.0" + "core-js": "3.12.1" }, "devDependencies": { "@babel/core": "7.14.0", @@ -18,7 +18,7 @@ "html-webpack-plugin": "4.5.2", "js-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/react-gondel/package.json b/examples/react-gondel/package.json index 0757cd1..d25c4e5 100644 --- a/examples/react-gondel/package.json +++ b/examples/react-gondel/package.json @@ -10,7 +10,7 @@ "@gondel/plugin-hot": "^1.2.7", "@gondel/plugin-react": "^1.2.7", "@types/react": "17.0.5", - "@types/react-dom": "17.0.3", + "@types/react-dom": "17.0.4", "react": "17.0.2", "react-dom": "17.0.2" }, @@ -20,7 +20,7 @@ "common-config-webpack-plugin": "2.0.2", "html-webpack-plugin": "4.5.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/trigger-public-event/package.json b/examples/trigger-public-event/package.json index 8b3671f..9007ab3 100644 --- a/examples/trigger-public-event/package.json +++ b/examples/trigger-public-event/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@gondel/core": "^1.2.7", - "core-js": "3.12.0" + "core-js": "3.12.1" }, "devDependencies": { "@babel/core": "7.14.0", @@ -16,7 +16,7 @@ "html-webpack-plugin": "4.5.2", "js-config-webpack-plugin": "2.0.2", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/examples/typescript/package.json b/examples/typescript/package.json index d0b75bd..fcf9adb 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -14,7 +14,7 @@ "ts-config-webpack-plugin": "2.0.2", "typescript": "4.2.4", "webpack": "4.46.0", - "webpack-cli": "4.6.0", + "webpack-cli": "4.7.0", "webpack-dev-server": "3.11.2" } } diff --git a/package-lock.json b/package-lock.json index d7cfcee..5cf2f27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1470,9 +1470,9 @@ "dev": true }, "@npmcli/git": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.0.8.tgz", - "integrity": "sha512-LPnzyBZ+1p7+JzHVwwKycMF8M3lr1ze3wxGRnxn/QxJtk++Y3prSJQrdBDGCxJyRpFsup6J3lrRBVYBhJVrM8Q==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.0.9.tgz", + "integrity": "sha512-hTMbMryvOqGLwnmMBKs5usbPsJtyEsMsgXwJbmNrsEuQQh1LAIMDU77IoOrwkCg+NgQWl+ySlarJASwM3SutCA==", "dev": true, "requires": { "@npmcli/promise-spawn": "^1.3.2", @@ -3059,9 +3059,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001223", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001223.tgz", - "integrity": "sha512-k/RYs6zc/fjbxTjaWZemeSmOjO0JJV+KguOBA3NwPup8uzxM1cMhR2BD9XmO86GuqaqTCO8CgkgH9Rz//vdDiA==", + "version": "1.0.30001228", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz", + "integrity": "sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==", "dev": true }, "caseless": { @@ -3484,16 +3484,16 @@ "dev": true }, "commitizen": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.2.3.tgz", - "integrity": "sha512-pYlYEng7XMV2TW4xtjDKBGqeJ0Teq2zyRSx2S3Ml1XAplHSlJZK8vm1KdGclpMEZuGafbS5TeHXIVnHk8RWIzQ==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.2.4.tgz", + "integrity": "sha512-LlZChbDzg3Ir3O2S7jSo/cgWp5/QwylQVr59K4xayVq8S4/RdKzSyJkghAiZZHfhh5t4pxunUoyeg0ml1q/7aw==", "dev": true, "requires": { "cachedir": "2.2.0", "cz-conventional-changelog": "3.2.0", "dedent": "0.7.0", "detect-indent": "6.0.0", - "find-node-modules": "2.0.0", + "find-node-modules": "^2.1.2", "find-root": "1.1.0", "fs-extra": "8.1.0", "glob": "7.1.4", @@ -5908,13 +5908,13 @@ } }, "find-node-modules": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.0.0.tgz", - "integrity": "sha512-8MWIBRgJi/WpjjfVXumjPKCtmQ10B+fjx6zmSA+770GMJirLhWIzg8l763rhjl9xaeaHbnxPNRQKq2mgMhr+aw==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.1.2.tgz", + "integrity": "sha512-x+3P4mbtRPlSiVE1Qco0Z4YLU8WFiFcuWTf3m75OV9Uzcfs2Bg+O9N+r/K0AnmINBW06KpfqKwYJbFlFq4qNug==", "dev": true, "requires": { - "findup-sync": "^3.0.0", - "merge": "^1.2.1" + "findup-sync": "^4.0.0", + "merge": "^2.1.0" } }, "find-root": { @@ -5943,15 +5943,60 @@ } }, "findup-sync": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz", - "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-4.0.0.tgz", + "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", "dev": true, "requires": { "detect-file": "^1.0.0", "is-glob": "^4.0.0", - "micromatch": "^3.0.4", + "micromatch": "^4.0.2", "resolve-dir": "^1.0.1" + }, + "dependencies": { + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + } } }, "flush-write-stream": { @@ -6603,9 +6648,9 @@ } }, "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -7084,9 +7129,9 @@ "dev": true }, "ignore-walk": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", - "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", + "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", "dev": true, "requires": { "minimatch": "^3.0.4" @@ -7396,12 +7441,12 @@ } }, "is-boolean-object": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", - "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz", + "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==", "dev": true, "requires": { - "call-bind": "^1.0.0" + "call-bind": "^1.0.2" } }, "is-buffer": { @@ -7440,9 +7485,9 @@ } }, "is-core-module": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.3.0.tgz", - "integrity": "sha512-xSphU2KG9867tsYdLD4RWQ1VqdFl4HTO9Thf3I/3dLEfr0dbPTWKsuCKrgqMljg4nPE+Gq0VCnzT3gr0CyBmsw==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", + "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", "dev": true, "requires": { "has": "^1.0.3" @@ -7469,9 +7514,9 @@ } }, "is-date-object": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.3.tgz", - "integrity": "sha512-tDpEUInNcy2Yw3lNSepK3Wdw1RnXLcIVienz6Ou631Acl15cJyRWK4dgA1vCmOEgIbtOV0W7MHg+AR2Gdg1NXQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.4.tgz", + "integrity": "sha512-/b4ZVsG7Z5XVtIxs/h9W8nvfLgSAyKYdtGWQLbqy6jA1icmgjf8WCoTKgeS4wy5tYaPePouzFMANbnj94c2Z+A==", "dev": true }, "is-descriptor": { @@ -7604,9 +7649,9 @@ } }, "is-number-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", - "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz", + "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==", "dev": true }, "is-obj": { @@ -7637,13 +7682,13 @@ } }, "is-regex": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", - "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", + "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", "dev": true, "requires": { "call-bind": "^1.0.2", - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.2" } }, "is-regexp": { @@ -7674,18 +7719,18 @@ "dev": true }, "is-string": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", - "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz", + "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==", "dev": true }, "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", "dev": true, "requires": { - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.2" } }, "is-text-path": { @@ -8061,22 +8106,22 @@ "dev": true }, "lint-staged": { - "version": "10.5.4", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.4.tgz", - "integrity": "sha512-EechC3DdFic/TdOPgj/RB3FicqE6932LTHCUm0Y2fsD9KGlLB+RwJl2q1IYBIvEsKzDOgn0D4gll+YxG5RsrKg==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-11.0.0.tgz", + "integrity": "sha512-3rsRIoyaE8IphSUtO1RVTFl1e0SLBtxxUOPBtHxQgBHS5/i6nqvjcUfNioMa4BU9yGnPzbO+xkfLtXtxBpCzjw==", "dev": true, "requires": { - "chalk": "^4.1.0", + "chalk": "^4.1.1", "cli-truncate": "^2.1.0", - "commander": "^6.2.0", + "commander": "^7.2.0", "cosmiconfig": "^7.0.0", - "debug": "^4.2.0", + "debug": "^4.3.1", "dedent": "^0.7.0", "enquirer": "^2.3.6", - "execa": "^4.1.0", - "listr2": "^3.2.2", - "log-symbols": "^4.0.0", - "micromatch": "^4.0.2", + "execa": "^5.0.0", + "listr2": "^3.8.2", + "log-symbols": "^4.1.0", + "micromatch": "^4.0.4", "normalize-path": "^3.0.0", "please-upgrade-node": "^3.2.0", "string-argv": "0.3.1", @@ -8093,9 +8138,9 @@ } }, "commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "dev": true }, "debug": { @@ -8107,23 +8152,6 @@ "ms": "2.1.2" } }, - "execa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", - "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - } - }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -8133,21 +8161,6 @@ "to-regex-range": "^5.0.1" } }, - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "human-signals": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", - "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", - "dev": true - }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -8164,27 +8177,12 @@ "picomatch": "^2.2.3" } }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -8709,9 +8707,9 @@ } }, "merge": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz", - "integrity": "sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz", + "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", "dev": true }, "merge-stream": { @@ -9183,9 +9181,9 @@ "dev": true }, "nanoid": { - "version": "3.1.22", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.22.tgz", - "integrity": "sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ==", + "version": "3.1.23", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", + "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==", "dev": true }, "nanomatch": { @@ -9391,9 +9389,9 @@ } }, "npm-check-updates": { - "version": "11.5.10", - "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-11.5.10.tgz", - "integrity": "sha512-+nKrlBaDglNQWEV5+bx6ZMJAc6VA/aKbqtKs+fr6ewcedF2hfMxHMZe5b8mW9SUu+bjtt/SrPHxkoAiepZIFpA==", + "version": "11.5.11", + "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-11.5.11.tgz", + "integrity": "sha512-tVd7bH96aBr6FDeUMeQbXkzbSGAq7CP6jQmX/pp1pkfjOHhcYKFqXpe56sRJkjMuZ1zkBC8hetaT7gPu9q776w==", "dev": true, "requires": { "chalk": "^4.1.1", @@ -9521,9 +9519,9 @@ } }, "npm-packlist": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.0.tgz", - "integrity": "sha512-d3da2MEaYliq7h+PNOHqUhlQjRm0M6gNPi6yHsZYzsCj6bLqUTWCC+JMzW/u9Aaxu8i4F1AA0eJUPUSoFU5izA==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz", + "integrity": "sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==", "dev": true, "requires": { "glob": "^7.1.6", @@ -9847,9 +9845,9 @@ } }, "object-inspect": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.2.tgz", - "integrity": "sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA==", + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", + "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", "dev": true }, "object-keys": { @@ -10567,13 +10565,13 @@ "dev": true }, "postcss": { - "version": "8.2.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.14.tgz", - "integrity": "sha512-+jD0ZijcvyCqPQo/m/CW0UcARpdFylq04of+Q7RKX6f/Tu+dvpUI/9Sp81+i6/vJThnOBX09Quw0ZLOVwpzX3w==", + "version": "8.2.15", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.15.tgz", + "integrity": "sha512-2zO3b26eJD/8rb106Qu2o7Qgg52ND5HPjcyQiK2B98O388h43A448LCslC0dI2P97wCAQRJsFvwTRcXxTKds+Q==", "dev": true, "requires": { "colorette": "^1.2.2", - "nanoid": "^3.1.22", + "nanoid": "^3.1.23", "source-map": "^0.6.1" } }, @@ -13057,9 +13055,9 @@ "dev": true }, "prettier": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", - "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", + "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", "dev": true }, "process": { @@ -15247,9 +15245,9 @@ } }, "uglify-js": { - "version": "3.13.5", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.5.tgz", - "integrity": "sha512-xtB8yEqIkn7zmOyS2zUNBsYCBRhDkvlNxMMY2smuJ/qA8NCHeQvKCF3i9Z4k8FJH4+PJvZRtMrPynfZ75+CSZw==", + "version": "3.13.6", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.6.tgz", + "integrity": "sha512-rRprLwl8RVaS+Qvx3Wh5hPfPBn9++G6xkGlUupya0s5aDmNjI7z3lnRLB3u7sN4OmbB0pWgzhM9BEJyiWAwtAA==", "dev": true, "optional": true }, diff --git a/package.json b/package.json index 63ecd12..f8970f1 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ } ], "devDependencies": { - "commitizen": "4.2.3", + "commitizen": "4.2.4", "@commitlint/cli": "12.1.1", "@namics/commitlint-conventional-changelog": "1.2.1", "@namics/prettier-config": "2.0.0", @@ -68,10 +68,10 @@ "cz-conventional-changelog": "3.3.0", "husky": "4.3.8", "lerna": "4.0.0", - "lint-staged": "10.5.4", - "npm-check-updates": "11.5.10", + "lint-staged": "11.0.0", + "npm-check-updates": "11.5.11", "npm-run-all": "4.1.5", - "prettier": "2.2.1", + "prettier": "2.3.0", "rimraf": "3.0.2", "size-limit": "4.10.2", "standard-version": "9.3.0" diff --git a/packages/core/src/GondelComponentStarter.ts b/packages/core/src/GondelComponentStarter.ts index 3ac65b0..2b33b84 100644 --- a/packages/core/src/GondelComponentStarter.ts +++ b/packages/core/src/GondelComponentStarter.ts @@ -10,11 +10,11 @@ import { internalGondelAsyncRefAttribute, internalGondelRefAttribute } from './G import { triggerPublicEvent } from './GondelEventEmitter'; import { fireGondelPluginEvent } from './GondelPluginUtils'; const noop = () => {}; -const Deferred = (function () { +const Deferred = function () { this.promise = new Promise((resolve) => { this.resolve = resolve; }); -} as any) as { new (): { promise: Promise; resolve: () => void } }; +} as any as { new (): { promise: Promise; resolve: () => void } }; /** * Start all components of the gondel component registry diff --git a/packages/plugins/react/src/AppWrapper.tsx b/packages/plugins/react/src/AppWrapper.tsx index e082609..fc8da3d 100644 --- a/packages/plugins/react/src/AppWrapper.tsx +++ b/packages/plugins/react/src/AppWrapper.tsx @@ -12,16 +12,18 @@ export class AppWrapper extends Component, TConfig> { this.state = props.config; // Forward react life cycle hooks - ([ - 'componentWillMount', - 'componentDidMount', - 'componentWillReceiveProps', - 'shouldComponentUpdate', - 'componentWillUpdate', - 'componentDidUpdate', - 'componentWillUnmount', - 'componentDidCatch', - ] as const).forEach((reactHook) => { + ( + [ + 'componentWillMount', + 'componentDidMount', + 'componentWillReceiveProps', + 'shouldComponentUpdate', + 'componentWillUpdate', + 'componentDidUpdate', + 'componentWillUnmount', + 'componentDidCatch', + ] as const + ).forEach((reactHook) => { if (!(this.props as any)[reactHook]) { return; } diff --git a/packages/plugins/react/src/GondelReactComponent.tsx b/packages/plugins/react/src/GondelReactComponent.tsx index 5563448..063b6cd 100644 --- a/packages/plugins/react/src/GondelReactComponent.tsx +++ b/packages/plugins/react/src/GondelReactComponent.tsx @@ -88,7 +88,8 @@ export function createGondelReactLoader extends GondelBaseComponent - implements ComponentLifecycle { + implements ComponentLifecycle +{ static readonly AppPromiseMap = new WeakMap< Promise>, RenderableReactComponent