diff --git a/package-lock.json b/package-lock.json index f5ff7c5..972955e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ac-city-select", - "version": "2.0.1", + "version": "2.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1568,129 +1568,33 @@ "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" }, "enzyme": { - "version": "2.9.1", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/enzyme/-/enzyme-2.9.1.tgz", - "integrity": "sha1-B9XOaRJBJA+4F78sSxjW5TAkDfY=", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-3.11.0.tgz", + "integrity": "sha512-Dw8/Gs4vRjxY6/6i9wU0V+utmQO9kvh9XLnz3LIudviOnVYDEe2ec+0k+NQoMamn1VrjKgCUOWj5jG/5M5M0Qw==", "dev": true, "requires": { - "cheerio": "0.22.0", - "function.prototype.name": "1.1.5", - "is-subset": "0.1.1", - "lodash": "4.17.21", - "object-is": "1.1.5", - "object.assign": "4.1.2", - "object.entries": "1.1.5", - "object.values": "1.1.5", - "prop-types": "15.7.2", - "uuid": "3.4.0" - }, - "dependencies": { - "cheerio": { - "version": "0.22.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/cheerio/-/cheerio-0.22.0.tgz", - "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", - "dev": true, - "requires": { - "css-select": "1.2.0", - "dom-serializer": "0.1.1", - "entities": "1.1.2", - "htmlparser2": "3.10.1", - "lodash.assignin": "4.2.0", - "lodash.bind": "4.2.1", - "lodash.defaults": "4.2.0", - "lodash.filter": "4.6.0", - "lodash.flatten": "4.4.0", - "lodash.foreach": "4.5.0", - "lodash.map": "4.6.0", - "lodash.merge": "4.6.2", - "lodash.pick": "4.4.0", - "lodash.reduce": "4.6.0", - "lodash.reject": "4.6.0", - "lodash.some": "4.6.0" - } - }, - "css-select": { - "version": "1.2.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/css-select/-/css-select-1.2.0.tgz", - "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", - "dev": true, - "requires": { - "boolbase": "1.0.0", - "css-what": "2.1.3", - "domutils": "1.5.1", - "nth-check": "1.0.2" - } - }, - "css-what": { - "version": "2.1.3", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/css-what/-/css-what-2.1.3.tgz", - "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", - "dev": true - }, - "dom-serializer": { - "version": "0.1.1", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/dom-serializer/-/dom-serializer-0.1.1.tgz", - "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", - "dev": true, - "requires": { - "domelementtype": "1.3.1", - "entities": "1.1.2" - } - }, - "domelementtype": { - "version": "1.3.1", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", - "dev": true - }, - "domhandler": { - "version": "2.4.2", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/domhandler/-/domhandler-2.4.2.tgz", - "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", - "dev": true, - "requires": { - "domelementtype": "1.3.1" - } - }, - "domutils": { - "version": "1.5.1", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/domutils/-/domutils-1.5.1.tgz", - "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", - "dev": true, - "requires": { - "dom-serializer": "0.1.1", - "domelementtype": "1.3.1" - } - }, - "entities": { - "version": "1.1.2", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", - "dev": true - }, - "htmlparser2": { - "version": "3.10.1", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/htmlparser2/-/htmlparser2-3.10.1.tgz", - "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", - "dev": true, - "requires": { - "domelementtype": "1.3.1", - "domhandler": "2.4.2", - "domutils": "1.5.1", - "entities": "1.1.2", - "inherits": "2.0.4", - "readable-stream": "3.6.0" - } - }, - "nth-check": { - "version": "1.0.2", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/nth-check/-/nth-check-1.0.2.tgz", - "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", - "dev": true, - "requires": { - "boolbase": "1.0.0" - } - } + "array.prototype.flat": "^1.2.3", + "cheerio": "^1.0.0-rc.3", + "enzyme-shallow-equal": "^1.0.1", + "function.prototype.name": "^1.1.2", + "has": "^1.0.3", + "html-element-map": "^1.2.0", + "is-boolean-object": "^1.0.1", + "is-callable": "^1.1.5", + "is-number-object": "^1.0.4", + "is-regex": "^1.0.5", + "is-string": "^1.0.5", + "is-subset": "^0.1.1", + "lodash.escape": "^4.0.1", + "lodash.isequal": "^4.5.0", + "object-inspect": "^1.7.0", + "object-is": "^1.0.2", + "object.assign": "^4.1.0", + "object.entries": "^1.1.1", + "object.values": "^1.1.1", + "raf": "^3.4.1", + "rst-selector-parser": "^2.2.3", + "string.prototype.trim": "^1.2.1" } }, "enzyme-adapter-react-16": { @@ -2556,62 +2460,26 @@ "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" }, - "lodash.assignin": { - "version": "4.2.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.assignin/-/lodash.assignin-4.2.0.tgz", - "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=", - "dev": true - }, - "lodash.bind": { - "version": "4.2.1", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.bind/-/lodash.bind-4.2.1.tgz", - "integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU=", - "dev": true - }, "lodash.debounce": { "version": "4.0.8", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" }, - "lodash.defaults": { - "version": "4.2.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", - "dev": true - }, "lodash.escape": { "version": "4.0.1", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.escape/-/lodash.escape-4.0.1.tgz", "integrity": "sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=" }, - "lodash.filter": { - "version": "4.6.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.filter/-/lodash.filter-4.6.0.tgz", - "integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4=", - "dev": true - }, "lodash.findindex": { "version": "4.6.0", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.findindex/-/lodash.findindex-4.6.0.tgz", "integrity": "sha1-oyRd7mH7m24GJLU1ElYku2nBEQY=" }, - "lodash.flatten": { - "version": "4.4.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", - "dev": true - }, "lodash.flattendeep": { "version": "4.4.0", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=" }, - "lodash.foreach": { - "version": "4.5.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.foreach/-/lodash.foreach-4.5.0.tgz", - "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=", - "dev": true - }, "lodash.get": { "version": "4.4.2", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.get/-/lodash.get-4.4.2.tgz", @@ -2628,36 +2496,6 @@ "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.map/-/lodash.map-4.6.0.tgz", "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=" }, - "lodash.merge": { - "version": "4.6.2", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "lodash.pick": { - "version": "4.4.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.pick/-/lodash.pick-4.4.0.tgz", - "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", - "dev": true - }, - "lodash.reduce": { - "version": "4.6.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.reduce/-/lodash.reduce-4.6.0.tgz", - "integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs=", - "dev": true - }, - "lodash.reject": { - "version": "4.6.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.reject/-/lodash.reject-4.6.0.tgz", - "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=", - "dev": true - }, - "lodash.some": { - "version": "4.6.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.some/-/lodash.some-4.6.0.tgz", - "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", - "dev": true - }, "lodash.throttle": { "version": "4.1.1", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/lodash.throttle/-/lodash.throttle-4.1.1.tgz", @@ -2679,7 +2517,8 @@ "make-error": { "version": "1.3.6", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "optional": true }, "media-typer": { "version": "0.3.0", @@ -3806,17 +3645,6 @@ "react-lifecycles-compat": "3.0.4" } }, - "readable-stream": { - "version": "3.6.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "2.0.4", - "string_decoder": "1.3.0", - "util-deprecate": "1.0.2" - } - }, "redux": { "version": "4.1.2", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/redux/-/redux-4.1.2.tgz", @@ -4122,23 +3950,6 @@ "define-properties": "1.1.3" } }, - "string_decoder": { - "version": "1.3.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "requires": { - "safe-buffer": "5.2.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - } - } - }, "strip-ansi": { "version": "5.2.0", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/strip-ansi/-/strip-ansi-5.2.0.tgz", @@ -4318,24 +4129,12 @@ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", "dev": true }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true - }, "utils-merge": { "version": "1.0.1", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/utils-merge/-/utils-merge-1.0.1.tgz", "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", "dev": true }, - "uuid": { - "version": "3.4.0", - "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "dev": true - }, "value-equal": { "version": "1.0.1", "resolved": "http://maven.yonyou.com/nexus/repository/ynpm-all/value-equal/-/value-equal-1.0.1.tgz", diff --git a/package.json b/package.json index a97d70e..59e4600 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "bee-panel": "latest", "chai": "^3.5.0", "console-polyfill": "~0.2.1", - "enzyme": "^2.4.1", + "enzyme": "^3.11.0", "es5-shim": "~4.1.10", "react": "15.3.2", "react-addons-test-utils": "15.3.2",