diff --git a/package-lock.json b/package-lock.json index 17ffe12b..3064fdae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@accordproject/cicero-ui", - "version": "0.5.13", + "version": "0.5.14", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -307,12 +307,12 @@ } }, "@accordproject/markdown-cicero": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@accordproject/markdown-cicero/-/markdown-cicero-0.10.2.tgz", - "integrity": "sha512-Fk+KCOsh/yxgQjKXrMZiwknYcnWmdhXz4C8DcDwgBd2r2vlhgiZ7TXg50YshZ2dJOQh8YFHKBi4r4UrcgOaVNQ==", + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@accordproject/markdown-cicero/-/markdown-cicero-0.10.3.tgz", + "integrity": "sha512-kYMnybTXEP49P8hpmDm51/GBWagXEjXl08a9vCwxa/uMq8GijuHcNLWjTerM7scUA1gPoXUW1PnL869BS2x2NA==", "requires": { "@accordproject/concerto-core": "^0.82.6", - "@accordproject/markdown-common": "0.10.2", + "@accordproject/markdown-common": "0.10.3", "commonmark": "^0.29.0", "jsome": "2.5.0", "sax": "^1.2.4", @@ -321,9 +321,9 @@ } }, "@accordproject/markdown-common": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@accordproject/markdown-common/-/markdown-common-0.10.2.tgz", - "integrity": "sha512-S0y7VrUGvYn+9X3nPwD4BJkyGeitd5B9ZXaBl1FJ+Aqtqftp39NoxXUoU1WFnYixcUskVRd78KwMm2//W5AbXg==", + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@accordproject/markdown-common/-/markdown-common-0.10.3.tgz", + "integrity": "sha512-c40rVu5dNrW3nX+3cOWB8tnQxVp1Js7ufTowM3lSo8TD7I/Icx9VJqQVm49gE/LDT4oJ5dZWTydJMV1ilqwuRg==", "requires": { "@accordproject/concerto-core": "^0.82.6", "commonmark": "^0.29.0", @@ -334,9 +334,9 @@ } }, "@accordproject/markdown-editor": { - "version": "0.9.10", - "resolved": "https://registry.npmjs.org/@accordproject/markdown-editor/-/markdown-editor-0.9.10.tgz", - "integrity": "sha512-H25ggKOPwov0xgZSu7AZ44xPvsT+HRt1a/1Y47CZ6+y3sY+hXiXVUJg8iPyoAMwHn7rn/+CUYKQ9uwBu66Mwmg==", + "version": "0.9.11", + "resolved": "https://registry.npmjs.org/@accordproject/markdown-editor/-/markdown-editor-0.9.11.tgz", + "integrity": "sha512-qqWJiwy33YJOBdA3rMdTVdk9qocXja9SZDLymtSVwDFPGU12OMIRcAMxwBXnUClGjyDiI8wKnsKHBBX0GSaL/w==", "requires": { "@accordproject/markdown-html": "^0.10.2", "@accordproject/markdown-slate": "^0.10.2", @@ -361,22 +361,22 @@ } }, "@accordproject/markdown-html": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@accordproject/markdown-html/-/markdown-html-0.10.2.tgz", - "integrity": "sha512-ijy3E4zSkUwrWLGiiYqP2hCIjOvqHXJCzMM9ci7jRwWnJshN12Ge3hHsvlDbr3c+2XZdAhR3tC11VPPjJaX2dw==", + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@accordproject/markdown-html/-/markdown-html-0.10.3.tgz", + "integrity": "sha512-b7rKfI9h23/aQhlFb5HfE8gy5LOkKLHtZ5UxdicnXpwaqMlBoQiJpJ4qfIM3eJ14zZITmPLjQAKFHWkcFh56CQ==", "requires": { - "@accordproject/markdown-cicero": "0.10.2", - "@accordproject/markdown-common": "0.10.2", + "@accordproject/markdown-cicero": "0.10.3", + "@accordproject/markdown-common": "0.10.3", "jsdom": "^15.2.1", "type-of": "^2.0.1" } }, "@accordproject/markdown-slate": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@accordproject/markdown-slate/-/markdown-slate-0.10.2.tgz", - "integrity": "sha512-Wg8BJDTVHqrhN7WcnOzJAvG59V56AdQMvBrUDgr51Ocg48qFx5SQvP3Vh+lRTiSSRMNqna3vbD3UqQwit0tnnw==", + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@accordproject/markdown-slate/-/markdown-slate-0.10.3.tgz", + "integrity": "sha512-fHtZVn/ulWnklsrdjSSAKvJ7UvPjJuRMD8UxCIymDdCd10YoP695TM+/u18rjjqdbqZgvHqOUj0mhiWg5Ijyxg==", "requires": { - "@accordproject/markdown-cicero": "0.10.2" + "@accordproject/markdown-cicero": "0.10.3" } }, "@babel/cli": { @@ -2275,9 +2275,9 @@ }, "dependencies": { "acorn": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", - "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==" + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", + "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==" } } }, @@ -3391,9 +3391,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001032", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001032.tgz", - "integrity": "sha512-8joOm7BwcpEN4BfVHtfh0hBXSAPVYk+eUIcNntGtMkUWy/6AKRCDZINCLe3kB1vHhT2vBxBF85Hh9VlPXi/qjA==", + "version": "1.0.30001033", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001033.tgz", + "integrity": "sha512-8Ibzxee6ibc5q88cM1usPsMpJOG5CTq0s/dKOmlekPbDGKt+UrnOOTPSjQz3kVo6yL7N4SB5xd+FGLHQmbzh6A==", "dev": true }, "capture-exit": { @@ -4620,9 +4620,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.370", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.370.tgz", - "integrity": "sha512-399cXDE9C7qoVF2CUgCA/MLflfvxbo1F0kB/pkB94426freL/JgZ0HNaloomsOfnE+VC/qgTFZqzmivSdaNfPQ==", + "version": "1.3.372", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.372.tgz", + "integrity": "sha512-77a4jYC52OdisHM+Tne7dgWEvQT1FoNu/jYl279pP88ZtG4ZRIPyhQwAKxj6C2rzsyC1OwsOds9JlZtNncSz6g==", "dev": true }, "elliptic": { @@ -5195,9 +5195,9 @@ "dev": true }, "eslint-plugin-react": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.18.3.tgz", - "integrity": "sha512-Bt56LNHAQCoou88s8ViKRjMB2+36XRejCQ1VoLj716KI1MoE99HpTVvIThJ0rvFmG4E4Gsq+UgToEjn+j044Bg==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz", + "integrity": "sha512-SPT8j72CGuAP+JFbT0sJHOB80TX/pu44gQ4vXH/cq+hQTiY2PuZ6IHkqXJV6x1b28GDdo1lbInjKUrrdUf0LOQ==", "dev": true, "requires": { "array-includes": "^3.1.1", @@ -5208,8 +5208,10 @@ "object.fromentries": "^2.0.2", "object.values": "^1.1.1", "prop-types": "^15.7.2", - "resolve": "^1.14.2", - "string.prototype.matchall": "^4.0.2" + "resolve": "^1.15.1", + "semver": "^6.3.0", + "string.prototype.matchall": "^4.0.2", + "xregexp": "^4.3.0" }, "dependencies": { "doctrine": { @@ -5220,6 +5222,21 @@ "requires": { "esutils": "^2.0.2" } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "xregexp": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.3.0.tgz", + "integrity": "sha512-7jXDIFXh5yJ/orPn4SXjuVrWWoi4Cr8jfV1eHv9CixKSbU+jY4mxfrBwAuDvupPNKpMUY+FeIqsVw/JLT9+B8g==", + "dev": true, + "requires": { + "@babel/runtime-corejs3": "^7.8.3" + } } } }, @@ -5266,9 +5283,9 @@ }, "dependencies": { "acorn": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", - "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", + "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", "dev": true } } @@ -8291,9 +8308,9 @@ "dev": true }, "is-what": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.6.0.tgz", - "integrity": "sha512-2rMAWmuDACWgcy5Cp4eDXHRf4GlNjXKp3e/0etFzE5HZhCgPw8u5zeKDyLIUmtE2GP9mGK3jS7jvXYFc6qk/ZA==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.7.0.tgz", + "integrity": "sha512-5n7kD28uL6nDfc9z7YzZpydLe+qRQgHvWmPWLYpewCk9f3b+EuzvdqsoBRwRDT/RtvV6jzltmMkHCAUtuGHvCA==", "dev": true }, "is-window": { @@ -10792,9 +10809,9 @@ } }, "node-releases": { - "version": "1.1.50", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.50.tgz", - "integrity": "sha512-lgAmPv9eYZ0bGwUYAKlr8MG6K4CvWliWqnkcT2P8mMAgVrH3lqfBPorFlxiG1pHQnqmavJZ9vbMXUTNyMLbrgQ==", + "version": "1.1.51", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.51.tgz", + "integrity": "sha512-1eQEs6HFYY1kMXQPOLzCf7HdjReErmvn85tZESMczdCNVWP3Y7URYLBAyYynuI7yef1zj4HN5q+oB2x67QU0lw==", "dev": true, "requires": { "semver": "^6.3.0" @@ -15400,9 +15417,9 @@ }, "dependencies": { "acorn": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", - "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", + "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", "dev": true }, "schema-utils": { @@ -16033,9 +16050,9 @@ } }, "ws": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.1.tgz", - "integrity": "sha512-sucePNSafamSKoOqoNfBd8V0StlkzJKL2ZAhGQinCfNQ+oacw+Pk7lcdAElecBF2VkLNZRiIb5Oi1Q5lVUVt2A==" + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.3.tgz", + "integrity": "sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ==" }, "xml-name-validator": { "version": "3.0.0", diff --git a/package.json b/package.json index ec4a6511..433c023a 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "depcheck": "node ./scripts/depcheck.js" }, "dependencies": { - "@accordproject/markdown-editor": "^0.9.10", - "@accordproject/markdown-slate": "^0.10.2", + "@accordproject/markdown-editor": "^0.9.11", + "@accordproject/markdown-slate": "^0.10.3", "lodash": "^4.17.15", "mini-css-extract-plugin": "^0.7.0", "node-sass": "^4.13.1", @@ -67,7 +67,7 @@ "eslint-plugin-jest": "^22.21.0", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-promise": "^4.1.1", - "eslint-plugin-react": "^7.18.3", + "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^1.6.0", "file-loader": "^4.1.0", "html-loader": "^0.5.5", @@ -110,4 +110,4 @@ "/src/**/?(*.)(spec|test).{js,jsx,mjs}" ] } -} \ No newline at end of file +} diff --git a/src/ContractEditor/__snapshots__/index.test.js.snap b/src/ContractEditor/__snapshots__/index.test.js.snap index 67867ff2..8b368f70 100644 --- a/src/ContractEditor/__snapshots__/index.test.js.snap +++ b/src/ContractEditor/__snapshots__/index.test.js.snap @@ -84,7 +84,7 @@ exports[` on initialization renders page correctly 1`] = ` class="sc-htpNat jqGvzC toolbar-4x0" /> on initialization renders page correctly 1`] = ` on initialization renders page correctly 1`] = ` class="sc-htpNat jqGvzC toolbar-4x1" />