diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce94dec3cf1c5bbb4c78a48efd8ada77edc0478c..48306c0af4a47cce21925a4fcab35dd54dc532df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,9 +11,9 @@ stages: # - demo build: - image: docker:19.03.12 + image: docker:19.03.13 services: - - docker:19.03.12-dind + - docker:19.03.13-dind stage: build script: - if [ -z "$DOCKERHUB_USERNAME" ] || [ -z "$DOCKERHUB_PASSWORD" ]; then echo "Not pushing" && exit 0; fi diff --git a/package.json b/package.json index 6636058c4c5ffcf27566aae07bbfbe0c778c69fd..13722aedca373bc3bb208d71ea63fc0263d0eaa8 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "url": "https://gitlab.coko.foundation/simplej/simplej" }, "dependencies": { - "@apollo/client": "3.1.5", + "@apollo/client": "3.2.1", "@apollo/react-testing": "3.1.4", "@babel/core": "7.11.6", "@guardian/prosemirror-invisibles": "1.2.1", @@ -21,23 +21,23 @@ "apollo-link-context": "1.0.20", "apollo-link-schema": "1.2.5", "apollo-upload-client": "14.1.2", - "config": "3.3.1", + "config": "3.3.2", "faker": "4.1.0", "font-awesome": "4.7.0", "fs-extra": "4.0.3", - "got": "11.6.1", + "got": "11.7.0", "graphql": "14.7.0", "graphql-middleware": "4.0.2", - "graphql-shield": "7.3.5", + "graphql-shield": "7.3.6", "graphql-tools": "4.0.8", "history": "4.10.1", "jimp": "0.16.1", "joi": "10.6.0", "loadable-components": "0.4.0", "memory-cache": "0.2.0", - "metascraper": "5.14.8", - "metascraper-author": "5.14.7", - "metascraper-date": "5.14.7", + "metascraper": "5.14.12", + "metascraper-author": "5.14.12", + "metascraper-date": "5.14.12", "metascraper-description": "5.14.7", "metascraper-image": "5.14.7", "metascraper-logo": "5.14.7", @@ -101,17 +101,17 @@ "compression-webpack-plugin": "3.1.0", "copy-webpack-plugin": "4.6.0", "css-loader": "0.28.11", - "cypress": "5.1.0", + "cypress": "5.3.0", "cypress-file-upload": "4.1.1", "eslint": "4.19.1", "eslint-config-pubsweet": "0.0.6", - "eslint-plugin-import": "2.22.0", + "eslint-plugin-import": "2.22.1", "eslint-plugin-jest": "21.27.2", "eslint-plugin-jsx-a11y": "6.3.1", "eslint-plugin-node": "5.2.1", "eslint-plugin-prettier": "2.7.0", "eslint-plugin-promise": "3.8.0", - "eslint-plugin-react": "7.20.6", + "eslint-plugin-react": "7.21.1", "eslint-plugin-standard": "3.1.0", "extract-text-webpack-plugin": "3.0.2", "file-loader": "1.1.11", @@ -119,23 +119,23 @@ "husky": "0.14.3", "jest-cli": "22.4.4", "joi-browser": "10.6.1", - "lint-staged": "10.3.0", - "mini-css-extract-plugin": "0.11.1", + "lint-staged": "10.4.0", + "mini-css-extract-plugin": "0.11.2", "node-dev": "4.3.0", "prettier": "1.19.1", - "react-hot-loader": "4.12.21", + "react-hot-loader": "4.13.0", "react-router-redux": "5.0.0-alpha.9", "sass-loader": "6.0.7", "speed-measure-webpack-plugin": "1.3.3", - "start-server-and-test": "1.11.3", + "start-server-and-test": "1.11.4", "string-replace-loader": "1.3.0", "style-loader": "0.23.1", "stylelint": "8.4.0", "stylelint-config-pubsweet": "0.0.4", "uglifyjs-webpack-plugin": "1.3.0", "url-loader": "2.3.0", - "webpack": "4.44.1", - "webpack-bundle-analyzer": "3.8.0", + "webpack": "4.44.2", + "webpack-bundle-analyzer": "3.9.0", "webpack-cli": "3.3.12", "webpack-dev-middleware": "3.7.2", "webpack-dev-server": "3.11.0", @@ -159,7 +159,8 @@ "test:chrome": "cypress run --browser chrome", "__cleanNodeModules": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \\;", "build": "NODE_ENV=production pubsweet build", - "seedFromDump": "node scripts/seedFromDump.js" + "seedFromDump": "node scripts/seedFromDump.js", + "console": "node --experimental-repl-await -r ./scripts/preload.js" }, "jest": { "testEnvironment": "node", @@ -185,6 +186,6 @@ "babel-plugin-styled-components": "1.11.1", "@pubsweet/ui": "12.6.0", "formik": "^2.0.0", - "prosemirror-model": "1.11.0" + "prosemirror-model": "1.11.2" } } diff --git a/scripts/preload.js b/scripts/preload.js new file mode 100644 index 0000000000000000000000000000000000000000..6936900ace0c9b19f4e74b223665990981645a03 --- /dev/null +++ b/scripts/preload.js @@ -0,0 +1,3 @@ +const models = require('@pubsweet/models') + +Object.keys(models).forEach(key => (global[key] = models[key])) diff --git a/yarn.lock b/yarn.lock index 71c5c877b7d83f32b1aaf635de690ca54e313e7f..fffb66cb47516b3466cd8a26b3b01d5ddb63ecd3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,27 @@ # yarn lockfile v1 -"@apollo/client@3.1.5", "@apollo/client@^3.1.5": +"@apollo/client@3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.2.1.tgz#178dfcc1eb3a35052df8f2bd44be195b78f56e93" + integrity sha512-w1EdCf3lvSwsxG2zbn8Rm31nPh9gQrB7u61BnU1QCM5BNIfOxiuuldzGNMHi5kI9KleisFvZl/9OA7pEkVg/yw== + dependencies: + "@graphql-typed-document-node/core" "^3.0.0" + "@types/zen-observable" "^0.8.0" + "@wry/context" "^0.5.2" + "@wry/equality" "^0.2.0" + fast-json-stable-stringify "^2.0.0" + graphql-tag "^2.11.0" + hoist-non-react-statics "^3.3.2" + optimism "^0.12.1" + prop-types "^15.7.2" + symbol-observable "^2.0.0" + terser "^5.2.0" + ts-invariant "^0.4.4" + tslib "^1.10.0" + zen-observable "^0.8.14" + +"@apollo/client@^3.1.5": version "3.1.5" resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.1.5.tgz#5865f5c32f061cd520459c5809e8debea6f4886c" integrity sha512-nU/KpqzKN27iwVQwGvPaCkTH/+rNGPoXKr60ki02I8jPBIKXyePPov85Ro9phGxuBhLNqGYeP0uAUN0S+HlF1Q== @@ -1493,6 +1513,11 @@ dependencies: humps "^2.0.1" +"@graphql-typed-document-node/core@^3.0.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.1.0.tgz#0eee6373e11418bfe0b5638f654df7a4ca6a3950" + integrity sha512-wYn6r8zVZyQJ6rQaALBEln5B1pzxb9shV5Ef97kTvn6yVGrqyXVnDqnU24MXnFubR+rZjBY9NWuxX3FB2sTsjg== + "@guardian/prosemirror-invisibles@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@guardian/prosemirror-invisibles/-/prosemirror-invisibles-1.2.1.tgz#00a04b160c7d711c8f5972969ead79d45a675ffd" @@ -1877,6 +1902,32 @@ url-regex "~5.0.0" video-extensions "~1.1.0" +"@metascraper/helpers@^5.14.12": + version "5.14.12" + resolved "https://registry.yarnpkg.com/@metascraper/helpers/-/helpers-5.14.12.tgz#2f720bc0cb23905a35389506f557823abdf626c5" + integrity sha512-aG79lwsb6TD/1eH6nZt+2YC32RjUXZp8Z0vNvuUp62LkcbBCvEnJJ8QBhXxy76x39oVfoCqLjGXj0/GeFbr6SQ== + dependencies: + audio-extensions "0.0.0" + chrono-node "2.1.8" + condense-whitespace "~2.0.0" + entities "~2.0.3" + file-extension "~4.0.5" + has-values "~2.0.1" + image-extensions "~1.1.0" + is-relative-url "~3.0.0" + is-uri "~1.2.0" + iso-639-3 "~2.1.0" + isostring "0.0.1" + lodash "~4.17.20" + memoize-one "~5.1.1" + mime-types "~2.1.27" + normalize-url "~5.1.0" + smartquotes "~2.3.1" + title "~3.4.2" + truncate "~2.1.0" + url-regex-safe "~1.0.2" + video-extensions "~1.1.0" + "@metascraper/helpers@^5.14.7": version "5.14.7" resolved "https://registry.yarnpkg.com/@metascraper/helpers/-/helpers-5.14.7.tgz#ef4e42d863a228cf27097e6e0e6d331205198892" @@ -2381,10 +2432,10 @@ dependencies: "@types/node" "*" -"@types/yup@0.29.6": - version "0.29.6" - resolved "https://registry.yarnpkg.com/@types/yup/-/yup-0.29.6.tgz#0920303c0298ac53945e9feb0b4dcad79cc755b2" - integrity sha512-YPDo5L5uHyxQ4UkyJST+33stD8Z6IT9fvmKyaPAGxkZ6q19foEi6sQGkmqBvzSyRPdstFEeJiS2rKuTn8rfO5g== +"@types/yup@0.29.7": + version "0.29.7" + resolved "https://registry.yarnpkg.com/@types/yup/-/yup-0.29.7.tgz#80c5e427a3b152e583ac2859767ccf59db0d3a16" + integrity sha512-x3Zeh8/qLZ6fG4S1EztI1S1mLj6N1pSUV1PAj/9finZba48d3Maxtyz4WYNUY0NE76u1KSukfNLkjcRlb+O00g== "@types/zen-observable@^0.8.0": version "0.8.0" @@ -5177,7 +5228,14 @@ condense-whitespace@~2.0.0: resolved "https://registry.yarnpkg.com/condense-whitespace/-/condense-whitespace-2.0.0.tgz#94e9644938f66aa7be4b8849f8f0b3cec97d6b3a" integrity sha512-Ath9o58/0rxZXbyoy3zZgrVMoIemi30sukG/btuMKCLyqfQt3dNOWc9N3EHEMa2Q3i0tXQPDJluYFLwy7pJuQw== -config@3.3.1, config@^3.0.1: +config@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/config/-/config-3.3.2.tgz#35be3846054340f0f79778b2445afffbc11867c7" + integrity sha512-NlGfBn2565YA44Irn7GV5KHlIGC3KJbf0062/zW5ddP9VXIuRj0m7HVyFAWvMZvaHPEglyGfwmevGz3KosIpCg== + dependencies: + json5 "^2.1.1" + +config@^3.0.1: version "3.3.1" resolved "https://registry.yarnpkg.com/config/-/config-3.3.1.tgz#b6a70e2908a43b98ed20be7e367edf0cc8ed5a19" integrity sha512-+2/KaaaAzdwUBE3jgZON11L1ggLLhpf2FsGrfqYFHZW22ySGv/HqYIXrBwKKvn+XZh1UBUjHwAcrfsSkSygT+Q== @@ -5642,10 +5700,10 @@ cypress-file-upload@4.1.1: dependencies: mime "^2.4.4" -cypress@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-5.1.0.tgz#979e9ff3e0acd792eefd365bf104046479a9643b" - integrity sha512-craPRO+Viu4268s7eBvX5VJW8aBYcAQT+EwEccQSMY+eH1ZPwnxIgyDlmMWvxLVX9SkWxOlZbEycPyzanQScBQ== +cypress@5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-5.3.0.tgz#91122219ae66ab910058970dbf36619ab0fbde6c" + integrity sha512-XgebyqL7Th6/8YenE1ddb7+d4EiCG2Jvg/5c8+HPfFFY/gXnOVhoCVUU3KW8qg3JL7g0B+iJbHd5hxuCqbd1RQ== dependencies: "@cypress/listr-verbose-renderer" "^0.4.1" "@cypress/request" "^2.88.5" @@ -5756,6 +5814,13 @@ debug@4.1.1, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1: dependencies: ms "^2.1.1" +debug@4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.2.0.tgz#7f150f93920e94c58f5574c2fd01a3110effe7f1" + integrity sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg== + dependencies: + ms "2.1.2" + debug@=3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" @@ -6556,7 +6621,7 @@ eslint-config-standard@^10.2.1: resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-10.2.1.tgz#c061e4d066f379dc17cd562c64e819b4dd454591" integrity sha1-wGHk0GbzedwXzVYsZOgZtN1FRZE= -eslint-import-resolver-node@^0.3.3: +eslint-import-resolver-node@^0.3.4: version "0.3.4" resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz#85ffa81942c25012d8231096ddf679c03042c717" integrity sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA== @@ -6572,17 +6637,17 @@ eslint-module-utils@^2.6.0: debug "^2.6.9" pkg-dir "^2.0.0" -eslint-plugin-import@2.22.0: - version "2.22.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz#92f7736fe1fde3e2de77623c838dd992ff5ffb7e" - integrity sha512-66Fpf1Ln6aIS5Gr/55ts19eUuoDhAbZgnr6UxK5hbDx6l/QgQgx61AePq+BV4PP2uXQFClgMVzep5zZ94qqsxg== +eslint-plugin-import@2.22.1: + version "2.22.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz#0896c7e6a0cf44109a2d97b95903c2bb689d7702" + integrity sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw== dependencies: array-includes "^3.1.1" array.prototype.flat "^1.2.3" contains-path "^0.1.0" debug "^2.6.9" doctrine "1.5.0" - eslint-import-resolver-node "^0.3.3" + eslint-import-resolver-node "^0.3.4" eslint-module-utils "^2.6.0" has "^1.0.3" minimatch "^3.0.4" @@ -6636,10 +6701,10 @@ eslint-plugin-promise@3.8.0: resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.8.0.tgz#65ebf27a845e3c1e9d6f6a5622ddd3801694b621" integrity sha512-JiFL9UFR15NKpHyGii1ZcvmtIqa3UTwiDAGb8atSffe43qJ3+1czVGN6UtkklpcJ2DVnqvTMzEKRaJdBkAL2aQ== -eslint-plugin-react@7.20.6: - version "7.20.6" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.20.6.tgz#4d7845311a93c463493ccfa0a19c9c5d0fd69f60" - integrity sha512-kidMTE5HAEBSLu23CUDvj8dc3LdBU0ri1scwHBZjI41oDv4tjsWZKU7MQccFzH1QYPYhsnTF2ovh7JlcIcmxgg== +eslint-plugin-react@7.21.1: + version "7.21.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.21.1.tgz#3d9fe506eab78756f67c671bb2a9aa9c20990a39" + integrity sha512-TGtWzWrFjZtrD1giMz0O6a9ul++YR9vZSzIL/a7qlb5I/ra/O5RkMGMJK+KKYnJrzz884kyAkEyWiU4Hg2HTrg== dependencies: array-includes "^3.1.1" array.prototype.flatmap "^1.2.3" @@ -7995,10 +8060,10 @@ gonzales-pe@^4.0.3, gonzales-pe@^4.2.3: dependencies: minimist "^1.2.5" -got@11.6.1: - version "11.6.1" - resolved "https://registry.yarnpkg.com/got/-/got-11.6.1.tgz#a307122fc136c446f676f7b939d89dbc6ed6b909" - integrity sha512-6izGvOsrd/4CsIdQMgweFOTCtS4sAwJTuCzIuVoTbCDzt3+wa3eGIHhSIMgEF6gfCDenslGlMUmAdPap5DkirQ== +got@11.7.0: + version "11.7.0" + resolved "https://registry.yarnpkg.com/got/-/got-11.7.0.tgz#a386360305571a74548872e674932b4ef70d3b24" + integrity sha512-7en2XwH2MEqOsrK0xaKhbWibBoZqy+f1RSUoIeF1BLcnf+pyQdDsljWMfmOh+QKJwuvDIiKx38GtPh5wFdGGjg== dependencies: "@sindresorhus/is" "^3.1.1" "@szmarczak/http-timer" "^4.0.5" @@ -8060,12 +8125,12 @@ graphql-postgres-subscriptions@^1.0.4: pg "^7.4.1" pg-ipc "^1.0.4" -graphql-shield@7.3.5: - version "7.3.5" - resolved "https://registry.yarnpkg.com/graphql-shield/-/graphql-shield-7.3.5.tgz#7514028c73f2dc858924a17b342e576ea0132f32" - integrity sha512-4NtGoEGTXMj4FzXM0zZur9Vp8+psDVQmJ93yr3KT2dU36Pr7yKvddPKE/0/3m9UoRGywIEoAFt0RnOsBRNFl0w== +graphql-shield@7.3.6: + version "7.3.6" + resolved "https://registry.yarnpkg.com/graphql-shield/-/graphql-shield-7.3.6.tgz#d60a8eb6c0224ecc24f179361293d83726ebb53f" + integrity sha512-8Vken1G5j7ndqxoavK3JJkNMqcNEwNb7qf5DupcJ6M0QsWOQkw/bhtXI350Pf+4Bj7qfUUz6PK+HQITIud3NHg== dependencies: - "@types/yup" "0.29.6" + "@types/yup" "0.29.7" object-hash "^2.0.3" yup "^0.29.0" @@ -10331,10 +10396,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@10.3.0: - version "10.3.0" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.3.0.tgz#388c3d440590c45c339e7163f669ea69ae90b1e0" - integrity sha512-an3VgjHqmJk0TORB/sdQl0CTkRg4E5ybYCXTTCSJ5h9jFwZbcgKIx5oVma5e7wp/uKt17s1QYFmYqT9MGVosGw== +lint-staged@10.4.0: + version "10.4.0" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.4.0.tgz#d18628f737328e0bbbf87d183f4020930e9a984e" + integrity sha512-uaiX4U5yERUSiIEQc329vhCTDDwUcSvKdRLsNomkYLRzijk3v8V9GWm2Nz0RMVB87VcuzLvtgy6OsjoH++QHIg== dependencies: chalk "^4.1.0" cli-truncate "^2.1.0" @@ -10946,20 +11011,20 @@ merge@^1.2.0: resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145" integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ== -metascraper-author@5.14.7: - version "5.14.7" - resolved "https://registry.yarnpkg.com/metascraper-author/-/metascraper-author-5.14.7.tgz#85b089238fa15f7c3dd04194c3ef11b2006e02cf" - integrity sha512-VmlL8ae2YfHkVh1oXTnbgQkL57oGpefEAK6nzVVEp6y3lul7gZaD/u5PQSs3uazjhwPfsw2xXO/s3jLkflqvjQ== +metascraper-author@5.14.12: + version "5.14.12" + resolved "https://registry.yarnpkg.com/metascraper-author/-/metascraper-author-5.14.12.tgz#a91ff53ac15d6a730ad51e1e3fa02a347df001c4" + integrity sha512-eKG/7+BaaLDFXozhtGC3aJcqErUvSbww3bsxwlwaZCjU9428ta2L20byDF1Ow3iLa3o7u9XPIv4xs1R+UtldaA== dependencies: - "@metascraper/helpers" "^5.14.7" + "@metascraper/helpers" "^5.14.12" lodash "~4.17.20" -metascraper-date@5.14.7: - version "5.14.7" - resolved "https://registry.yarnpkg.com/metascraper-date/-/metascraper-date-5.14.7.tgz#0c483e79122e18672ddf58aff6f37b667a2dbcc1" - integrity sha512-JvOLAGZzqqtX5M7T5EFrq+cJ7AoGteTJ3DGOaY5lx6X/4navjv5HhXKYvsmpKqdm6BYRQoq5K41H6jFnxRHnqw== +metascraper-date@5.14.12: + version "5.14.12" + resolved "https://registry.yarnpkg.com/metascraper-date/-/metascraper-date-5.14.12.tgz#db88ed5ebc63c74b32de403cd545e69654fcca22" + integrity sha512-uVG3NkJ66k1hIOOUQuQBt/dC04KNqeMwYAU6tft8kbNslOaxv6kECQz0TngDOkAQPtxmsCH3qqHqDr9ZBElxdg== dependencies: - "@metascraper/helpers" "^5.14.7" + "@metascraper/helpers" "^5.14.12" metascraper-description@5.14.7: version "5.14.7" @@ -11006,12 +11071,12 @@ metascraper-title@5.13.1: "@metascraper/helpers" "^5.13.1" lodash "~4.17.19" -metascraper@5.14.8: - version "5.14.8" - resolved "https://registry.yarnpkg.com/metascraper/-/metascraper-5.14.8.tgz#73d08f4eb173391306fad735128a44cfee9931b4" - integrity sha512-b5woG0+Vkt8Dx1n04PlsqU8Ahv2lSsZbdo20+DbbFE3lGlOg/rFUGIMgAETngddGGR7aaJEoWIdEBswOrBcoqQ== +metascraper@5.14.12: + version "5.14.12" + resolved "https://registry.yarnpkg.com/metascraper/-/metascraper-5.14.12.tgz#00cd49881c46f6fee18ef774cc77484972a69063" + integrity sha512-nyTlmDHfxEsBJG+Mm2yoZiESLNyBuHVjIG16S79O5xL3xX7JKJ371Xz8v4GsPbdYADI/ZzQfDgxkCahFQ/1vmQ== dependencies: - "@metascraper/helpers" "^5.14.7" + "@metascraper/helpers" "^5.14.12" cheerio "~1.0.0-rc.3" cheerio-advanced-selectors "~2.0.1" lodash "~4.17.20" @@ -11138,10 +11203,10 @@ mini-create-react-context@^0.4.0: "@babel/runtime" "^7.5.5" tiny-warning "^1.0.3" -mini-css-extract-plugin@0.11.1: - version "0.11.1" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.11.1.tgz#f04048de8b4d4d7b1b1dea02363d167438c7f6dc" - integrity sha512-k6ijDS4ZbrTSBkrJDvbpDlXgD3rHjoKBUC3hbUNxfBr7tLv3FpjHcuvuFRNHcPNEryEKyEZL0n/Q4ZHPC2V6mA== +mini-css-extract-plugin@0.11.2: + version "0.11.2" + resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.11.2.tgz#e3af4d5e04fbcaaf11838ab230510073060b37bf" + integrity sha512-h2LknfX4U1kScXxH8xE9LCOqT5B+068EAj36qicMb8l4dqdJoyHcmWmpd+ueyZfgu/POvIn+teoUnTtei2ikug== dependencies: loader-utils "^1.1.0" normalize-url "1.9.1" @@ -11337,7 +11402,7 @@ ms@2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== -ms@^2.1.1: +ms@2.1.2, ms@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== @@ -13316,10 +13381,10 @@ prosemirror-keymap@^1.0.0, prosemirror-keymap@^1.1.2, prosemirror-keymap@^1.1.3: prosemirror-state "^1.0.0" w3c-keyname "^2.2.0" -prosemirror-model@1.11.0, prosemirror-model@>=1.0.0, prosemirror-model@^1.0.0, prosemirror-model@^1.1.0, prosemirror-model@^1.2.0, prosemirror-model@^1.8.1, prosemirror-model@^1.9.1: - version "1.11.0" - resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.11.0.tgz#dc36cdb3ad6442b9f6325c7d89170c624f9dc520" - integrity sha512-GqoAz/mIYjdv8gVYJ8mWFKpHoTxn/lXq4tXJ6bTVxs+rem2LzMYXrNVXfucGtfsgqsJlRIgng/ByG9j7Q8XDrg== +prosemirror-model@1.11.2, prosemirror-model@>=1.0.0, prosemirror-model@^1.0.0, prosemirror-model@^1.1.0, prosemirror-model@^1.2.0, prosemirror-model@^1.8.1, prosemirror-model@^1.9.1: + version "1.11.2" + resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.11.2.tgz#3ce08172b465bc725c8808c18c2e9378fe69418d" + integrity sha512-+gM+x1VUfGAyKR/g0bK7FC46fVNq0xVVL859QAQ7my2p5HzKrPps/pSbYn7T50XTG2r2IhZJChsUFUBHtcoN0Q== dependencies: orderedmap "^1.1.0" @@ -13810,10 +13875,10 @@ react-feather@^1.0.8: resolved "https://registry.yarnpkg.com/react-feather/-/react-feather-1.1.6.tgz#2a547e3d5cd5e383d3da0128d593cbdb3c1b32f7" integrity sha512-iCofWhTjX+vQwvDmg7o6vg0XrUg1c41yBDZG+l83nz1FiCsleJoUgd3O+kHpOeWMXuPrRIFfCixvcqyOLGOgIg== -react-hot-loader@4.12.21: - version "4.12.21" - resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.12.21.tgz#332e830801fb33024b5a147d6b13417f491eb975" - integrity sha512-Ynxa6ROfWUeKWsTHxsrL2KMzujxJVPjs385lmB2t5cHUxdoRPGind9F00tOkdc1l5WBleOF4XEAMILY1KPIIDA== +react-hot-loader@4.13.0: + version "4.13.0" + resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.13.0.tgz#c27e9408581c2a678f5316e69c061b226dc6a202" + integrity sha512-JrLlvUPqh6wIkrK2hZDfOyq/Uh/WeVEr8nc7hkn2/3Ul0sx1Kr5y4kOGNacNRoj7RhwLNcQ3Udf1KJXrqc0ZtA== dependencies: fast-levenshtein "^2.0.6" global "^4.3.0" @@ -15335,14 +15400,14 @@ stack-utils@^1.0.1: resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" integrity sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA== -start-server-and-test@1.11.3: - version "1.11.3" - resolved "https://registry.yarnpkg.com/start-server-and-test/-/start-server-and-test-1.11.3.tgz#d293d2cff2c2fa0a46bbcf6b292716dbc8042d01" - integrity sha512-7r2lvcnJPECSG+ydMzk1wLt3MdzsHnYj+kXgKyzbvTXul5XYEmYJJ3K7YUGNgo5w/vnZb8L/AZMyg1C17qBdzg== +start-server-and-test@1.11.4: + version "1.11.4" + resolved "https://registry.yarnpkg.com/start-server-and-test/-/start-server-and-test-1.11.4.tgz#12ede252b661e030ffd4eae325e51794a88a2473" + integrity sha512-db89HoSLpRAj+gfcI2i5g1CSLijzFNXplG7cFvZM0ulyXTR8MtH6KtuKecEcH8GnMDEdrqfDiCidbG/QsBPu6Q== dependencies: bluebird "3.7.2" check-more-types "2.24.0" - debug "4.1.1" + debug "4.2.0" execa "3.4.0" lazy-ass "1.6.0" ps-tree "1.2.0" @@ -15918,6 +15983,11 @@ symbol-observable@^1.0.2, symbol-observable@^1.0.4, symbol-observable@^1.1.0, sy resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== +symbol-observable@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-2.0.1.tgz#ce66c36a04ed0f3056e7293184749a6fdd7063ea" + integrity sha512-QrfHrrEUMadQCgMijc3YpfA4ncwgqGv58Xgvdu3JZVQB7iY7cAkiqobZEZbaA863jof8AdpR01CPnZ5UWeqZBQ== + symbol-tree@^3.2.2: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" @@ -17057,10 +17127,10 @@ webidl-conversions@^4.0.2: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== -webpack-bundle-analyzer@3.8.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.8.0.tgz#ce6b3f908daf069fd1f7266f692cbb3bded9ba16" - integrity sha512-PODQhAYVEourCcOuU+NiYI7WdR8QyELZGgPvB1y2tjbUpbmcQOt5Q7jEK+ttd5se0KSBKD9SXHCEozS++Wllmw== +webpack-bundle-analyzer@3.9.0: + version "3.9.0" + resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz#f6f94db108fb574e415ad313de41a2707d33ef3c" + integrity sha512-Ob8amZfCm3rMB1ScjQVlbYYUEJyEjdEtQ92jqiFUYt5VkEeO2v5UMbv49P/gnmCZm3A6yaFQzCBvpZqN4MUsdA== dependencies: acorn "^7.1.1" acorn-walk "^7.1.1" @@ -17071,7 +17141,7 @@ webpack-bundle-analyzer@3.8.0: express "^4.16.3" filesize "^3.6.1" gzip-size "^5.0.0" - lodash "^4.17.15" + lodash "^4.17.19" mkdirp "^0.5.1" opener "^1.5.1" ws "^6.0.0" @@ -17169,10 +17239,10 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack- source-list-map "^2.0.0" source-map "~0.6.1" -webpack@4.44.1: - version "4.44.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.1.tgz#17e69fff9f321b8f117d1fda714edfc0b939cc21" - integrity sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ== +webpack@4.44.2: + version "4.44.2" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.2.tgz#6bfe2b0af055c8b2d1e90ed2cd9363f841266b72" + integrity sha512-6KJVGlCxYdISyurpQ0IPTklv+DULv05rs2hseIXer6D7KrUicRDLFb4IUM1S6LUAKypPM/nSiVSuv8jHu1m3/Q== dependencies: "@webassemblyjs/ast" "1.9.0" "@webassemblyjs/helper-module-context" "1.9.0"