diff --git a/.changeset/modern-guests-roll.md b/.changeset/modern-guests-roll.md deleted file mode 100644 index 358e6028..00000000 --- a/.changeset/modern-guests-roll.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@onflow/flow-js-testing": minor ---- - -- Storage inspection API implemented as set of utility methods -- Additional Jest helpers implemented -- Related documentation added diff --git a/.changeset/strange-flies-glow.md b/.changeset/strange-flies-glow.md deleted file mode 100644 index 2950c96e..00000000 --- a/.changeset/strange-flies-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-js-testing": minor ---- - -Added debugger port & dropped support for Flow CLI versions <1.0.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8930ad63..d3819ee7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # flow-js-testing +## 0.5.0 + +### Minor Changes + +- [#215](https://github.com/onflow/flow-js-testing/pull/215) [`7c302b8`](https://github.com/onflow/flow-js-testing/commit/7c302b87ba5e4b3f061e3b56cb5c415cc7ec9910) Thanks [@MaxStalker](https://github.com/MaxStalker)! - + - Storage inspection API implemented as set of utility methods + - Additional Jest helpers implemented + - Related documentation added + +* [#220](https://github.com/onflow/flow-js-testing/pull/220) [`c16e6a6`](https://github.com/onflow/flow-js-testing/commit/c16e6a6e687ff741caa54c4b5d2c400b3ba7aabb) Thanks [@jribbink](https://github.com/jribbink)! - Added debugger port & dropped support for Flow CLI versions <1.0.0 + ## 0.4.0 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index 630dd12b..a88b0719 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@onflow/flow-js-testing", - "version": "0.3.0-alpha.17", + "version": "0.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@onflow/flow-js-testing", - "version": "0.3.0-alpha.17", + "version": "0.5.0", "license": "Apache-2.0", "dependencies": { "@onflow/fcl": "^1.3.2", @@ -30,7 +30,6 @@ "@babel/preset-env": "^7.14.5", "@changesets/changelog-github": "^0.4.5", "@changesets/cli": "^2.23.0", - "@onflow/flow-cadut-generator": "0.0.1", "babel-jest": "^27.0.2", "eslint": "^7.24.0", "eslint-config-prettier": "^8.5.0", @@ -2821,21 +2820,6 @@ "sha3": "^2.1.4" } }, - "node_modules/@onflow/flow-cadut-generator": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@onflow/flow-cadut-generator/-/flow-cadut-generator-0.0.1.tgz", - "integrity": "sha512-3yqaQHazZLqJoXwt54E9SE4Rdmnm17jDmLT3S40ec2L8v3R82ZullPdzApESEX1Yh2+oYd98xjqyLZXo96oFPg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.18.6", - "@onflow/flow-cadut": "^0.2.0-alpha.8", - "handlebars": "^4.7.7", - "handlebars-loader": "^1.7.1" - }, - "bin": { - "flow-generate": "dist/generate.js" - } - }, "node_modules/@onflow/flow-cadut/node_modules/@onflow/config": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/@onflow/config/-/config-0.0.2.tgz", @@ -3563,12 +3547,6 @@ "node": ">=8" } }, - "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "dev": true - }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -5841,12 +5819,6 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, - "node_modules/fastparse": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", - "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==", - "dev": true - }, "node_modules/fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", @@ -6266,51 +6238,6 @@ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", "dev": true }, - "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" - }, - "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" - } - }, - "node_modules/handlebars-loader": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/handlebars-loader/-/handlebars-loader-1.7.3.tgz", - "integrity": "sha512-dDb+8D51vE3OTSE2wuGPWRAegtsEuw8Mk8hCjtRu/pNcBfN5q+M8ZG3kVJxBuOeBrVElpFStipGmaxSBTRR1mQ==", - "dev": true, - "dependencies": { - "async": "^3.2.2", - "fastparse": "^1.0.0", - "loader-utils": "1.4.x", - "object-assign": "^4.1.0" - }, - "peerDependencies": { - "handlebars": ">= 1.3.0 < 5" - } - }, - "node_modules/handlebars/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", @@ -10256,12 +10183,6 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, "node_modules/nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", @@ -13867,19 +13788,6 @@ "node": ">=4.2.0" } }, - "node_modules/uglify-js": { - "version": "3.16.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.16.3.tgz", - "integrity": "sha512-uVbFqx9vvLhQg0iBaau9Z75AxWJ8tqM9AV890dIZCLApF4rTcyHwmAvLeEdYRs+BzYWu8Iw81F79ah0EfTXbaw==", - "dev": true, - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", @@ -14258,12 +14166,6 @@ "node": ">=0.10.0" } }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true - }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -16723,18 +16625,6 @@ } } }, - "@onflow/flow-cadut-generator": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@onflow/flow-cadut-generator/-/flow-cadut-generator-0.0.1.tgz", - "integrity": "sha512-3yqaQHazZLqJoXwt54E9SE4Rdmnm17jDmLT3S40ec2L8v3R82ZullPdzApESEX1Yh2+oYd98xjqyLZXo96oFPg==", - "dev": true, - "requires": { - "@babel/runtime": "^7.18.6", - "@onflow/flow-cadut": "^0.2.0-alpha.8", - "handlebars": "^4.7.7", - "handlebars-loader": "^1.7.1" - } - }, "@onflow/interaction": { "version": "0.0.11", "resolved": "https://registry.npmjs.org/@onflow/interaction/-/interaction-0.0.11.tgz", @@ -17352,12 +17242,6 @@ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true }, - "async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "dev": true - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -19190,12 +19074,6 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, - "fastparse": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", - "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==", - "dev": true - }, "fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", @@ -19532,39 +19410,6 @@ } } }, - "handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "requires": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "uglify-js": "^3.1.4", - "wordwrap": "^1.0.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "handlebars-loader": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/handlebars-loader/-/handlebars-loader-1.7.3.tgz", - "integrity": "sha512-dDb+8D51vE3OTSE2wuGPWRAegtsEuw8Mk8hCjtRu/pNcBfN5q+M8ZG3kVJxBuOeBrVElpFStipGmaxSBTRR1mQ==", - "dev": true, - "requires": { - "async": "^3.2.2", - "fastparse": "^1.0.0", - "loader-utils": "1.4.x", - "object-assign": "^4.1.0" - } - }, "hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", @@ -22702,12 +22547,6 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", @@ -25569,13 +25408,6 @@ "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==", "dev": true }, - "uglify-js": { - "version": "3.16.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.16.3.tgz", - "integrity": "sha512-uVbFqx9vvLhQg0iBaau9Z75AxWJ8tqM9AV890dIZCLApF4rTcyHwmAvLeEdYRs+BzYWu8Iw81F79ah0EfTXbaw==", - "dev": true, - "optional": true - }, "unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", @@ -25877,12 +25709,6 @@ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true - }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", diff --git a/package.json b/package.json index ac1283cc..f4b6861f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/flow-js-testing", - "version": "0.4.0", + "version": "0.5.0", "description": "This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest", "repository": { "type": "git",