diff --git a/package.json b/package.json index ad15a0a7f..cbc8a6251 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,8 @@ }, "devDependencies": { "@babel/core": "^7.20.12", - "@polkadot/dev": "^0.67.181", - "@types/jest": "^29.2.5" + "@polkadot/dev": "^0.67.184", + "@types/jest": "^29.2.6" }, "resolutions": { "typescript": "^4.9.4" diff --git a/packages/phishing/LICENSE b/packages/phishing/LICENSE deleted file mode 100644 index 0d381b2e9..000000000 --- a/packages/phishing/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - -Copyright [yyyy] [name of copyright owner] - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/packages/phishing/package.json b/packages/phishing/package.json index 38a6141ef..197fe5593 100644 --- a/packages/phishing/package.json +++ b/packages/phishing/package.json @@ -20,7 +20,7 @@ "version": "0.18.14-66-x", "main": "index.js", "dependencies": { - "@babel/runtime": "^7.20.7", + "@babel/runtime": "^7.20.13", "@polkadot/util": "^10.2.6", "@polkadot/util-crypto": "^10.2.6", "@polkadot/x-fetch": "^10.2.6" diff --git a/yarn.lock b/yarn.lock index 5c25caef3..3cc9c5843 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1395,12 +1395,12 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.8.4": - version: 7.20.7 - resolution: "@babel/runtime@npm:7.20.7" +"@babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.8.4": + version: 7.20.13 + resolution: "@babel/runtime@npm:7.20.13" dependencies: regenerator-runtime: ^0.13.11 - checksum: 4629ce5c46f06cca9cfb9b7fc00d48003335a809888e2b91ec2069a2dcfbfef738480cff32ba81e0b7c290f8918e5c22ddcf2b710001464ee84ba62c7e32a3a3 + checksum: 09b7a97a05c80540db6c9e4ddf8c5d2ebb06cae5caf3a87e33c33f27f8c4d49d9c67a2d72f1570e796045288fad569f98a26ceba0c4f5fad2af84b6ad855c4fb languageName: node linkType: hard @@ -2001,9 +2001,9 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev@npm:^0.67.181": - version: 0.67.181 - resolution: "@polkadot/dev@npm:0.67.181" +"@polkadot/dev@npm:^0.67.184": + version: 0.67.184 + resolution: "@polkadot/dev@npm:0.67.184" dependencies: "@babel/cli": ^7.20.7 "@babel/core": ^7.20.12 @@ -2029,8 +2029,8 @@ __metadata: "@rollup/plugin-json": ^6.0.0 "@rollup/plugin-node-resolve": ^15.0.1 "@rushstack/eslint-patch": ^1.2.0 - "@typescript-eslint/eslint-plugin": ^5.48.1 - "@typescript-eslint/parser": ^5.48.1 + "@typescript-eslint/eslint-plugin": ^5.48.2 + "@typescript-eslint/parser": ^5.48.2 "@vue/component-compiler-utils": ^3.3.0 babel-jest: ^29.3.1 babel-plugin-module-extension-resolver: ^1.0.0 @@ -2043,19 +2043,16 @@ __metadata: eslint-import-resolver-node: ^0.3.7 eslint-plugin-deprecation: ^1.3.3 eslint-plugin-header: ^3.1.1 - eslint-plugin-import: ^2.27.4 + eslint-plugin-import: ^2.27.5 eslint-plugin-import-newlines: ^1.3.0 eslint-plugin-n: ^15.6.1 eslint-plugin-promise: ^6.1.1 - eslint-plugin-react: ^7.32.0 + eslint-plugin-react: ^7.32.1 eslint-plugin-react-hooks: ^4.6.0 - eslint-plugin-simple-import-sort: ^8.0.0 + eslint-plugin-simple-import-sort: ^9.0.0 eslint-plugin-sort-destructure-keys: ^1.4.0 - fs-extra: ^11.1.0 gh-pages: ^4.0.0 gh-release: ^7.0.1 - glob: ^8.1.0 - glob2base: ^0.0.12 jest: ^29.3.1 jest-cli: ^29.3.1 jest-config: ^29.3.1 @@ -2063,10 +2060,9 @@ __metadata: jest-haste-map: ^29.3.1 jest-resolve: ^29.3.1 madge: ^5.0.1 - minimatch: ^6.0.0 - mkdirp: ^1.0.4 + mkdirp: ^2.1.3 prettier: ^2.8.3 - rimraf: ^4.0.5 + rimraf: ^4.1.1 rollup: ^3.10.0 rollup-plugin-cleanup: ^3.2.1 typescript: ^4.9.4 @@ -2085,6 +2081,7 @@ __metadata: polkadot-dev-circular: scripts/polkadot-dev-circular.mjs polkadot-dev-clean-build: scripts/polkadot-dev-clean-build.mjs polkadot-dev-contrib: scripts/polkadot-dev-contrib.mjs + polkadot-dev-copy-dir: scripts/polkadot-dev-copy-dir.mjs polkadot-dev-copy-to: scripts/polkadot-dev-copy-to.mjs polkadot-dev-deno-map: scripts/polkadot-dev-deno-map.mjs polkadot-dev-run-lint: scripts/polkadot-dev-run-lint.mjs @@ -2101,7 +2098,7 @@ __metadata: polkadot-exec-swc: scripts/polkadot-exec-swc.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: abeed8f433127e65c3e1ee65760d24728b37b47e916fcef34d808e9534124d577185fcf6286711deab39e591b120e8bcceab73e9c1e9e9ade92f5ea72ceaebdc + checksum: bf58cda3accd1ea18c7d6e0851bc55c9208ad8ac20eb8985a5e15f39f5204e9a9daa7b2a7595b83659f53dd7b4e9c7de1605b8644db226a90b0fa7cd029cf806 languageName: node linkType: hard @@ -2120,7 +2117,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/phishing@workspace:packages/phishing" dependencies: - "@babel/runtime": ^7.20.7 + "@babel/runtime": ^7.20.13 "@polkadot/util": ^10.2.6 "@polkadot/util-crypto": ^10.2.6 "@polkadot/x-fetch": ^10.2.6 @@ -2711,13 +2708,13 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^29.2.5": - version: 29.2.5 - resolution: "@types/jest@npm:29.2.5" +"@types/jest@npm:^29.2.6": + version: 29.2.6 + resolution: "@types/jest@npm:29.2.6" dependencies: expect: ^29.0.0 pretty-format: ^29.0.0 - checksum: d668470f00ec4cb8b8457f1fd90f7358fad8f22d74b85006dad6be522d6b9bf10f49f597e88d1d1a518d211c1b65be32a1f27f0e49ce0658d110a9206b8ea310 + checksum: 90190ac830334af1470d255853f9621fe657e5030b4d96773fc1f884833cd303c76580b00c1b86dc38a8db94f1c7141d462190437a10af31852b8845a57c48ba languageName: node linkType: hard @@ -2918,7 +2915,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.48.1": +"@typescript-eslint/eslint-plugin@npm:^5.48.2": version: 5.48.2 resolution: "@typescript-eslint/eslint-plugin@npm:5.48.2" dependencies: @@ -2952,7 +2949,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.48.1": +"@typescript-eslint/parser@npm:^5.48.2": version: 5.48.2 resolution: "@typescript-eslint/parser@npm:5.48.2" dependencies: @@ -5632,7 +5629,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.27.4": +"eslint-plugin-import@npm:^2.27.5": version: 2.27.5 resolution: "eslint-plugin-import@npm:2.27.5" dependencies: @@ -5693,7 +5690,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.32.0": +"eslint-plugin-react@npm:^7.32.1": version: 7.32.1 resolution: "eslint-plugin-react@npm:7.32.1" dependencies: @@ -5718,12 +5715,12 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-simple-import-sort@npm:^8.0.0": - version: 8.0.0 - resolution: "eslint-plugin-simple-import-sort@npm:8.0.0" +"eslint-plugin-simple-import-sort@npm:^9.0.0": + version: 9.0.0 + resolution: "eslint-plugin-simple-import-sort@npm:9.0.0" peerDependencies: eslint: ">=5.0.0" - checksum: d2a92a7d148803ee9ad4f081892a8d03820198c36a0f4f16a97d9f686a714edc9c9a9e51cc79cb0ba1afff76a1fde6a5eae50e9e3754928068227c92a2db5d6b + checksum: 09dac706f11e625c4994a4452d799a3fc8ad928fd9a1a3891943a1b54cccf2d30a95066a81a13e8f40204441f8d140bd2a735db4870ef42799f6aed94398c88a languageName: node linkType: hard @@ -6244,13 +6241,6 @@ __metadata: languageName: node linkType: hard -"find-index@npm:^0.1.1": - version: 0.1.1 - resolution: "find-index@npm:0.1.1" - checksum: bf445157a466a823f7d1c40f2314c9a261c347bb6a81c3f46f0534bc25beaa233629b63255c078a34cf33994f6ad5866cdddf5dcdcdd70168a7ac978a3c6e35c - languageName: node - linkType: hard - "find-up@npm:^3.0.0": version: 3.0.0 resolution: "find-up@npm:3.0.0" @@ -6388,17 +6378,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.1.0": - version: 11.1.0 - resolution: "fs-extra@npm:11.1.0" - dependencies: - graceful-fs: ^4.2.0 - jsonfile: ^6.0.1 - universalify: ^2.0.0 - checksum: 5ca476103fa1f5ff4a9b3c4f331548f8a3c1881edaae323a4415d3153b5dc11dc6a981c8d1dd93eec8367ceee27b53f8bd27eecbbf66ffcdd04927510c171e7f - languageName: node - linkType: hard - "fs-extra@npm:^8.1.0": version: 8.1.0 resolution: "fs-extra@npm:8.1.0" @@ -6709,15 +6688,6 @@ __metadata: languageName: node linkType: hard -"glob2base@npm:^0.0.12": - version: 0.0.12 - resolution: "glob2base@npm:0.0.12" - dependencies: - find-index: ^0.1.1 - checksum: 277bbfee5bebf869d63f04e0d62a20d1811aef0c138ac37f98927c8e1af0ddbab18e4bb8b6674622a8acf906019f58fb2e622ceb6fb824d3915fec1ca0fc7730 - languageName: node - linkType: hard - "glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -6732,7 +6702,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.3, glob@npm:^8.1.0": +"glob@npm:^8.0.3": version: 8.1.0 resolution: "glob@npm:8.1.0" dependencies: @@ -8474,19 +8444,6 @@ __metadata: languageName: node linkType: hard -"jsonfile@npm:^6.0.1": - version: 6.1.0 - resolution: "jsonfile@npm:6.1.0" - dependencies: - graceful-fs: ^4.1.6 - universalify: ^2.0.0 - dependenciesMeta: - graceful-fs: - optional: true - checksum: 7af3b8e1ac8fe7f1eccc6263c6ca14e1966fcbc74b618d3c78a0a2075579487547b94f72b7a1114e844a1e15bb00d440e5d1720bfc4612d790a6f285d5ea8354 - languageName: node - linkType: hard - "jsprim@npm:^1.2.2": version: 1.4.1 resolution: "jsprim@npm:1.4.1" @@ -9017,15 +8974,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^6.0.0": - version: 6.1.5 - resolution: "minimatch@npm:6.1.5" - dependencies: - brace-expansion: ^2.0.1 - checksum: 2f2014e1af9e47ebc35ee20394c773eb969f54dbf4f0b738beb9021a3655f6405ad76d46e5b4ee8764c0c535ebbf5b2a579d45454d2bf8840aa856cfaa26fae9 - languageName: node - linkType: hard - "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -9063,7 +9011,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": +"mkdirp@npm:^1.0.3": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -9072,6 +9020,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:^2.1.3": + version: 2.1.3 + resolution: "mkdirp@npm:2.1.3" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 5d7d7997e38a962e8b66dd4db1974bdcb841f084531ba8c9e1f3d52d71f5e6639677a96b2eb5d5940406d729a2153d820f396077ed3a6716058d3e75041dc1f2 + languageName: node + linkType: hard + "module-definition@npm:^3.3.1": version: 3.3.1 resolution: "module-definition@npm:3.3.1" @@ -10649,7 +10606,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^4.0.5": +"rimraf@npm:^4.1.1": version: 4.1.1 resolution: "rimraf@npm:4.1.1" bin: @@ -10699,8 +10656,8 @@ __metadata: dependencies: "@babel/core": ^7.20.12 "@pinata/sdk": ^1.2.1 - "@polkadot/dev": ^0.67.181 - "@types/jest": ^29.2.5 + "@polkadot/dev": ^0.67.184 + "@types/jest": ^29.2.6 dnslink-cloudflare: ^3.0.0 languageName: unknown linkType: soft @@ -11934,13 +11891,6 @@ __metadata: languageName: node linkType: hard -"universalify@npm:^2.0.0": - version: 2.0.0 - resolution: "universalify@npm:2.0.0" - checksum: 2406a4edf4a8830aa6813278bab1f953a8e40f2f63a37873ffa9a3bc8f9745d06cc8e88f3572cb899b7e509013f7f6fcc3e37e8a6d914167a5381d8440518c44 - languageName: node - linkType: hard - "unpipe@npm:1.0.0, unpipe@npm:~1.0.0": version: 1.0.0 resolution: "unpipe@npm:1.0.0"