diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed3a3675a12f6f21fde2d43cf73062ff62701277..638c0aa69c5b6c9e0c1bdc4b380eddcd1c3068fa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,7 +93,7 @@ linux-snap: paths: - scripts/parity_*_amd64.snap name: "stable-x86_64-unknown-snap-gnu_parity" - allow_failure: true + allow_failure: true linux-stable-debian: stage: build image: parity/rust-debian:gitlab-ci @@ -244,7 +244,7 @@ linux-i686: - strip target/$PLATFORM/release/parity - strip target/$PLATFORM/release/parity-evm - strip target/$PLATFORM/release/ethstore - - strip target/$PLATFORM/release/ethkey + - strip target/$PLATFORM/release/ethkey - strip target/$PLATFORM/release/parity - md5sum target/$PLATFORM/release/parity > parity.md5 - export SHA3=$(target/$PLATFORM/release/parity tools hash target/$PLATFORM/release/parity) @@ -627,8 +627,12 @@ js-test: - git submodule update --init --recursive - export JS_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep ^js/ | wc -l) - if [ $JS_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS deps install since no JS files modified."; else ./js/scripts/install-deps.sh;fi + - export JS_OLD_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep ^js-old/ | wc -l) + - if [ $JS_OLD_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS (old) deps install since no JS files modified."; else ./js-old/scripts/install-deps.sh;fi + script: - if [ $JS_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS lint since no JS files modified."; else ./js/scripts/lint.sh && ./js/scripts/test.sh && ./js/scripts/build.sh; fi + - if [ $JS_OLD_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS (old) lint since no JS files modified."; else ./js-old/scripts/lint.sh && ./js-old/scripts/test.sh && ./js-old/scripts/build.sh; fi tags: - rust - rust-stable @@ -679,10 +683,17 @@ js-release: - export JS_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep ^js/ | wc -l) - echo $JS_FILES_MODIFIED - if [ $JS_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS deps install since no JS files modified."; else ./js/scripts/install-deps.sh;fi + - export JS_OLD_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep ^js-old/ | wc -l) + - echo $JS_OLD_FILES_MODIFIED + - if [ $JS_OLD_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS (old) deps install since no JS files modified."; else ./js-old/scripts/install-deps.sh;fi + script: - rustup default stable - echo $JS_FILES_MODIFIED - if [ $JS_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS rebuild since no JS files modified."; else ./js/scripts/build.sh && ./js/scripts/release.sh; fi + - echo $JS_OLD_FILES_MODIFIED + - if [ $JS_OLD_FILES_MODIFIED -eq 0 ]; then echo "Skipping JS (old) rebuild since no JS files modified."; else ./js-old/scripts/build.sh && ./js-old/scripts/release.sh; fi + tags: - javascript push-release: diff --git a/Cargo.lock b/Cargo.lock index 327e85c84a290dd1559b467fd427dd32cc02c21b..fc6c35554ab33823bf89259460f60e046176520b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2235,6 +2235,8 @@ name = "parity-ui" version = "1.9.0" dependencies = [ "parity-ui-dev 1.9.0", + "parity-ui-old-dev 1.9.0", + "parity-ui-old-precompiled 1.8.0 (git+https://github.com/paritytech/js-precompiled.git?branch=v1)", "parity-ui-precompiled 1.4.0 (git+https://github.com/paritytech/js-precompiled.git)", "rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2246,6 +2248,21 @@ dependencies = [ "parity-dapps-glue 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "parity-ui-old-dev" +version = "1.9.0" +dependencies = [ + "parity-dapps-glue 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parity-ui-old-precompiled" +version = "1.8.0" +source = "git+https://github.com/paritytech/js-precompiled.git?branch=v1#94b0a89aac7eb5ddfdb53cd9bb039da6fdbf7583" +dependencies = [ + "parity-dapps-glue 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "parity-ui-precompiled" version = "1.4.0" @@ -3657,6 +3674,7 @@ dependencies = [ "checksum owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37" "checksum parity-dapps-glue 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9df5504a83dbbbd25ddb0645372bd09dff5a7716e18690a21211873b81606fe9" "checksum parity-tokio-ipc 0.1.5 (git+https://github.com/nikvolf/parity-tokio-ipc)" = "" +"checksum parity-ui-old-precompiled 1.8.0 (git+https://github.com/paritytech/js-precompiled.git?branch=v1)" = "" "checksum parity-ui-precompiled 1.4.0 (git+https://github.com/paritytech/js-precompiled.git)" = "" "checksum parity-wasm 0.14.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d4502e18417d96bd8e72fca9ea4cc18f4d80288ff565582d10aefe86f18b4fc3" "checksum parity-wordlist 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "81451bfab101d186f8fc4a0aa13cb5539b31b02c4ed96425a0842e2a413daba6" diff --git a/dapps/src/apps/mod.rs b/dapps/src/apps/mod.rs index 8467a8e71c4c5bc8bbff31b49e0d84cfa364b2ad..e7657736d1841ff5a85047d4020478ccdcee389e 100644 --- a/dapps/src/apps/mod.rs +++ b/dapps/src/apps/mod.rs @@ -77,6 +77,9 @@ pub fn all_endpoints( // NOTE [ToDr] Dapps will be currently embeded on 8180 insert::(&mut pages, "ui", Embeddable::Yes(embeddable.clone()), pool.clone()); + // old version + insert::(&mut pages, "v1", Embeddable::Yes(embeddable.clone()), pool.clone()); + pages.insert("proxy".into(), ProxyPac::boxed(embeddable.clone(), dapps_domain.to_owned())); pages.insert(WEB_PATH.into(), Web::boxed(embeddable.clone(), web_proxy_tokens.clone(), fetch.clone())); diff --git a/dapps/src/router.rs b/dapps/src/router.rs index 64617b3faade069fb8400d42351ecce4ef2eafce..e5770ca72b8f77578d21cdf646499da8930e3af2 100644 --- a/dapps/src/router.rs +++ b/dapps/src/router.rs @@ -138,6 +138,7 @@ impl Router { }, // Any other GET|HEAD requests to home page. _ if (is_get_request || is_head_request) && self.special.contains_key(&SpecialEndpoint::Home) => { + trace!(target: "dapps", "Resolving to home page."); let special = self.special.get(&SpecialEndpoint::Home).expect("special known to contain key; qed"); match *special { Some(ref special) => { diff --git a/dapps/ui/Cargo.toml b/dapps/ui/Cargo.toml index fe4629a368c0027730bae9f0b864d8d75e794b97..8d254b177c64e724c9ceeb9f404f356e3821068e 100644 --- a/dapps/ui/Cargo.toml +++ b/dapps/ui/Cargo.toml @@ -11,9 +11,11 @@ rustc_version = "0.1" [dependencies] parity-ui-dev = { path = "../../js", optional = true } +parity-ui-old-dev = { path = "../../js-old", optional = true } # This is managed by the js/scripts/release.sh script on CI - keep it in a single line +parity-ui-old-precompiled = { git = "https://github.com/paritytech/js-precompiled.git", optional = true, branch = "v1" } parity-ui-precompiled = { git = "https://github.com/paritytech/js-precompiled.git", optional = true, branch = "master" } [features] -no-precompiled-js = ["parity-ui-dev"] -use-precompiled-js = ["parity-ui-precompiled"] +no-precompiled-js = ["parity-ui-dev", "parity-ui-old-dev"] +use-precompiled-js = ["parity-ui-precompiled", "parity-ui-old-precompiled"] diff --git a/dapps/ui/src/lib.rs b/dapps/ui/src/lib.rs index 931fd06beea804fade8392f6ad7a426b714e1fe8..aa1c86736668a09d325f1f91462c171a959ce265 100644 --- a/dapps/ui/src/lib.rs +++ b/dapps/ui/src/lib.rs @@ -29,5 +29,18 @@ mod inner { pub use self::parity_ui_precompiled::*; } +#[cfg(feature = "parity-ui-old-dev")] +pub mod old { + extern crate parity_ui_old_dev; + + pub use self::parity_ui_old_dev::*; +} + +#[cfg(feature = "parity-ui-old-precompiled")] +pub mod old { + extern crate parity_ui_old_precompiled; + + pub use self::parity_ui_old_precompiled::*; +} pub use self::inner::*; diff --git a/js-old/.babelrc b/js-old/.babelrc new file mode 100644 index 0000000000000000000000000000000000000000..127abf1436306a1dfabc24c81b7e8de3116348d4 --- /dev/null +++ b/js-old/.babelrc @@ -0,0 +1,34 @@ +{ + "presets": [ + "es2017", "es2016", "es2015", + "stage-0", "react" + ], + "plugins": [ + "transform-decorators-legacy", + "transform-class-properties", + "transform-object-rest-spread", + "transform-es2015-modules-commonjs", + "transform-runtime", + "lodash", + "recharts" + ], + "retainLines": true, + "env": { + "production": { + "plugins": [ + "transform-react-remove-prop-types" + ] + }, + "development": { + "plugins": [ + [ "react-intl", { "messagesDir": "./.build/i18n/" } ], + "react-hot-loader/babel" + ] + }, + "test": { + "plugins": [ + [ "babel-plugin-webpack-alias", { "config": "webpack/test.js" } ] + ] + } + } +} diff --git a/js-old/.codeclimate.yml b/js-old/.codeclimate.yml new file mode 100644 index 0000000000000000000000000000000000000000..ca6414f5883de71b270a7f6de829837da85a2e4d --- /dev/null +++ b/js-old/.codeclimate.yml @@ -0,0 +1,8 @@ +engines: + eslint: + enabled: true + channel: "eslint-2" + +ratings: + paths: + - "**.js" diff --git a/js-old/.editorconfig b/js-old/.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..3c229b5dc188afe95adfd59e57d14cc599ead1eb --- /dev/null +++ b/js-old/.editorconfig @@ -0,0 +1,10 @@ +root = true +[*] +indent_style=space +indent_size=2 +tab_width=2 +end_of_line=lf +charset=utf-8 +trim_trailing_whitespace=true +max_line_length=120 +insert_final_newline=true diff --git a/js-old/.eslintrc.json b/js-old/.eslintrc.json new file mode 100644 index 0000000000000000000000000000000000000000..ffd4f03f3bfd4baa1e9f6c9b278a37d98307d266 --- /dev/null +++ b/js-old/.eslintrc.json @@ -0,0 +1,33 @@ +{ + "extends": ["semistandard", "standard-react"], + "parser": "babel-eslint", + "env": { + "browser": true, + "mocha": true, + "node": true + }, + "globals": { + "expect": true, + "FileReader": true + }, + "rules": { + "curly": ["error", "all"], + "jsx-quotes": ["error", "prefer-single"], + "newline-after-var": ["error", "always"], + "no-alert": "error", + "no-debugger": "error", + "no-duplicate-imports": ["error", { + "includeExports": true + }], + "object-curly-spacing": ["error", "always"], + "object-property-newline": 0, + "one-var-declaration-per-line": ["error", "always"], + "padded-blocks": ["error", { + "blocks": "never", + "classes": "never", + "switches": "never" + }], + "react/jsx-closing-bracket-location": "error", + "react/jsx-curly-spacing": ["error", "always"] + } +} diff --git a/js-old/.gitignore b/js-old/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..555c4b4bbd451223f4c6402fed37641e70b8edf7 --- /dev/null +++ b/js-old/.gitignore @@ -0,0 +1,10 @@ +node_modules +npm-debug.log +build +docs +.build +.coverage +.dist +.happypack +.npmjs +.eslintcache diff --git a/js-old/.istanbul.yml b/js-old/.istanbul.yml new file mode 100644 index 0000000000000000000000000000000000000000..4535167dbff60cc20d1452fde48a0e4aac5c841b --- /dev/null +++ b/js-old/.istanbul.yml @@ -0,0 +1,6 @@ +instrumentation: + root: src + extensions: + - .js +reporting: + dir: ./.coverage diff --git a/js-old/.npmignore b/js-old/.npmignore new file mode 100644 index 0000000000000000000000000000000000000000..5093a29b859a5e7a79413a37ad397761ec16415a --- /dev/null +++ b/js-old/.npmignore @@ -0,0 +1 @@ +scripts/ diff --git a/js-old/.npmrc b/js-old/.npmrc new file mode 100644 index 0000000000000000000000000000000000000000..5dce03c654cc25b7ca3434856903175edb8e6ff3 --- /dev/null +++ b/js-old/.npmrc @@ -0,0 +1,2 @@ +save-prefix='' +unsafe-perm=true diff --git a/js-old/.stylelintrc.json b/js-old/.stylelintrc.json new file mode 100644 index 0000000000000000000000000000000000000000..9248483c6ed9b2b1f78d5890a7592d3090dd4343 --- /dev/null +++ b/js-old/.stylelintrc.json @@ -0,0 +1,8 @@ +{ + "extends": "stylelint-config-standard", + "rules": { + "selector-pseudo-class-no-unknown": [ + true, { "ignorePseudoClasses": ["global"] } + ] + } +} diff --git a/js-old/Cargo.precompiled.toml b/js-old/Cargo.precompiled.toml new file mode 100644 index 0000000000000000000000000000000000000000..9e3b640b704486b03fa238b1700479bed6f7811e --- /dev/null +++ b/js-old/Cargo.precompiled.toml @@ -0,0 +1,19 @@ +[package] +description = "Parity built-in dapps." +name = "parity-ui-old-precompiled" +version = "1.9.0" +license = "GPL-3.0" +authors = ["Parity Technologies "] +build = "build.rs" + +[features] +default = ["with-syntex", "use-precompiled-js"] +use-precompiled-js = ["parity-dapps-glue/use-precompiled-js"] +with-syntex = ["parity-dapps-glue/with-syntex"] + +[build-dependencies] +parity-dapps-glue = "1.9" + +[dependencies] +parity-dapps-glue = "1.9" + diff --git a/js-old/Cargo.toml b/js-old/Cargo.toml new file mode 100644 index 0000000000000000000000000000000000000000..6c86b9e0162171589329fc7033dd9a10da7c5cb6 --- /dev/null +++ b/js-old/Cargo.toml @@ -0,0 +1,18 @@ +[package] +description = "Parity built-in dapps." +name = "parity-ui-old-dev" +version = "1.9.0" +license = "GPL-3.0" +authors = ["Parity Technologies "] +build = "build.rs" + +[features] +default = ["with-syntex"] +with-syntex = ["parity-dapps-glue/with-syntex"] + +[build-dependencies] +parity-dapps-glue = "1.9" + +[dependencies] +parity-dapps-glue = "1.9" + diff --git a/js-old/LICENSE b/js-old/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..9cecc1d4669ee8af2ca727a5d8cde10cd8b2d7cc --- /dev/null +++ b/js-old/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/js-old/README.md b/js-old/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5ed26e0cfd3a385cb22e1c761c64e888cf179e2b --- /dev/null +++ b/js-old/README.md @@ -0,0 +1,12 @@ +# parity.js + +JavaScript APIs and UIs for Parity. + +## development + +0. Install [Node](https://nodejs.org/) if not already available +0. Change to the `js` directory inside `parity/` +0. Install the npm modules via `npm install` +0. Parity should be run with `parity --ui-no-validation [...options]` (where `options` can be `--chain testnet`) +0. Start the development environment via `npm start` +0. Connect to the [UI](http://localhost:3000) diff --git a/js/assets/fonts/Roboto/LICENSE.txt b/js-old/assets/fonts/Roboto/LICENSE.txt similarity index 100% rename from js/assets/fonts/Roboto/LICENSE.txt rename to js-old/assets/fonts/Roboto/LICENSE.txt diff --git a/js/assets/fonts/Roboto/font.css b/js-old/assets/fonts/Roboto/font.css similarity index 100% rename from js/assets/fonts/Roboto/font.css rename to js-old/assets/fonts/Roboto/font.css diff --git a/js/assets/fonts/Roboto/ttf/Roboto-Black.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-Black.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-Black.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-Black.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-Bold.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-Bold.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-Bold.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-Bold.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-Italic.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-Italic.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-Italic.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-Italic.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-Light.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-Light.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-Light.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-Light.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-Medium.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-Medium.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-Medium.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-Medium.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-Regular.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-Regular.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-Regular.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-Regular.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-Thin.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-Thin.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-Thin.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-Thin.ttf diff --git a/js/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf b/js-old/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf similarity index 100% rename from js/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf rename to js-old/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf diff --git a/js/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js-old/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js-old/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 b/js-old/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js-old/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js-old/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js-old/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 b/js-old/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 similarity index 100% rename from js/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 rename to js-old/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 diff --git a/js/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js-old/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js-old/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 b/js-old/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js-old/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js-old/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js-old/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/assets/fonts/RobotoMono/LICENSE.txt b/js-old/assets/fonts/RobotoMono/LICENSE.txt similarity index 100% rename from js/assets/fonts/RobotoMono/LICENSE.txt rename to js-old/assets/fonts/RobotoMono/LICENSE.txt diff --git a/js/assets/fonts/RobotoMono/font.css b/js-old/assets/fonts/RobotoMono/font.css similarity index 100% rename from js/assets/fonts/RobotoMono/font.css rename to js-old/assets/fonts/RobotoMono/font.css diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf diff --git a/js/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf b/js-old/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf similarity index 100% rename from js/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf rename to js-old/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf diff --git a/js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 b/js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 similarity index 100% rename from js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 rename to js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 diff --git a/js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 b/js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 similarity index 100% rename from js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 rename to js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 diff --git a/js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 b/js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 similarity index 100% rename from js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 rename to js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 diff --git a/js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 b/js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 similarity index 100% rename from js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 rename to js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 diff --git a/js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 b/js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 similarity index 100% rename from js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 rename to js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 diff --git a/js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 b/js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 similarity index 100% rename from js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 rename to js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 diff --git a/js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 b/js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 similarity index 100% rename from js/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 rename to js-old/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 diff --git a/js/assets/images/certifications/unknown.svg b/js-old/assets/images/certifications/unknown.svg similarity index 100% rename from js/assets/images/certifications/unknown.svg rename to js-old/assets/images/certifications/unknown.svg diff --git a/js/assets/images/contracts/ethereum-black-64x64.png b/js-old/assets/images/contracts/ethereum-black-64x64.png similarity index 100% rename from js/assets/images/contracts/ethereum-black-64x64.png rename to js-old/assets/images/contracts/ethereum-black-64x64.png diff --git a/js/assets/images/contracts/ethereum-black.png b/js-old/assets/images/contracts/ethereum-black.png similarity index 100% rename from js/assets/images/contracts/ethereum-black.png rename to js-old/assets/images/contracts/ethereum-black.png diff --git a/js/assets/images/contracts/ethereum-white.png b/js-old/assets/images/contracts/ethereum-white.png similarity index 100% rename from js/assets/images/contracts/ethereum-white.png rename to js-old/assets/images/contracts/ethereum-white.png diff --git a/js/assets/images/contracts/unknown-64x64.png b/js-old/assets/images/contracts/unknown-64x64.png similarity index 100% rename from js/assets/images/contracts/unknown-64x64.png rename to js-old/assets/images/contracts/unknown-64x64.png diff --git a/js/assets/images/contracts/unknown.png b/js-old/assets/images/contracts/unknown.png similarity index 100% rename from js/assets/images/contracts/unknown.png rename to js-old/assets/images/contracts/unknown.png diff --git a/js/assets/images/dapps/blocks-350.jpg b/js-old/assets/images/dapps/blocks-350.jpg similarity index 100% rename from js/assets/images/dapps/blocks-350.jpg rename to js-old/assets/images/dapps/blocks-350.jpg diff --git a/js/assets/images/dapps/close.svg b/js-old/assets/images/dapps/close.svg similarity index 100% rename from js/assets/images/dapps/close.svg rename to js-old/assets/images/dapps/close.svg diff --git a/js/assets/images/dapps/plus.svg b/js-old/assets/images/dapps/plus.svg similarity index 100% rename from js/assets/images/dapps/plus.svg rename to js-old/assets/images/dapps/plus.svg diff --git a/js/assets/images/dapps/signature.png b/js-old/assets/images/dapps/signature.png similarity index 100% rename from js/assets/images/dapps/signature.png rename to js-old/assets/images/dapps/signature.png diff --git a/js/assets/images/parity-logo-black-no-text.ico b/js-old/assets/images/parity-logo-black-no-text.ico similarity index 100% rename from js/assets/images/parity-logo-black-no-text.ico rename to js-old/assets/images/parity-logo-black-no-text.ico diff --git a/js/assets/images/parity-logo-black-no-text.png b/js-old/assets/images/parity-logo-black-no-text.png similarity index 100% rename from js/assets/images/parity-logo-black-no-text.png rename to js-old/assets/images/parity-logo-black-no-text.png diff --git a/js/assets/images/parity-logo-black-no-text.svg b/js-old/assets/images/parity-logo-black-no-text.svg similarity index 100% rename from js/assets/images/parity-logo-black-no-text.svg rename to js-old/assets/images/parity-logo-black-no-text.svg diff --git a/js/assets/images/parity-logo-black.svg b/js-old/assets/images/parity-logo-black.svg similarity index 100% rename from js/assets/images/parity-logo-black.svg rename to js-old/assets/images/parity-logo-black.svg diff --git a/js/assets/images/parity-logo-white-no-text.svg b/js-old/assets/images/parity-logo-white-no-text.svg similarity index 100% rename from js/assets/images/parity-logo-white-no-text.svg rename to js-old/assets/images/parity-logo-white-no-text.svg diff --git a/js/assets/images/parity-logo-white.svg b/js-old/assets/images/parity-logo-white.svg similarity index 100% rename from js/assets/images/parity-logo-white.svg rename to js-old/assets/images/parity-logo-white.svg diff --git a/js/assets/images/paritybar.png b/js-old/assets/images/paritybar.png similarity index 100% rename from js/assets/images/paritybar.png rename to js-old/assets/images/paritybar.png diff --git a/js/assets/images/shapeshift-btn.png b/js-old/assets/images/shapeshift-btn.png similarity index 100% rename from js/assets/images/shapeshift-btn.png rename to js-old/assets/images/shapeshift-btn.png diff --git a/js/assets/images/shapeshift-logo.png b/js-old/assets/images/shapeshift-logo.png similarity index 100% rename from js/assets/images/shapeshift-logo.png rename to js-old/assets/images/shapeshift-logo.png diff --git a/js-old/build.rs b/js-old/build.rs new file mode 100644 index 0000000000000000000000000000000000000000..a9a5ba8a6924ba4e3432829512fc1831de0ddfcf --- /dev/null +++ b/js-old/build.rs @@ -0,0 +1,22 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +extern crate parity_dapps_glue; + +fn main() { + parity_dapps_glue::js::build(env!("CARGO_MANIFEST_DIR"), "build"); + parity_dapps_glue::generate(); +} diff --git a/js/npm/etherscan/README.md b/js-old/npm/etherscan/README.md similarity index 100% rename from js/npm/etherscan/README.md rename to js-old/npm/etherscan/README.md diff --git a/js/npm/etherscan/package.json b/js-old/npm/etherscan/package.json similarity index 100% rename from js/npm/etherscan/package.json rename to js-old/npm/etherscan/package.json diff --git a/js/npm/jsonrpc/README.md b/js-old/npm/jsonrpc/README.md similarity index 100% rename from js/npm/jsonrpc/README.md rename to js-old/npm/jsonrpc/README.md diff --git a/js/npm/jsonrpc/package.json b/js-old/npm/jsonrpc/package.json similarity index 100% rename from js/npm/jsonrpc/package.json rename to js-old/npm/jsonrpc/package.json diff --git a/js/npm/parity/README.md b/js-old/npm/parity/README.md similarity index 100% rename from js/npm/parity/README.md rename to js-old/npm/parity/README.md diff --git a/js/npm/parity/package.json b/js-old/npm/parity/package.json similarity index 100% rename from js/npm/parity/package.json rename to js-old/npm/parity/package.json diff --git a/js/npm/parity/test/smoke.spec.js b/js-old/npm/parity/test/smoke.spec.js similarity index 100% rename from js/npm/parity/test/smoke.spec.js rename to js-old/npm/parity/test/smoke.spec.js diff --git a/js/npm/shapeshift/README.md b/js-old/npm/shapeshift/README.md similarity index 100% rename from js/npm/shapeshift/README.md rename to js-old/npm/shapeshift/README.md diff --git a/js/npm/shapeshift/package.json b/js-old/npm/shapeshift/package.json similarity index 100% rename from js/npm/shapeshift/package.json rename to js-old/npm/shapeshift/package.json diff --git a/js/npm/test/mocha.config.js b/js-old/npm/test/mocha.config.js similarity index 100% rename from js/npm/test/mocha.config.js rename to js-old/npm/test/mocha.config.js diff --git a/js/npm/test/mocha.opts b/js-old/npm/test/mocha.opts similarity index 100% rename from js/npm/test/mocha.opts rename to js-old/npm/test/mocha.opts diff --git a/js-old/package-lock.json b/js-old/package-lock.json new file mode 100644 index 0000000000000000000000000000000000000000..ddfb8e2af2386f980b2cef2530635eb85b88af2a --- /dev/null +++ b/js-old/package-lock.json @@ -0,0 +1,13048 @@ +{ + "name": "parity.js", + "version": "1.8.18", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@parity/wordlist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@parity/wordlist/-/wordlist-1.0.1.tgz", + "integrity": "sha1-wn5A4as2OKCe1TtKLoHVMbXrWjE=" + }, + "JSONStream": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz", + "integrity": "sha1-kWV9/m/4V0gwZhMrRhi2Lo9Ih70=", + "dev": true, + "requires": { + "jsonparse": "0.0.5", + "through": "2.3.8" + } + }, + "abab": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.3.tgz", + "integrity": "sha1-uB3l9ydOxOdW15fNg08wNkJyTl0=", + "dev": true + }, + "abbrev": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz", + "integrity": "sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8=" + }, + "accepts": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz", + "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=", + "dev": true, + "requires": { + "mime-types": "2.1.16", + "negotiator": "0.6.1" + } + }, + "acorn": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.1.1.tgz", + "integrity": "sha512-vOk6uEMctu0vQrvuSqFdJyqj1Q0S5VTDL79qtjo+DhRr+1mmaD+tluFSCZqhvi/JUhXSzoZN2BhtstaPEeE8cw==", + "dev": true + }, + "acorn-dynamic-import": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", + "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", + "dev": true, + "requires": { + "acorn": "4.0.13" + }, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + } + } + }, + "acorn-globals": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-3.1.0.tgz", + "integrity": "sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8=", + "dev": true, + "requires": { + "acorn": "4.0.13" + }, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + } + } + }, + "acorn-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", + "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "dev": true, + "requires": { + "acorn": "3.3.0" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + } + } + }, + "ajv": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.2.2.tgz", + "integrity": "sha1-R8aNaehvXZUxA7AHSpQw3GPaXjk=", + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.0.0", + "json-schema-traverse": "0.3.1", + "json-stable-stringify": "1.0.1" + }, + "dependencies": { + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + } + } + }, + "ajv-keywords": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", + "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=", + "dev": true + }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "requires": { + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" + } + }, + "alphanum-sort": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", + "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=", + "dev": true + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/ansi/-/ansi-0.3.1.tgz", + "integrity": "sha1-DELU+xcWDVqa8eSEus4cZpIsGyE=" + }, + "ansi-escapes": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz", + "integrity": "sha1-W65SvkJIeN2Xg+iRDj/Cki6DyBs=" + }, + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "any-promise": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-0.1.0.tgz", + "integrity": "sha1-gwtoCqflbzNFHUsEnzvYBESY7ic=", + "dev": true + }, + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "requires": { + "micromatch": "2.3.11", + "normalize-path": "2.1.1" + } + }, + "append-transform": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-0.4.0.tgz", + "integrity": "sha1-126/jKlNJ24keja61EpLdKthGZE=", + "dev": true, + "requires": { + "default-require-extensions": "1.0.0" + } + }, + "aproba": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.1.2.tgz", + "integrity": "sha512-ZpYajIfO0j2cOFTO955KUMIKNmj6zhX8kVztMAxFsDaMwz+9Z9SV0uou2pC9HJqcfpffOsjnbrDMvkNy+9RXPw==" + }, + "archive-type": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/archive-type/-/archive-type-3.2.0.tgz", + "integrity": "sha1-nNnABpV+vpX62tW9YJiUKoE3N/Y=", + "requires": { + "file-type": "3.9.0" + } + }, + "are-we-there-yet": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz", + "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.3" + } + }, + "argparse": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz", + "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=", + "dev": true, + "requires": { + "sprintf-js": "1.0.3" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "requires": { + "arr-flatten": "1.1.0" + } + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==" + }, + "array-differ": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", + "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=" + }, + "array-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", + "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=", + "dev": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=" + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "1.0.3" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" + }, + "array.prototype.find": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/array.prototype.find/-/array.prototype.find-2.0.4.tgz", + "integrity": "sha1-VWpcU2LAhkgyPdrrnenRS8GGTJA=", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "es-abstract": "1.7.0" + } + }, + "arraybuffer-loader": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/arraybuffer-loader/-/arraybuffer-loader-0.2.2.tgz", + "integrity": "sha1-jnKU0VGqyO1wqC53Pq0FWQ23Dik=", + "requires": { + "loader-utils": "0.2.17" + } + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", + "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + }, + "asn1.js": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.1.tgz", + "integrity": "sha1-SLokC0WpKA6UdImQull9IWYX/UA=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" + } + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" + } + }, + "assert-plus": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", + "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" + }, + "assertion-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.0.2.tgz", + "integrity": "sha1-E8pRXYYgbaC6xm6DTdOX2HWBCUw=", + "dev": true + }, + "ast-types": { + "version": "0.9.6", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.9.6.tgz", + "integrity": "sha1-ECyenpAF0+fjgpvwxPok7oYu6bk=", + "dev": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true + }, + "async-each-series": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/async-each-series/-/async-each-series-1.1.0.tgz", + "integrity": "sha1-9C/YFV048hpbjqB8KOBj7RcAsTg=", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "attr-accept": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-1.1.0.tgz", + "integrity": "sha1-tc01In8WOTWo8d4Q7T66FpQfa+Y=" + }, + "autoprefixer": { + "version": "6.7.7", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", + "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000708", + "normalize-range": "0.1.2", + "num2fraction": "1.2.2", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "aws-sign2": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", + "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" + }, + "aws4": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", + "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=" + }, + "babel-cli": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.23.0.tgz", + "integrity": "sha1-Uv+UaisPZGRcNee9XuomeqCUjA8=", + "dev": true, + "requires": { + "babel-core": "6.23.1", + "babel-polyfill": "6.23.0", + "babel-register": "6.23.0", + "babel-runtime": "6.23.0", + "chokidar": "1.7.0", + "commander": "2.8.1", + "convert-source-map": "1.5.0", + "fs-readdir-recursive": "1.0.0", + "glob": "7.1.2", + "lodash": "4.17.2", + "output-file-sync": "1.1.2", + "path-is-absolute": "1.0.1", + "slash": "1.0.0", + "source-map": "0.5.6", + "v8flags": "2.1.1" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + } + } + }, + "babel-code-frame": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.22.0.tgz", + "integrity": "sha1-AnYgvuVnqIwyVhV05/0IAdMxGOQ=", + "requires": { + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + } + }, + "babel-core": { + "version": "6.23.1", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.23.1.tgz", + "integrity": "sha1-wUPLYhuy9iFxDCIMXVedFbikQt8=", + "dev": true, + "requires": { + "babel-code-frame": "6.22.0", + "babel-generator": "6.25.0", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.23.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "convert-source-map": "1.5.0", + "debug": "2.6.8", + "json5": "0.5.1", + "lodash": "4.17.2", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.7", + "slash": "1.0.0", + "source-map": "0.5.6" + } + }, + "babel-eslint": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-7.1.1.tgz", + "integrity": "sha1-imqITwhapwYK9pz8dzQcL5k3D7I=", + "dev": true, + "requires": { + "babel-code-frame": "6.22.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "lodash.pickby": "4.6.0" + } + }, + "babel-generator": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.25.0.tgz", + "integrity": "sha1-M6GvcNXyiQrrRlpKd5PB32qeqfw=", + "requires": { + "babel-messages": "6.23.0", + "babel-runtime": "6.23.0", + "babel-types": "6.25.0", + "detect-indent": "4.0.0", + "jsesc": "1.3.0", + "lodash": "4.17.2", + "source-map": "0.5.6", + "trim-right": "1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" + } + } + }, + "babel-helper-bindify-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz", + "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=", + "dev": true, + "requires": { + "babel-runtime": "6.23.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", + "dev": true, + "requires": { + "babel-helper-explode-assignable-expression": "6.24.1", + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-builder-react-jsx": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.24.1.tgz", + "integrity": "sha1-CteRfjPI11HmRtrKTnfMGTd9LLw=", + "dev": true, + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0", + "esutils": "2.0.2" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.23.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-define-map": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.24.1.tgz", + "integrity": "sha1-epdH8ljYlH0y1RX2qhx70CIEoIA=", + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.23.0", + "babel-types": "6.25.0", + "lodash": "4.17.2" + } + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "dev": true, + "requires": { + "babel-runtime": "6.23.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-explode-class": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz", + "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=", + "dev": true, + "requires": { + "babel-helper-bindify-decorators": "6.24.1", + "babel-runtime": "6.23.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "requires": { + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.24.1.tgz", + "integrity": "sha1-024i+rEAjXnYhkjjIRaGgShFbOg=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0", + "lodash": "4.17.2" + } + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "requires": { + "babel-helper-optimise-call-expression": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "requires": { + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-loader": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-6.3.2.tgz", + "integrity": "sha1-GN5FZjhVeMG0+P/my8Zo9eKl7wM=", + "dev": true, + "requires": { + "find-cache-dir": "0.1.1", + "loader-utils": "0.2.17", + "mkdirp": "0.5.1", + "object-assign": "4.1.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-lodash": { + "version": "3.2.11", + "resolved": "https://registry.npmjs.org/babel-plugin-lodash/-/babel-plugin-lodash-3.2.11.tgz", + "integrity": "sha1-Icj97J/hg176pzeHPjkCvdZtVwE=", + "dev": true, + "requires": { + "glob": "7.1.2", + "lodash": "4.17.2" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + } + } + }, + "babel-plugin-react-intl": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-react-intl/-/babel-plugin-react-intl-2.3.1.tgz", + "integrity": "sha1-PUORLoJNoAXgjo6COdW6eEN0uwA=", + "dev": true, + "requires": { + "babel-runtime": "6.23.0", + "intl-messageformat-parser": "1.2.0", + "mkdirp": "0.5.1" + } + }, + "babel-plugin-recharts": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/babel-plugin-recharts/-/babel-plugin-recharts-1.1.0.tgz", + "integrity": "sha1-gSzISxPrWN1AWyxjoo6m97JqtKc=", + "dev": true, + "requires": { + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "babylon": "6.17.4" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "babel-plugin-syntax-async-generators": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz", + "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=", + "dev": true + }, + "babel-plugin-syntax-class-constructor-call": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz", + "integrity": "sha1-nLnTn+Q8hgC+yBRkVt3L1OGnZBY=", + "dev": true + }, + "babel-plugin-syntax-class-properties": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", + "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=", + "dev": true + }, + "babel-plugin-syntax-decorators": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz", + "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=", + "dev": true + }, + "babel-plugin-syntax-do-expressions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz", + "integrity": "sha1-V0d1YTmqJtOQ0JQQsDdEugfkeW0=", + "dev": true + }, + "babel-plugin-syntax-dynamic-import": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", + "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=", + "dev": true + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", + "dev": true + }, + "babel-plugin-syntax-export-extensions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz", + "integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE=", + "dev": true + }, + "babel-plugin-syntax-flow": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz", + "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=", + "dev": true + }, + "babel-plugin-syntax-function-bind": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz", + "integrity": "sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y=", + "dev": true + }, + "babel-plugin-syntax-jsx": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=", + "dev": true + }, + "babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "dev": true + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", + "dev": true + }, + "babel-plugin-transform-async-generator-functions": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz", + "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-generators": "6.13.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-functions": "6.13.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-class-constructor-call": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz", + "integrity": "sha1-gNwoVQWsBn3LjWxl4vbxGrd2Xvk=", + "dev": true, + "requires": { + "babel-plugin-syntax-class-constructor-call": "6.18.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-plugin-transform-class-properties": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.23.0.tgz", + "integrity": "sha1-GHt0fuQEOZATVjyZPbA480dUrDs=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-plugin-syntax-class-properties": "6.13.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-plugin-transform-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz", + "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=", + "dev": true, + "requires": { + "babel-helper-explode-class": "6.24.1", + "babel-plugin-syntax-decorators": "6.13.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-decorators-legacy": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators-legacy/-/babel-plugin-transform-decorators-legacy-1.3.4.tgz", + "integrity": "sha1-dBtY9sW86eYCfgiC2cmU8E82aSU=", + "dev": true, + "requires": { + "babel-plugin-syntax-decorators": "6.13.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-plugin-transform-do-expressions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz", + "integrity": "sha1-KMyvkoEtlJws0SgfaQyP3EaK6bs=", + "dev": true, + "requires": { + "babel-plugin-syntax-do-expressions": "6.13.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.24.1.tgz", + "integrity": "sha1-dsKV3DpHQbFmWt/TFnIV3P8ypXY=", + "requires": { + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "lodash": "4.17.2" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "requires": { + "babel-helper-define-map": "6.24.1", + "babel-helper-function-name": "6.24.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-helper-replace-supers": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "requires": { + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.1.tgz", + "integrity": "sha1-0+MQtA72ZKNmIiAAl8bUQCmPK/4=", + "requires": { + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "requires": { + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "requires": { + "babel-helper-replace-supers": "6.24.1", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "requires": { + "babel-helper-call-delegate": "6.24.1", + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", + "requires": { + "babel-helper-regex": "6.24.1", + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", + "requires": { + "babel-helper-regex": "6.24.1", + "babel-runtime": "6.23.0", + "regexpu-core": "2.0.0" + } + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", + "dev": true, + "requires": { + "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", + "babel-plugin-syntax-exponentiation-operator": "6.13.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-export-extensions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz", + "integrity": "sha1-U3OLR+deghhYnuqUbLvTkQm75lM=", + "dev": true, + "requires": { + "babel-plugin-syntax-export-extensions": "6.13.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-flow-strip-types": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz", + "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=", + "dev": true, + "requires": { + "babel-plugin-syntax-flow": "6.18.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-function-bind": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz", + "integrity": "sha1-xvuOlqwpajELjPjqQBRiQH3fapc=", + "dev": true, + "requires": { + "babel-plugin-syntax-function-bind": "6.13.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-object-rest-spread": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.23.0.tgz", + "integrity": "sha1-h11ryb52HFiirj/u5dxIldjH+SE=", + "dev": true, + "requires": { + "babel-plugin-syntax-object-rest-spread": "6.13.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-react-display-name": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz", + "integrity": "sha1-Z+K/Hx6ck6sI25Z5LgU5K/LMKNE=", + "dev": true, + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-react-jsx": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz", + "integrity": "sha1-hAoCjn30YN/DotKfDA2R9jduZqM=", + "dev": true, + "requires": { + "babel-helper-builder-react-jsx": "6.24.1", + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-react-jsx-self": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz", + "integrity": "sha1-322AqdomEqEh5t3XVYvL7PBuY24=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-react-jsx-source": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz", + "integrity": "sha1-ZqwSFT9c0tF7PBkmj0vwGX9E7NY=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-react-remove-prop-types": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.3.2.tgz", + "integrity": "sha1-bajYNMbXrYqwL5VlCXkM+qAf/hk=", + "dev": true + }, + "babel-plugin-transform-regenerator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz", + "integrity": "sha1-uNowWtQ8PJm0hI5P5AN7dw0jxBg=", + "requires": { + "regenerator-transform": "0.9.11" + } + }, + "babel-plugin-transform-runtime": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz", + "integrity": "sha1-iEkNRGUC6puOfvsP4J7E2ZR5se4=", + "dev": true, + "requires": { + "babel-runtime": "6.23.0" + } + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0" + } + }, + "babel-plugin-webpack-alias": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/babel-plugin-webpack-alias/-/babel-plugin-webpack-alias-2.1.2.tgz", + "integrity": "sha1-BaG6I8KFlWYPtupXNkJPxZa0okc=", + "dev": true, + "requires": { + "babel-types": "6.25.0", + "find-up": "2.1.0", + "lodash.some": "4.6.0", + "lodash.template": "4.4.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "2.0.0" + } + }, + "lodash.template": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz", + "integrity": "sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=", + "dev": true, + "requires": { + "lodash._reinterpolate": "3.0.0", + "lodash.templatesettings": "4.1.0" + } + }, + "lodash.templatesettings": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz", + "integrity": "sha1-K01OlbpEDZFf8IvImeRVNmZxMxY=", + "dev": true, + "requires": { + "lodash._reinterpolate": "3.0.0" + } + } + } + }, + "babel-polyfill": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.23.0.tgz", + "integrity": "sha1-g2TKYt+Or7gwSZ9pkXdGbDsDSZ0=", + "dev": true, + "requires": { + "babel-runtime": "6.23.0", + "core-js": "2.4.1", + "regenerator-runtime": "0.10.5" + } + }, + "babel-preset-env": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.1.9.tgz", + "integrity": "sha1-SUQ9zW71K0i3GR6jOGniRZCp60o=", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.24.1", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.24.1", + "browserslist": "1.7.7", + "electron-to-chromium": "1.3.16", + "invariant": "2.2.2" + } + }, + "babel-preset-es2015": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.22.0.tgz", + "integrity": "sha1-r1qY7LNeuK92StiloF6zbcQ4aDU=", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.24.1", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-regenerator": "6.24.1" + } + }, + "babel-preset-es2016": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-preset-es2016/-/babel-preset-es2016-6.22.0.tgz", + "integrity": "sha1-sGGqo5g9QMn7rPo3Q7XfN/M2FWw=", + "dev": true, + "requires": { + "babel-plugin-transform-exponentiation-operator": "6.24.1" + } + }, + "babel-preset-es2017": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-preset-es2017/-/babel-preset-es2017-6.22.0.tgz", + "integrity": "sha1-3i+dpaMMUNKT+1SguhXW3cVz8PI=", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1" + } + }, + "babel-preset-flow": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz", + "integrity": "sha1-5xIYiHCFrpoktb5Baa/7WZgWxJ0=", + "dev": true, + "requires": { + "babel-plugin-transform-flow-strip-types": "6.22.0" + } + }, + "babel-preset-react": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.23.0.tgz", + "integrity": "sha1-63zuTemKP5RQLChWUzLamBlFUZU=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-plugin-transform-react-display-name": "6.25.0", + "babel-plugin-transform-react-jsx": "6.24.1", + "babel-plugin-transform-react-jsx-self": "6.22.0", + "babel-plugin-transform-react-jsx-source": "6.22.0", + "babel-preset-flow": "6.23.0" + } + }, + "babel-preset-stage-0": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-preset-stage-0/-/babel-preset-stage-0-6.22.0.tgz", + "integrity": "sha1-cH7rW0Fdp2nv+cQvRUf2RPkpbvk=", + "dev": true, + "requires": { + "babel-plugin-transform-do-expressions": "6.22.0", + "babel-plugin-transform-function-bind": "6.22.0", + "babel-preset-stage-1": "6.24.1" + } + }, + "babel-preset-stage-1": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz", + "integrity": "sha1-dpLNfc1oSZB+auSgqFWJz7niv7A=", + "dev": true, + "requires": { + "babel-plugin-transform-class-constructor-call": "6.24.1", + "babel-plugin-transform-export-extensions": "6.22.0", + "babel-preset-stage-2": "6.24.1" + } + }, + "babel-preset-stage-2": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz", + "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=", + "dev": true, + "requires": { + "babel-plugin-syntax-dynamic-import": "6.18.0", + "babel-plugin-transform-class-properties": "6.24.1", + "babel-plugin-transform-decorators": "6.24.1", + "babel-preset-stage-3": "6.24.1" + }, + "dependencies": { + "babel-plugin-transform-class-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", + "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-plugin-syntax-class-properties": "6.13.0", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0" + } + } + } + }, + "babel-preset-stage-3": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz", + "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-generator-functions": "6.24.1", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-object-rest-spread": "6.23.0" + } + }, + "babel-register": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.23.0.tgz", + "integrity": "sha1-yao9TMqUtR2jSCbEoPnggUXXT/M=", + "dev": true, + "requires": { + "babel-core": "6.23.1", + "babel-runtime": "6.23.0", + "core-js": "2.4.1", + "home-or-tmp": "2.0.0", + "lodash": "4.17.2", + "mkdirp": "0.5.1", + "source-map-support": "0.4.15" + } + }, + "babel-runtime": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz", + "integrity": "sha1-CpSJ8UTecO+zzkMArM2zKeL8VDs=", + "requires": { + "core-js": "2.4.1", + "regenerator-runtime": "0.10.5" + } + }, + "babel-template": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.25.0.tgz", + "integrity": "sha1-ZlJBFmt8KqTGGdceGSlpVSsQwHE=", + "requires": { + "babel-runtime": "6.23.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "lodash": "4.17.2" + } + }, + "babel-traverse": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.25.0.tgz", + "integrity": "sha1-IldJfi/NGbie3BPEyROB+VEklvE=", + "requires": { + "babel-code-frame": "6.22.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.23.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "debug": "2.6.8", + "globals": "9.18.0", + "invariant": "2.2.2", + "lodash": "4.17.2" + } + }, + "babel-types": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.25.0.tgz", + "integrity": "sha1-cK+ySNVmDl0Y+BHZHIMDtUE0oY4=", + "requires": { + "babel-runtime": "6.23.0", + "esutils": "2.0.2", + "lodash": "4.17.2", + "to-fast-properties": "1.0.3" + } + }, + "babelify": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz", + "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=", + "requires": { + "babel-core": "6.25.0", + "object-assign": "4.1.1" + }, + "dependencies": { + "babel-core": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.25.0.tgz", + "integrity": "sha1-fdQrBGPHQunVKW3rPsZ6kyLa1yk=", + "requires": { + "babel-code-frame": "6.22.0", + "babel-generator": "6.25.0", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.24.1", + "babel-runtime": "6.23.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "convert-source-map": "1.5.0", + "debug": "2.6.8", + "json5": "0.5.1", + "lodash": "4.17.2", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.7", + "slash": "1.0.0", + "source-map": "0.5.6" + } + }, + "babel-register": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.24.1.tgz", + "integrity": "sha1-fhDhOi9xBlvfrVoXh7pFvKbe118=", + "requires": { + "babel-core": "6.25.0", + "babel-runtime": "6.23.0", + "core-js": "2.4.1", + "home-or-tmp": "2.0.0", + "lodash": "4.17.2", + "mkdirp": "0.5.1", + "source-map-support": "0.4.15" + } + } + } + }, + "babylon": { + "version": "6.17.4", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.17.4.tgz", + "integrity": "sha512-kChlV+0SXkjE0vUn9OZ7pBMWRFd8uq3mZe8x1K6jhuNcAFAtEnjchFAqB+dYEXKyd+JpT6eppRR78QAr5gTsUw==" + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "base32.js": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/base32.js/-/base32.js-0.1.0.tgz", + "integrity": "sha1-tYLexpPC8R6JPPBk7mrFthMaIgI=" + }, + "base64-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", + "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==", + "dev": true + }, + "batch-processor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/batch-processor/-/batch-processor-1.0.0.tgz", + "integrity": "sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg=" + }, + "bcrypt-pbkdf": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", + "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", + "optional": true, + "requires": { + "tweetnacl": "0.14.5" + } + }, + "beeper": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.1.tgz", + "integrity": "sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak=" + }, + "big.js": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.1.3.tgz", + "integrity": "sha1-TK2iGTZS6zyp7I5VyQFWacmAaXg=" + }, + "bignumber.js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-3.0.1.tgz", + "integrity": "sha1-gHZS0Q453jfp40lyR+3HmLt0b3Y=" + }, + "bin-build": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/bin-build/-/bin-build-2.2.0.tgz", + "integrity": "sha1-EfjdYfcP/Por3KpbRvXo/t1CIcw=", + "dev": true, + "requires": { + "archive-type": "3.2.0", + "decompress": "3.0.0", + "download": "4.4.3", + "exec-series": "1.0.3", + "rimraf": "2.6.1", + "tempfile": "1.1.1", + "url-regex": "3.2.0" + }, + "dependencies": { + "tempfile": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-1.1.1.tgz", + "integrity": "sha1-W8xOrsxKsscH2LwR2ZzMmiyyh/I=", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2", + "uuid": "2.0.3" + } + }, + "uuid": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", + "dev": true + } + } + }, + "bin-check": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bin-check/-/bin-check-2.0.0.tgz", + "integrity": "sha1-hvjm9CU4k99g3DFpV/WvAqywWTA=", + "dev": true, + "requires": { + "executable": "1.1.0" + } + }, + "bin-version": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/bin-version/-/bin-version-1.0.4.tgz", + "integrity": "sha1-nrSY7m/Xb3q5p8FgQ2+JV5Q1144=", + "dev": true, + "requires": { + "find-versions": "1.2.1" + } + }, + "bin-version-check": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/bin-version-check/-/bin-version-check-2.1.0.tgz", + "integrity": "sha1-5OXfKQuQaffRETJAMe/BP90RpbA=", + "dev": true, + "requires": { + "bin-version": "1.0.4", + "minimist": "1.2.0", + "semver": "4.3.6", + "semver-truncate": "1.1.2" + }, + "dependencies": { + "semver": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", + "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=", + "dev": true + } + } + }, + "bin-wrapper": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/bin-wrapper/-/bin-wrapper-3.0.2.tgz", + "integrity": "sha1-Z9MwYmLksaXy+I7iNGT2plVneus=", + "dev": true, + "requires": { + "bin-check": "2.0.0", + "bin-version-check": "2.1.0", + "download": "4.4.3", + "each-async": "1.1.1", + "lazy-req": "1.1.0", + "os-filter-obj": "1.0.3" + } + }, + "binary-extensions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.9.0.tgz", + "integrity": "sha1-ZlBsFs5vTWkopbPNajPKQelB43s=", + "dev": true + }, + "bindings": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.0.tgz", + "integrity": "sha512-DpLh5EzMR2kzvX1KIlVC0VkC3iZtHKTgdtZ0a3pglBZdaQFjt5S9g9xd1lE+YvXyfd6mtCeRnrUfOLYiTMlNSw==" + }, + "bip66": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", + "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", + "requires": { + "safe-buffer": "5.1.1" + } + }, + "bl": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.1.tgz", + "integrity": "sha1-ysMo977kVzDUBLaSID/LWQ4XLV4=", + "requires": { + "readable-stream": "2.3.3" + } + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "requires": { + "inherits": "2.0.3" + } + }, + "blockies": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/blockies/-/blockies-0.0.2.tgz", + "integrity": "sha1-Iq1Y2k9rOCvHm/Q4bFggxwBH5O0=" + }, + "bluebird": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", + "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=", + "dev": true + }, + "bn.js": { + "version": "4.11.7", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.7.tgz", + "integrity": "sha512-LxFiV5mefv0ley0SzqkOPR1bC4EbpPx8LkOz5vMe/Yi15t5hzwgO/G+tc7wOtL4PZTYjwHu8JnEiSLumuSjSfA==" + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "boom": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", + "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", + "requires": { + "hoek": "2.16.3" + } + }, + "bowser": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-1.7.1.tgz", + "integrity": "sha1-pN6PGKGg3JUx6yqSoVIftqm6lqU=" + }, + "brace": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/brace/-/brace-0.9.0.tgz", + "integrity": "sha1-rQNLrmUiDrZ22UnLKAOD+o4S+nI=", + "requires": { + "w3c-blob": "0.0.1" + } + }, + "brace-expansion": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", + "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "requires": { + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.2" + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "browser-stdout": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", + "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", + "dev": true + }, + "browserify-aes": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.0.6.tgz", + "integrity": "sha1-Xncl297x/Vkw1OurSFZ85FHEigo=", + "requires": { + "buffer-xor": "1.0.3", + "cipher-base": "1.0.4", + "create-hash": "1.1.3", + "evp_bytestokey": "1.0.0", + "inherits": "2.0.3" + } + }, + "browserify-cipher": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz", + "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", + "dev": true, + "requires": { + "browserify-aes": "1.0.6", + "browserify-des": "1.0.0", + "evp_bytestokey": "1.0.0" + } + }, + "browserify-des": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.0.tgz", + "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", + "dev": true, + "requires": { + "cipher-base": "1.0.4", + "des.js": "1.0.0", + "inherits": "2.0.3" + } + }, + "browserify-rsa": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "randombytes": "2.0.5" + } + }, + "browserify-sign": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", + "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "browserify-rsa": "4.0.1", + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "elliptic": "6.4.0", + "inherits": "2.0.3", + "parse-asn1": "5.1.0" + } + }, + "browserify-zlib": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", + "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", + "dev": true, + "requires": { + "pako": "0.2.9" + } + }, + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000708", + "electron-to-chromium": "1.3.16" + } + }, + "buffer": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", + "dev": true, + "requires": { + "base64-js": "1.2.1", + "ieee754": "1.1.8", + "isarray": "1.0.0" + } + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" + }, + "buffer-to-vinyl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-to-vinyl/-/buffer-to-vinyl-1.1.0.tgz", + "integrity": "sha1-APFfruOreh3aLN5tkSG//dB7ImI=", + "requires": { + "file-type": "3.9.0", + "readable-stream": "2.3.3", + "uuid": "2.0.3", + "vinyl": "1.2.0" + }, + "dependencies": { + "uuid": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=" + } + } + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "bytes": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-2.4.0.tgz", + "integrity": "sha1-fZcZb51br39pNeJZhVSe3SpsIzk=" + }, + "caller-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", + "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", + "dev": true, + "requires": { + "callsites": "0.2.0" + } + }, + "callsites": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", + "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", + "dev": true + }, + "camel-case": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", + "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=", + "dev": true, + "requires": { + "no-case": "2.3.1", + "upper-case": "1.1.3" + } + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=" + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "requires": { + "camelcase": "2.1.1", + "map-obj": "1.0.1" + } + }, + "caniuse-api": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-1.6.1.tgz", + "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000708", + "lodash.memoize": "4.1.2", + "lodash.uniq": "4.5.0" + } + }, + "caniuse-db": { + "version": "1.0.30000708", + "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000708.tgz", + "integrity": "sha1-wuc2vTt/xfbBTkxt/mK5jtFeils=", + "dev": true + }, + "capture-stack-trace": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", + "integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "caw": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/caw/-/caw-1.2.0.tgz", + "integrity": "sha1-/7Im/n78VHKI3GLuPpcHPCEtEDQ=", + "requires": { + "get-proxy": "1.1.0", + "is-obj": "1.0.1", + "object-assign": "3.0.0", + "tunnel-agent": "0.4.3" + }, + "dependencies": { + "object-assign": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz", + "integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=" + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" + } + } + }, + "center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "requires": { + "align-text": "0.1.4", + "lazy-cache": "1.0.4" + } + }, + "chai": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-3.5.0.tgz", + "integrity": "sha1-TQJjewZ/6Vi9v906QOxW/vc3Mkc=", + "dev": true, + "requires": { + "assertion-error": "1.0.2", + "deep-eql": "0.1.3", + "type-detect": "1.0.0" + } + }, + "chai-as-promised": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-6.0.0.tgz", + "integrity": "sha1-GgKkM6byTa+sY7nJb6FoTbGqjaY=", + "dev": true, + "requires": { + "check-error": "1.0.2" + } + }, + "chai-enzyme": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/chai-enzyme/-/chai-enzyme-0.6.1.tgz", + "integrity": "sha1-WFyWPG6hMxRG79Eu6DkegH11hiA=", + "dev": true, + "requires": { + "html": "1.0.0", + "react-element-to-jsx-string": "5.0.7" + }, + "dependencies": { + "lodash": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "dev": true + }, + "react-element-to-jsx-string": { + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-5.0.7.tgz", + "integrity": "sha1-xmOkgAqccSEVwNhRnLAhWkah8PI=", + "dev": true, + "requires": { + "collapse-white-space": "1.0.3", + "is-plain-object": "2.0.4", + "lodash": "4.17.4", + "sortobject": "1.1.1", + "stringify-object": "2.4.0", + "traverse": "0.6.6" + } + }, + "stringify-object": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-2.4.0.tgz", + "integrity": "sha1-xi0RAj6yH+LZsIe+A5om3zsioJ0=", + "dev": true, + "requires": { + "is-plain-obj": "1.1.0", + "is-regexp": "1.0.0" + } + } + } + }, + "chain-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/chain-function/-/chain-function-1.0.0.tgz", + "integrity": "sha1-DUqzfn4Y6tC9xHuSB2QRjOWHM9w=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "change-emitter": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/change-emitter/-/change-emitter-0.1.6.tgz", + "integrity": "sha1-6LL+PX8at9aaMhma/5HqaTFAlRU=" + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true + }, + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "dev": true, + "requires": { + "css-select": "1.2.0", + "dom-serializer": "0.1.0", + "entities": "1.1.1", + "htmlparser2": "3.9.2", + "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.0", + "lodash.pick": "4.4.0", + "lodash.reduce": "4.6.0", + "lodash.reject": "4.6.0", + "lodash.some": "4.6.0" + } + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "requires": { + "anymatch": "1.3.2", + "async-each": "1.0.1", + "glob-parent": "2.0.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "2.0.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0" + }, + "dependencies": { + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "2.0.1" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + } + } + }, + "chownr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz", + "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=" + }, + "ci-info": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.0.0.tgz", + "integrity": "sha1-3FKF8rTiUYIWg2gcOBwziPRuxTQ=" + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "requires": { + "inherits": "2.0.3", + "safe-buffer": "5.1.1" + } + }, + "circular-dependency-plugin": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-2.0.0.tgz", + "integrity": "sha1-wQeWyDOQSIqbzdQvAy1uZOmE9mA=", + "dev": true + }, + "circular-json": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", + "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", + "dev": true + }, + "clap": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/clap/-/clap-1.2.0.tgz", + "integrity": "sha1-WckP4+E3EEdG/xlGmiemNP9oyFc=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + }, + "classnames": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.5.tgz", + "integrity": "sha1-+zgB1FNGdknvNgPH1hoCvRKb3m0=" + }, + "clean-css": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.1.7.tgz", + "integrity": "sha1-ua6k+FZ5iJzz6ui0A0nsTr390DI=", + "dev": true, + "requires": { + "source-map": "0.5.6" + } + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "requires": { + "restore-cursor": "2.0.0" + } + }, + "cli-width": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.1.0.tgz", + "integrity": "sha1-sjTKIJsp72b8UY2bmNWEewDt8Ao=" + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" + } + }, + "clone": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz", + "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=" + }, + "clone-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.0.tgz", + "integrity": "sha1-6uCiQT9VwJQvgYwin+/OhF1/Oxw=", + "dev": true, + "requires": { + "is-regexp": "1.0.0", + "is-supported-regexp-flag": "1.0.0" + } + }, + "clone-stats": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz", + "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=" + }, + "cmd-shim": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz", + "integrity": "sha1-b8vamUg6j9FdfTChlspp1oii79s=", + "requires": { + "graceful-fs": "4.1.11", + "mkdirp": "0.5.1" + } + }, + "co": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/co/-/co-3.1.0.tgz", + "integrity": "sha1-TqVOpaCJOBUxheFSEMaNkJK8G3g=" + }, + "coa": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/coa/-/coa-1.0.4.tgz", + "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=", + "dev": true, + "requires": { + "q": "1.5.0" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + }, + "codemirror": { + "version": "5.28.0", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.28.0.tgz", + "integrity": "sha512-E/Z6050shti9v9ivl0dUClVRM4xaH204jsJmEpNYC6KDTlQwAz+5DdhLzn0tjaL/Mp1P0J1uhZokcSP2RFSwlA==" + }, + "collapse-white-space": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.3.tgz", + "integrity": "sha1-S5BvZw5aljqHt2sOFolkM0G2Ajw=" + }, + "color": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz", + "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=", + "dev": true, + "requires": { + "clone": "1.0.2", + "color-convert": "1.9.0", + "color-string": "0.3.0" + } + }, + "color-convert": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.0.tgz", + "integrity": "sha1-Gsz5fdc5uYO/mU1W/sj5WFNkG3o=", + "requires": { + "color-name": "1.1.3" + } + }, + "color-diff": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/color-diff/-/color-diff-0.1.7.tgz", + "integrity": "sha1-bbeM2UgqjkWdQIIer0tQMoPcuOI=", + "dev": true + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "color-string": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz", + "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "colorguard": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/colorguard/-/colorguard-1.2.0.tgz", + "integrity": "sha1-8/rK9cquuk71RlPZ+yW7cxd8DYQ=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "color-diff": "0.1.7", + "log-symbols": "1.0.2", + "object-assign": "4.1.1", + "pipetteur": "2.0.3", + "plur": "2.1.2", + "postcss": "5.2.17", + "postcss-reporter": "1.4.1", + "text-table": "0.2.0", + "yargs": "1.3.3" + }, + "dependencies": { + "postcss-reporter": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", + "integrity": "sha1-wTbwpbFhkV83ndN2XGEHX357mvI=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "lodash": "4.17.2", + "log-symbols": "1.0.2", + "postcss": "5.2.17" + } + }, + "yargs": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-1.3.3.tgz", + "integrity": "sha1-BU3oth8i7v23IHBZ6u+da4P7kxo=", + "dev": true + } + } + }, + "colormin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz", + "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=", + "dev": true, + "requires": { + "color": "0.11.4", + "css-color-names": "0.0.4", + "has": "1.0.1" + } + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", + "dev": true + }, + "combined-stream": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", + "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", + "requires": { + "delayed-stream": "1.0.0" + } + }, + "commander": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", + "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", + "requires": { + "graceful-readlink": "1.0.1" + } + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "commonmark": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/commonmark/-/commonmark-0.24.0.tgz", + "integrity": "sha1-uA3gGCxUY1VkOqFdsSv7KCNoJ48=", + "requires": { + "entities": "1.1.1", + "mdurl": "1.0.1", + "string.prototype.repeat": "0.2.0" + } + }, + "commonmark-react-renderer": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/commonmark-react-renderer/-/commonmark-react-renderer-4.3.3.tgz", + "integrity": "sha1-nEvKE4vIMoe655LM8TNzi+nLxvo=", + "requires": { + "in-publish": "2.0.0", + "lodash.assign": "4.2.0", + "lodash.isplainobject": "4.0.6", + "pascalcase": "0.1.1", + "xss-filters": "1.2.7" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", + "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.3", + "typedarray": "0.0.6" + } + }, + "console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", + "dev": true, + "requires": { + "date-now": "0.1.4" + }, + "dependencies": { + "date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", + "dev": true + } + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" + }, + "console-stream": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/console-stream/-/console-stream-0.1.1.tgz", + "integrity": "sha1-oJX+B7IEZZVfL6/Si11yvM2UnUQ=", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", + "dev": true + }, + "content-type": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.2.tgz", + "integrity": "sha1-t9ETrueo3Se9IRM8TcJSnfFyHu0=", + "dev": true + }, + "content-type-parser": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/content-type-parser/-/content-type-parser-1.0.1.tgz", + "integrity": "sha1-w+VpiMU8ZRJ/tG1AMqOpACRv3JQ=", + "dev": true + }, + "convert-source-map": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", + "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=" + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-to-clipboard": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.0.8.tgz", + "integrity": "sha512-c3GdeY8qxCHGezVb1EFQfHYK/8NZRemgcTIzPq7PuxjHAf/raKibn2QdhHPb/y6q74PMgH6yizaDZlRmw6QyKw==", + "requires": { + "toggle-selection": "1.0.6" + } + }, + "copy-webpack-plugin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.0.1.tgz", + "integrity": "sha1-lyjjg7lDFgUNDHRjlY8rhcCqggA=", + "dev": true, + "requires": { + "bluebird": "2.11.0", + "fs-extra": "0.26.7", + "glob": "6.0.4", + "is-glob": "3.1.0", + "loader-utils": "0.2.17", + "lodash": "4.17.2", + "minimatch": "3.0.4", + "node-dir": "0.1.17" + }, + "dependencies": { + "glob": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", + "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", + "dev": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + } + } + }, + "core-js": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", + "integrity": "sha1-TekR5mew6ukSTjQlS1OupvxhjT4=" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cosmiconfig": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.2.2.tgz", + "integrity": "sha512-GiNXLwAFPYHy25XmTPpafYvn3CLAkJ8FLsscq78MQd1Kh0OU6Yzhn4eV2MVF4G9WEQZoWEGltatdR+ntGPMl5A==", + "dev": true, + "requires": { + "is-directory": "0.3.1", + "js-yaml": "3.6.1", + "minimist": "1.2.0", + "object-assign": "4.1.1", + "os-homedir": "1.0.2", + "parse-json": "2.2.0", + "require-from-string": "1.2.1" + } + }, + "coveralls": { + "version": "2.11.16", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.11.16.tgz", + "integrity": "sha1-2pBhJlFC3e6VT2g3kSK+l76KtLE=", + "dev": true, + "requires": { + "js-yaml": "3.6.1", + "lcov-parse": "0.0.10", + "log-driver": "1.2.5", + "minimist": "1.2.0", + "request": "2.79.0" + }, + "dependencies": { + "caseless": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", + "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=", + "dev": true + }, + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "dev": true + }, + "extend": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", + "dev": true + }, + "har-validator": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", + "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "commander": "2.11.0", + "is-my-json-valid": "2.16.0", + "pinkie-promise": "2.0.1" + } + }, + "request": { + "version": "2.79.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", + "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", + "dev": true, + "requires": { + "aws-sign2": "0.6.0", + "aws4": "1.6.0", + "caseless": "0.11.0", + "combined-stream": "1.0.5", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.1.4", + "har-validator": "2.0.6", + "hawk": "3.1.3", + "http-signature": "1.1.1", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.16", + "oauth-sign": "0.8.2", + "qs": "6.3.0", + "stringstream": "0.0.5", + "tough-cookie": "2.3.2", + "tunnel-agent": "0.4.3", + "uuid": "3.0.0" + } + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", + "dev": true + } + } + }, + "create-ecdh": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", + "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "elliptic": "6.4.0" + } + }, + "create-error-class": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", + "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "requires": { + "capture-stack-trace": "1.0.0" + } + }, + "create-hash": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.3.tgz", + "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", + "requires": { + "cipher-base": "1.0.4", + "inherits": "2.0.3", + "ripemd160": "2.0.1", + "sha.js": "2.4.8" + } + }, + "create-hmac": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.6.tgz", + "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=", + "requires": { + "cipher-base": "1.0.4", + "create-hash": "1.1.3", + "inherits": "2.0.3", + "ripemd160": "2.0.1", + "safe-buffer": "5.1.1", + "sha.js": "2.4.8" + } + }, + "create-thenable": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/create-thenable/-/create-thenable-1.0.2.tgz", + "integrity": "sha1-4gMXIMzJV12M+jH1wUbnYqgMBTQ=", + "dev": true, + "requires": { + "object.omit": "2.0.1", + "unique-concat": "0.2.2" + } + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "4.1.1", + "shebang-command": "1.2.0", + "which": "1.2.14" + } + }, + "cryptiles": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", + "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", + "requires": { + "boom": "2.10.1" + } + }, + "crypto-browserify": { + "version": "3.11.1", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.11.1.tgz", + "integrity": "sha512-Na7ZlwCOqoaW5RwUK1WpXws2kv8mNhWdTlzob0UXulk6G9BDbyiJaGTYBIX61Ozn9l1EPPJpICZb4DaOpT9NlQ==", + "dev": true, + "requires": { + "browserify-cipher": "1.0.0", + "browserify-sign": "4.0.4", + "create-ecdh": "4.0.0", + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "diffie-hellman": "5.0.2", + "inherits": "2.0.3", + "pbkdf2": "3.0.12", + "public-encrypt": "4.0.0", + "randombytes": "2.0.5" + } + }, + "crypto-js": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz", + "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" + }, + "css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", + "dev": true + }, + "css-loader": { + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.26.1.tgz", + "integrity": "sha1-K6fyATG5NZdJaz6btQB4WknNKeo=", + "dev": true, + "requires": { + "babel-code-frame": "6.22.0", + "css-selector-tokenizer": "0.7.0", + "cssnano": "3.10.0", + "loader-utils": "0.2.17", + "lodash.camelcase": "4.3.0", + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-modules-extract-imports": "1.1.0", + "postcss-modules-local-by-default": "1.2.0", + "postcss-modules-scope": "1.1.0", + "postcss-modules-values": "1.3.0", + "source-list-map": "0.1.8" + } + }, + "css-rule-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/css-rule-stream/-/css-rule-stream-1.1.0.tgz", + "integrity": "sha1-N4bnGYmD2WWibjGVfgkHjLt3BaI=", + "dev": true, + "requires": { + "css-tokenize": "1.0.1", + "duplexer2": "0.0.2", + "ldjson-stream": "1.2.1", + "through2": "0.6.5" + }, + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "dev": true, + "requires": { + "readable-stream": "1.1.14" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "1.0.0", + "css-what": "2.1.0", + "domutils": "1.5.1", + "nth-check": "1.0.1" + } + }, + "css-selector-tokenizer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz", + "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", + "dev": true, + "requires": { + "cssesc": "0.1.0", + "fastparse": "1.1.1", + "regexpu-core": "1.0.0" + }, + "dependencies": { + "regexpu-core": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", + "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", + "dev": true, + "requires": { + "regenerate": "1.3.2", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + } + } + }, + "css-tokenize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-tokenize/-/css-tokenize-1.0.1.tgz", + "integrity": "sha1-RiXLHtohwUOFi3+B1oA8HSb8FL4=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "1.1.14" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "css-what": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.0.tgz", + "integrity": "sha1-lGfQMsOM+u+58teVASUwYvh/ob0=", + "dev": true + }, + "cssesc": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", + "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=", + "dev": true + }, + "cssnano": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz", + "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=", + "dev": true, + "requires": { + "autoprefixer": "6.7.7", + "decamelize": "1.2.0", + "defined": "1.0.0", + "has": "1.0.1", + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-calc": "5.3.1", + "postcss-colormin": "2.2.2", + "postcss-convert-values": "2.6.1", + "postcss-discard-comments": "2.0.4", + "postcss-discard-duplicates": "2.1.0", + "postcss-discard-empty": "2.1.0", + "postcss-discard-overridden": "0.1.1", + "postcss-discard-unused": "2.2.3", + "postcss-filter-plugins": "2.0.2", + "postcss-merge-idents": "2.1.7", + "postcss-merge-longhand": "2.0.2", + "postcss-merge-rules": "2.1.2", + "postcss-minify-font-values": "1.0.5", + "postcss-minify-gradients": "1.0.5", + "postcss-minify-params": "1.2.2", + "postcss-minify-selectors": "2.1.1", + "postcss-normalize-charset": "1.1.1", + "postcss-normalize-url": "3.0.8", + "postcss-ordered-values": "2.2.3", + "postcss-reduce-idents": "2.4.0", + "postcss-reduce-initial": "1.0.1", + "postcss-reduce-transforms": "1.0.4", + "postcss-svgo": "2.1.6", + "postcss-unique-selectors": "2.0.2", + "postcss-value-parser": "3.3.0", + "postcss-zindex": "2.2.0" + } + }, + "csso": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/csso/-/csso-2.3.2.tgz", + "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=", + "dev": true, + "requires": { + "clap": "1.2.0", + "source-map": "0.5.6" + } + }, + "cssom": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.2.tgz", + "integrity": "sha1-uANhcMefB6kP8vFuIihAJ6JDhIs=", + "dev": true + }, + "cssstyle": { + "version": "0.2.37", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", + "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", + "dev": true, + "requires": { + "cssom": "0.3.2" + } + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "requires": { + "array-find-index": "1.0.2" + } + }, + "d": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", + "dev": true, + "requires": { + "es5-ext": "0.10.24" + } + }, + "d3-array": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.0.tgz", + "integrity": "sha1-FH0mlyDhdMQFen9CvosPPyulMQg=" + }, + "d3-collection": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.4.tgz", + "integrity": "sha1-NC39EoN8kJdPM/HMCnha6lcNzcI=" + }, + "d3-color": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.0.3.tgz", + "integrity": "sha1-vHZD/KjlOoNH4vva/6I2eWtYUJs=" + }, + "d3-format": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.2.0.tgz", + "integrity": "sha1-a0gLqohohdRlHcJIqPSsnaFtsHo=" + }, + "d3-interpolate": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.1.5.tgz", + "integrity": "sha1-aeCZ/zkhRxblY8muw+qdHqS4p58=", + "requires": { + "d3-color": "1.0.3" + } + }, + "d3-path": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.5.tgz", + "integrity": "sha1-JB6xhJvZ6egCHA0KeZ+KDo5EF2Q=" + }, + "d3-scale": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-1.0.0.tgz", + "integrity": "sha1-C0F1yjHL5l4lRCfkZi3678NzRi0=", + "requires": { + "d3-array": "1.2.0", + "d3-collection": "1.0.4", + "d3-color": "1.0.3", + "d3-format": "1.2.0", + "d3-interpolate": "1.1.5", + "d3-time": "1.0.7", + "d3-time-format": "2.0.5" + } + }, + "d3-shape": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.0.0.tgz", + "integrity": "sha1-zKMySHV55Fc1TIg4oKKDvmOEWbo=", + "requires": { + "d3-path": "1.0.5" + } + }, + "d3-time": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.0.7.tgz", + "integrity": "sha1-lMr27bt4ebuAnQ0fdXK8SEgvcnA=" + }, + "d3-time-format": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.0.5.tgz", + "integrity": "sha1-nXeAIE98kRnJFwsaVttN6aivly4=", + "requires": { + "d3-time": "1.0.7" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "date-difference": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/date-difference/-/date-difference-1.0.0.tgz", + "integrity": "sha1-0+bog8DK0tydv8vxLgYpe5cpiXQ=", + "requires": { + "get-stdin": "3.0.2", + "meow": "3.7.0" + } + }, + "date-now": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-1.0.1.tgz", + "integrity": "sha1-u30IZDjevkGCpIX7PfP7+5nWFTw=" + }, + "dateformat": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.0.0.tgz", + "integrity": "sha1-J0Pjq7XD/CRi5SfcpEXgTp9N7hc=" + }, + "death": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/death/-/death-1.1.0.tgz", + "integrity": "sha1-AaqcQB7dknUFFEcLgmY5DGbGcxg=" + }, + "debounce": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.0.0.tgz", + "integrity": "sha1-CUivUT0uTOQHkW+FBqQj0/nPctg=", + "requires": { + "date-now": "1.0.1" + } + }, + "debug": { + "version": "2.6.8", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", + "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=", + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" + }, + "decompress": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/decompress/-/decompress-3.0.0.tgz", + "integrity": "sha1-rx3VDQbjv8QyRh033hGzjA2ZG+0=", + "requires": { + "buffer-to-vinyl": "1.1.0", + "concat-stream": "1.6.0", + "decompress-tar": "3.1.0", + "decompress-tarbz2": "3.1.0", + "decompress-targz": "3.1.0", + "decompress-unzip": "3.4.0", + "stream-combiner2": "1.1.1", + "vinyl-assign": "1.2.1", + "vinyl-fs": "2.4.4" + } + }, + "decompress-tar": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-3.1.0.tgz", + "integrity": "sha1-IXx4n5uURQ76rcXF5TeXj8MzxGY=", + "requires": { + "is-tar": "1.0.0", + "object-assign": "2.1.1", + "strip-dirs": "1.1.1", + "tar-stream": "1.5.4", + "through2": "0.6.5", + "vinyl": "0.4.6" + }, + "dependencies": { + "clone": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/clone/-/clone-0.2.0.tgz", + "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=" + }, + "object-assign": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", + "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" + }, + "vinyl": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.4.6.tgz", + "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=", + "requires": { + "clone": "0.2.0", + "clone-stats": "0.0.1" + } + } + } + }, + "decompress-tarbz2": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-3.1.0.tgz", + "integrity": "sha1-iyOTVoE1X58YnYclag+L3ZbZZm0=", + "requires": { + "is-bzip2": "1.0.0", + "object-assign": "2.1.1", + "seek-bzip": "1.0.5", + "strip-dirs": "1.1.1", + "tar-stream": "1.5.4", + "through2": "0.6.5", + "vinyl": "0.4.6" + }, + "dependencies": { + "clone": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/clone/-/clone-0.2.0.tgz", + "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=" + }, + "object-assign": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", + "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" + }, + "vinyl": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.4.6.tgz", + "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=", + "requires": { + "clone": "0.2.0", + "clone-stats": "0.0.1" + } + } + } + }, + "decompress-targz": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-3.1.0.tgz", + "integrity": "sha1-ssE9+YFmJomRtxXWRH9kLpaW9aA=", + "requires": { + "is-gzip": "1.0.0", + "object-assign": "2.1.1", + "strip-dirs": "1.1.1", + "tar-stream": "1.5.4", + "through2": "0.6.5", + "vinyl": "0.4.6" + }, + "dependencies": { + "clone": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/clone/-/clone-0.2.0.tgz", + "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=" + }, + "object-assign": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", + "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" + }, + "vinyl": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.4.6.tgz", + "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=", + "requires": { + "clone": "0.2.0", + "clone-stats": "0.0.1" + } + } + } + }, + "decompress-unzip": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-3.4.0.tgz", + "integrity": "sha1-YUdbQVIGa74/7hL51inRX+ZHjus=", + "requires": { + "is-zip": "1.0.0", + "read-all-stream": "3.1.0", + "stat-mode": "0.2.2", + "strip-dirs": "1.1.1", + "through2": "2.0.3", + "vinyl": "1.2.0", + "yauzl": "2.8.0" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "deep-eql": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", + "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=", + "dev": true, + "requires": { + "type-detect": "0.1.1" + }, + "dependencies": { + "type-detect": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz", + "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=", + "dev": true + } + } + }, + "deep-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", + "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", + "dev": true + }, + "deep-extend": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", + "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=" + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "default-require-extensions": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-1.0.0.tgz", + "integrity": "sha1-836hXT4T/9m0N9M+GnW1+5eHTLg=", + "dev": true, + "requires": { + "strip-bom": "2.0.0" + } + }, + "defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "requires": { + "clone": "1.0.2" + } + }, + "define-properties": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", + "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", + "dev": true, + "requires": { + "foreach": "2.0.5", + "object-keys": "1.0.11" + } + }, + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "dev": true + }, + "del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "dev": true, + "requires": { + "globby": "5.0.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.0", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "rimraf": "2.6.1" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" + }, + "depd": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", + "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", + "dev": true + }, + "des.js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", + "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "requires": { + "repeating": "2.0.1" + } + }, + "diff": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", + "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz", + "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "miller-rabin": "4.0.0", + "randombytes": "2.0.5" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "2.0.2", + "isarray": "1.0.0" + } + }, + "doiuse": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/doiuse/-/doiuse-2.6.0.tgz", + "integrity": "sha1-GJLRC2Gpo1at2/K2FJM+gfi7ODQ=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000708", + "css-rule-stream": "1.1.0", + "duplexer2": "0.0.2", + "jsonfilter": "1.1.2", + "ldjson-stream": "1.2.1", + "lodash": "4.17.2", + "multimatch": "2.1.0", + "postcss": "5.2.17", + "source-map": "0.4.4", + "through2": "0.6.5", + "yargs": "3.32.0" + }, + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "dev": true, + "requires": { + "readable-stream": "1.1.14" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "window-size": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", + "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=", + "dev": true + }, + "yargs": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", + "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", + "dev": true, + "requires": { + "camelcase": "2.1.1", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "os-locale": "1.4.0", + "string-width": "1.0.2", + "window-size": "0.1.4", + "y18n": "3.2.1" + } + } + } + }, + "dom-converter": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.1.4.tgz", + "integrity": "sha1-pF71cnuJDJv/5tfIduexnLDhfzs=", + "dev": true, + "requires": { + "utila": "0.3.3" + }, + "dependencies": { + "utila": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/utila/-/utila-0.3.3.tgz", + "integrity": "sha1-1+jn1+MJEHCSsF+NloiCTWM6QiY=", + "dev": true + } + } + }, + "dom-helpers": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.2.1.tgz", + "integrity": "sha1-MgPgf+0he9H0JLAZc1WC/Deyglo=" + }, + "dom-serializer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", + "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", + "dev": true, + "requires": { + "domelementtype": "1.1.3", + "entities": "1.1.1" + }, + "dependencies": { + "domelementtype": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", + "dev": true + } + } + }, + "dom-walk": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", + "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=", + "dev": true + }, + "domain-browser": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", + "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=", + "dev": true + }, + "domelementtype": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", + "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", + "dev": true + }, + "domhandler": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.1.tgz", + "integrity": "sha1-iS5HAAqZvlW783dP/qBWHYh5wlk=", + "dev": true, + "requires": { + "domelementtype": "1.3.0" + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0.1.0", + "domelementtype": "1.3.0" + } + }, + "download": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/download/-/download-4.4.3.tgz", + "integrity": "sha1-qlX9rTktldS2jowr4D4MKqIbqaw=", + "requires": { + "caw": "1.2.0", + "concat-stream": "1.6.0", + "each-async": "1.1.1", + "filenamify": "1.2.1", + "got": "5.7.1", + "gulp-decompress": "1.2.0", + "gulp-rename": "1.2.2", + "is-url": "1.2.2", + "object-assign": "4.1.1", + "read-all-stream": "3.1.0", + "readable-stream": "2.3.3", + "stream-combiner2": "1.1.1", + "vinyl": "1.2.0", + "vinyl-fs": "2.4.4", + "ware": "1.3.0" + } + }, + "drbg.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", + "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", + "requires": { + "browserify-aes": "1.0.6", + "create-hash": "1.1.3", + "create-hmac": "1.1.6" + } + }, + "duplexer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "dev": true + }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "requires": { + "readable-stream": "2.3.3" + } + }, + "duplexify": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.5.0.tgz", + "integrity": "sha1-GqdzAC4VeEV+nZ1KULDMquvL1gQ=", + "requires": { + "end-of-stream": "1.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.3", + "stream-shift": "1.0.0" + }, + "dependencies": { + "end-of-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.0.0.tgz", + "integrity": "sha1-1FlucCc0qT5A6a+GQxnqvZn/Lw4=", + "requires": { + "once": "1.3.3" + } + }, + "once": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", + "integrity": "sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA=", + "requires": { + "wrappy": "1.0.2" + } + } + } + }, + "each-async": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/each-async/-/each-async-1.1.1.tgz", + "integrity": "sha1-3uUim98KtrogEqOV4bhpq/iBNHM=", + "requires": { + "onetime": "1.1.0", + "set-immediate-shim": "1.0.1" + } + }, + "ecc-jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", + "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "optional": true, + "requires": { + "jsbn": "0.1.1" + } + }, + "editions": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/editions/-/editions-1.3.3.tgz", + "integrity": "sha1-CQcQG92iD6w8vjNMJ8vQaI3Jmls=" + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "ejs": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-1.0.0.tgz", + "integrity": "sha1-ycYKSKRu5FL7MqccMXuV5aofyz0=", + "dev": true + }, + "ejs-loader": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/ejs-loader/-/ejs-loader-0.3.0.tgz", + "integrity": "sha1-aHNv3CMaSQ7fkZpkRq2dkFWlh74=", + "dev": true, + "requires": { + "loader-utils": "0.2.17", + "lodash": "3.10.1" + }, + "dependencies": { + "lodash": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=", + "dev": true + } + } + }, + "ejsify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ejsify/-/ejsify-1.0.0.tgz", + "integrity": "sha1-NxlPWoXBKuQ4QpOVeZ7Ee0O8RT8=", + "dev": true, + "requires": { + "ejs": "1.0.0", + "through": "2.3.8" + } + }, + "electron-to-chromium": { + "version": "1.3.16", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.16.tgz", + "integrity": "sha1-0OAmc1dUdwkBrjAaIWZMukXZL30=", + "dev": true + }, + "element-resize-detector": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/element-resize-detector/-/element-resize-detector-1.1.12.tgz", + "integrity": "sha1-iz/W7t2hf5wAs2Cg6i35knroC6I=", + "requires": { + "batch-processor": "1.0.0" + } + }, + "elliptic": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", + "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", + "requires": { + "bn.js": "4.11.7", + "brorand": "1.1.0", + "hash.js": "1.1.3", + "hmac-drbg": "1.0.1", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0", + "minimalistic-crypto-utils": "1.0.1" + } + }, + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=" + }, + "empty-module": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/empty-module/-/empty-module-0.0.2.tgz", + "integrity": "sha1-E7TdjUr+3dNeUMGNzXiMUQh/FUU=", + "dev": true + }, + "encodeurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz", + "integrity": "sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=", + "dev": true + }, + "encoding": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "requires": { + "iconv-lite": "0.4.18" + } + }, + "end-of-stream": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.0.tgz", + "integrity": "sha1-epDYM+/abPpurA9JSduw+tOmMgY=", + "requires": { + "once": "1.4.0" + } + }, + "enhanced-resolve": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", + "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "memory-fs": "0.4.1", + "object-assign": "4.1.1", + "tapable": "0.2.7" + } + }, + "entities": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", + "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=" + }, + "enzyme": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-2.7.1.tgz", + "integrity": "sha1-djcOHZnpH3MJG7jEMUt8EozC1iE=", + "dev": true, + "requires": { + "cheerio": "0.22.0", + "function.prototype.name": "1.0.3", + "is-subset": "0.1.1", + "lodash": "4.17.2", + "object-is": "1.0.1", + "object.assign": "4.0.4", + "object.entries": "1.0.4", + "object.values": "1.0.4", + "uuid": "2.0.3" + }, + "dependencies": { + "uuid": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", + "dev": true + } + } + }, + "errno": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.4.tgz", + "integrity": "sha1-uJbiOp5ei6M4cfyZar02NfyaHH0=", + "dev": true, + "requires": { + "prr": "0.0.0" + } + }, + "error-ex": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", + "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", + "requires": { + "is-arrayish": "0.2.1" + } + }, + "error-stack-parser": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-1.3.6.tgz", + "integrity": "sha1-4Oc7k+QXE40c18C3RrGkoUhUwpI=", + "dev": true, + "requires": { + "stackframe": "0.3.1" + } + }, + "es-abstract": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.7.0.tgz", + "integrity": "sha1-363ndOAb/Nl/lhgCmMRJyGI/uUw=", + "dev": true, + "requires": { + "es-to-primitive": "1.1.1", + "function-bind": "1.1.0", + "is-callable": "1.1.3", + "is-regex": "1.0.4" + } + }, + "es-to-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", + "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", + "dev": true, + "requires": { + "is-callable": "1.1.3", + "is-date-object": "1.0.1", + "is-symbol": "1.0.1" + } + }, + "es5-ext": { + "version": "0.10.24", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.24.tgz", + "integrity": "sha1-pVh3yZJLwMjZvTwsvhdJWsFwmxQ=", + "dev": true, + "requires": { + "es6-iterator": "2.0.1", + "es6-symbol": "3.1.1" + } + }, + "es6-error": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.0.0.tgz", + "integrity": "sha1-8JTHBB9mJZm7EnINoFnWucf/D0A=" + }, + "es6-iterator": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.1.tgz", + "integrity": "sha1-jjGcnwRTv1ddN0lAplWSDlnKVRI=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-symbol": "3.1.1" + } + }, + "es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-iterator": "2.0.1", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-promise": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.0.5.tgz", + "integrity": "sha1-eILzCt3lskDM+n99eMVIMwlRrkI=" + }, + "es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-iterator": "2.0.1", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.24" + } + }, + "es6-templates": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/es6-templates/-/es6-templates-0.2.3.tgz", + "integrity": "sha1-XLmsn7He1usSOTQrgdeSu7QHjuQ=", + "dev": true, + "requires": { + "recast": "0.11.23", + "through": "2.3.8" + } + }, + "es6-weak-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.24", + "es6-iterator": "2.0.1", + "es6-symbol": "3.1.1" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "escodegen": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", + "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "dev": true, + "requires": { + "esprima": "2.7.3", + "estraverse": "1.9.3", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.2.0" + }, + "dependencies": { + "estraverse": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", + "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", + "dev": true + }, + "source-map": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", + "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", + "dev": true, + "optional": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "escope": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "dev": true, + "requires": { + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.0", + "estraverse": "4.2.0" + } + }, + "eslint": { + "version": "3.16.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-3.16.1.tgz", + "integrity": "sha1-m8MfxzQWks93LoBgdQj2fXEcVgk=", + "dev": true, + "requires": { + "babel-code-frame": "6.22.0", + "chalk": "1.1.3", + "concat-stream": "1.6.0", + "debug": "2.6.8", + "doctrine": "1.5.0", + "escope": "3.6.0", + "espree": "3.4.3", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "file-entry-cache": "2.0.0", + "glob": "7.1.2", + "globals": "9.18.0", + "ignore": "3.3.3", + "imurmurhash": "0.1.4", + "inquirer": "0.12.0", + "is-my-json-valid": "2.16.0", + "is-resolvable": "1.0.0", + "js-yaml": "3.6.1", + "json-stable-stringify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.2", + "mkdirp": "0.5.1", + "natural-compare": "1.4.0", + "optionator": "0.8.2", + "path-is-inside": "1.0.2", + "pluralize": "1.2.1", + "progress": "1.1.8", + "require-uncached": "1.0.3", + "shelljs": "0.7.8", + "strip-bom": "3.0.0", + "strip-json-comments": "2.0.1", + "table": "3.8.3", + "text-table": "0.2.0", + "user-home": "2.0.0" + }, + "dependencies": { + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "inquirer": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz", + "integrity": "sha1-HvK/1jUE3wvHV4X/+MLEHfEvB34=", + "dev": true, + "requires": { + "ansi-escapes": "1.4.0", + "ansi-regex": "2.1.1", + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-width": "2.1.0", + "figures": "1.7.0", + "lodash": "4.17.2", + "readline2": "1.0.1", + "run-async": "0.1.0", + "rx-lite": "3.1.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "through": "2.3.8" + } + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + }, + "run-async": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", + "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=", + "dev": true, + "requires": { + "once": "1.4.0" + } + }, + "rx-lite": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", + "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=", + "dev": true + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "user-home": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", + "integrity": "sha1-nHC/2Babwdy/SGBODwS4tJzenp8=", + "dev": true, + "requires": { + "os-homedir": "1.0.2" + } + } + } + }, + "eslint-config-semistandard": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-semistandard/-/eslint-config-semistandard-7.0.0.tgz", + "integrity": "sha1-+ANJP1alFy9/WcNa5kg2C0Hy/3E=", + "dev": true + }, + "eslint-config-standard": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-6.2.1.tgz", + "integrity": "sha1-06aKr8cZFjnn7kQec0hzkCY1QpI=", + "dev": true + }, + "eslint-config-standard-jsx": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-3.3.0.tgz", + "integrity": "sha1-yrCAGhWjYL9j+suXqyL73YjYpeA=", + "dev": true + }, + "eslint-config-standard-react": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-react/-/eslint-config-standard-react-4.2.0.tgz", + "integrity": "sha1-0V/SXoN+IK/w2zL2T7VdEYgOuNA=", + "dev": true, + "requires": { + "eslint-config-standard-jsx": "3.3.0" + } + }, + "eslint-plugin-promise": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-3.4.2.tgz", + "integrity": "sha1-G+J5Pq/i0YtbEjuBNsJp+AT+cSI=", + "dev": true + }, + "eslint-plugin-react": { + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-6.10.0.tgz", + "integrity": "sha1-nEi0jRAVVLU1VBPnxkI4q95u8e8=", + "dev": true, + "requires": { + "array.prototype.find": "2.0.4", + "doctrine": "1.5.0", + "has": "1.0.1", + "jsx-ast-utils": "1.4.1", + "object.assign": "4.0.4" + } + }, + "eslint-plugin-standard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-2.0.1.tgz", + "integrity": "sha1-NYlpn/nJF/LCX3apFmh/ZBw2n/M=", + "dev": true + }, + "espree": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/espree/-/espree-3.4.3.tgz", + "integrity": "sha1-KRC1zNSc6JPC//+qtP2LOjG4I3Q=", + "dev": true, + "requires": { + "acorn": "5.1.1", + "acorn-jsx": "3.0.1" + } + }, + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", + "dev": true + }, + "esrecurse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.0.tgz", + "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=", + "dev": true, + "requires": { + "estraverse": "4.2.0", + "object-assign": "4.1.1" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" + }, + "etag": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.7.0.tgz", + "integrity": "sha1-A9MLX2fdbmMtKUXTDWZScxo01dg=", + "dev": true + }, + "ethereum-common": { + "version": "0.0.18", + "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz", + "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8=" + }, + "ethereumjs-tx": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.2.5.tgz", + "integrity": "sha1-7TbX/+uXvIicYe7xq3b0emE9goY=", + "requires": { + "ethereum-common": "0.0.18", + "ethereumjs-util": "5.1.2" + } + }, + "ethereumjs-util": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.1.2.tgz", + "integrity": "sha1-JboCFcu0wvCxCKb5avKi5i5Fkh8=", + "requires": { + "babel-preset-es2015": "6.24.1", + "babelify": "7.3.0", + "bn.js": "4.11.7", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.3.0", + "rlp": "2.0.0", + "secp256k1": "3.3.0" + }, + "dependencies": { + "babel-preset-es2015": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz", + "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=", + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.24.1", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-regenerator": "6.24.1" + } + } + } + }, + "ethjs-util": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.4.tgz", + "integrity": "sha1-HItoeSV0RO9NPz+7rC3tEs2ZfZM=", + "requires": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + } + }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.24" + } + }, + "eventemitter3": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.2.tgz", + "integrity": "sha1-IM5IkZCc6fNbCIyU+rQOLJb0c6w=" + }, + "events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "dev": true + }, + "evp_bytestokey": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz", + "integrity": "sha1-SXtmrZ/vZc18CKYYCCS6FHa2blM=", + "requires": { + "create-hash": "1.1.3" + } + }, + "exec-buffer": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/exec-buffer/-/exec-buffer-3.2.0.tgz", + "integrity": "sha512-wsiD+2Tp6BWHoVv3B+5Dcx6E7u5zky+hUwOHjuH2hKSLR3dvRmX8fk8UD8uqQixHs4Wk6eDmiegVrMPjKj7wpA==", + "dev": true, + "requires": { + "execa": "0.7.0", + "p-finally": "1.0.0", + "pify": "3.0.0", + "rimraf": "2.6.1", + "tempfile": "2.0.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } + } + }, + "exec-series": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/exec-series/-/exec-series-1.0.3.tgz", + "integrity": "sha1-bSV6m+rEgqhyx3g7yGFYOfx3FDo=", + "dev": true, + "requires": { + "async-each-series": "1.1.0", + "object-assign": "4.1.1" + } + }, + "execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "dev": true, + "requires": { + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + } + }, + "execall": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execall/-/execall-1.0.0.tgz", + "integrity": "sha1-c9CQTjlbPKsGWLCNCewlMH8pu3M=", + "dev": true, + "requires": { + "clone-regexp": "1.0.0" + } + }, + "executable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/executable/-/executable-1.1.0.tgz", + "integrity": "sha1-h3mA6REvM5EGbaNyZd562ENKtNk=", + "dev": true, + "requires": { + "meow": "3.7.0" + } + }, + "exit-hook": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", + "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", + "dev": true + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "requires": { + "is-posix-bracket": "0.1.1" + } + }, + "expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "requires": { + "fill-range": "2.2.3" + } + }, + "expand-template": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-1.0.3.tgz", + "integrity": "sha1-bDAzIxd6YrGyLAcCefeGEoe2mxo=" + }, + "express": { + "version": "4.14.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.14.1.tgz", + "integrity": "sha1-ZGwjf3ZvFIwhIK/wc4F7nk1+DTM=", + "dev": true, + "requires": { + "accepts": "1.3.3", + "array-flatten": "1.1.1", + "content-disposition": "0.5.2", + "content-type": "1.0.2", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.2.0", + "depd": "1.1.1", + "encodeurl": "1.0.1", + "escape-html": "1.0.3", + "etag": "1.7.0", + "finalhandler": "0.5.1", + "fresh": "0.3.0", + "merge-descriptors": "1.0.1", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.1", + "path-to-regexp": "0.1.7", + "proxy-addr": "1.1.5", + "qs": "6.2.0", + "range-parser": "1.2.0", + "send": "0.14.2", + "serve-static": "1.11.2", + "type-is": "1.6.15", + "utils-merge": "1.0.0", + "vary": "1.1.1" + }, + "dependencies": { + "debug": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", + "dev": true, + "requires": { + "ms": "0.7.1" + } + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "qs": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.2.0.tgz", + "integrity": "sha1-O3hIwDwt7OaalSKw+ujEEm10Xzs=", + "dev": true + } + } + }, + "extend": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/extend/-/extend-1.2.1.tgz", + "integrity": "sha1-oPX9bPyDpf5J72mNYOyKYk3UV2w=" + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "0.1.1" + } + }, + "external-editor": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.0.4.tgz", + "integrity": "sha1-HtkZnanL/i7y96MbL96LDRI2iXI=", + "requires": { + "iconv-lite": "0.4.18", + "jschardet": "1.5.0", + "tmp": "0.0.31" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "requires": { + "is-extglob": "1.0.0" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + } + } + }, + "extract-loader": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/extract-loader/-/extract-loader-0.1.0.tgz", + "integrity": "sha1-ocFGkVJBzEhtUpImPHVV1aoZdm4=", + "dev": true, + "requires": { + "loader-utils": "0.2.17" + } + }, + "extract-text-webpack-plugin": { + "version": "2.0.0-beta.4", + "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-2.0.0-beta.4.tgz", + "integrity": "sha1-0yOTBp59kMgxjUg5IwJhi1a8G6k=", + "dev": true, + "requires": { + "async": "1.5.2", + "loader-utils": "0.2.17", + "webpack-sources": "0.1.5" + } + }, + "extsprintf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", + "integrity": "sha1-4QgOBljjALBilJkMxw4VAiNf1VA=" + }, + "fancy-log": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.0.tgz", + "integrity": "sha1-Rb4X0Cu5kX1gzP/UmVyZnmyMmUg=", + "requires": { + "chalk": "1.1.3", + "time-stamp": "1.1.0" + } + }, + "fast-deep-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz", + "integrity": "sha1-liVqO8l1WV6zbYLpkp0GDYk0Of8=" + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fastparse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", + "integrity": "sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg=", + "dev": true + }, + "fbjs": { + "version": "0.8.14", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.14.tgz", + "integrity": "sha1-0dviviVMNakeCfMfnNUKQLKg7Rw=", + "requires": { + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.3.1", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.14" + }, + "dependencies": { + "core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" + } + } + }, + "fd-slicer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", + "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", + "requires": { + "pend": "1.2.0" + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "file-entry-cache": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", + "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", + "dev": true, + "requires": { + "flat-cache": "1.2.2", + "object-assign": "4.1.1" + } + }, + "file-loader": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-0.10.0.tgz", + "integrity": "sha1-u+bbdHSsksf1T9wZfPVH6YtrjhI=", + "dev": true, + "requires": { + "loader-utils": "0.2.17" + } + }, + "file-saver": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-1.3.3.tgz", + "integrity": "sha1-zdTETTqiZOrC9o7BZbx5HDSvEjI=" + }, + "file-type": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", + "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=" + }, + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=" + }, + "filename-reserved-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-1.0.0.tgz", + "integrity": "sha1-5hz4BfDeHJhFZ9A4bcXfUO5a9+Q=" + }, + "filenamify": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-1.2.1.tgz", + "integrity": "sha1-qfL/0RxQO+0wABUCknI3jx8TZaU=", + "requires": { + "filename-reserved-regex": "1.0.0", + "strip-outer": "1.0.0", + "trim-repeated": "1.0.0" + } + }, + "fileset": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz", + "integrity": "sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA=", + "dev": true, + "requires": { + "glob": "7.1.2", + "minimatch": "3.0.4" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + } + } + }, + "filesize": { + "version": "3.5.10", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.5.10.tgz", + "integrity": "sha1-/I+iPdtO+eXgq24eZPZ5okpWdh8=", + "dev": true + }, + "fill-range": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", + "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", + "requires": { + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "1.1.7", + "repeat-element": "1.1.2", + "repeat-string": "1.6.1" + } + }, + "finalhandler": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-0.5.1.tgz", + "integrity": "sha1-LEANjUUwk1vCMlScX6OF7Afeb80=", + "dev": true, + "requires": { + "debug": "2.2.0", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "statuses": "1.3.1", + "unpipe": "1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", + "dev": true, + "requires": { + "ms": "0.7.1" + } + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", + "dev": true + } + } + }, + "find-cache-dir": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", + "integrity": "sha1-yN765XyKUqinhPnjHFfHQumToLk=", + "dev": true, + "requires": { + "commondir": "1.0.1", + "mkdirp": "0.5.1", + "pkg-dir": "1.0.0" + } + }, + "find-parent-dir": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz", + "integrity": "sha1-M8RLQpqysvBkYpnF+fcY83b/jVQ=", + "dev": true + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "requires": { + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" + } + }, + "find-versions": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-1.2.1.tgz", + "integrity": "sha1-y96fEuOFdaCvG+G5osXV/Y8Ya2I=", + "dev": true, + "requires": { + "array-uniq": "1.0.3", + "get-stdin": "4.0.1", + "meow": "3.7.0", + "semver-regex": "1.0.0" + }, + "dependencies": { + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + } + } + }, + "first-chunk-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz", + "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=" + }, + "flat": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flat/-/flat-2.0.1.tgz", + "integrity": "sha1-cOKRiKdL4MPIlAnu0fqVd5B64y8=", + "requires": { + "is-buffer": "1.1.5" + } + }, + "flat-cache": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.2.2.tgz", + "integrity": "sha1-+oZxTnLCHbiGAXYezy9VXRq8a5Y=", + "dev": true, + "requires": { + "circular-json": "0.3.3", + "del": "2.2.2", + "graceful-fs": "4.1.11", + "write": "0.2.1" + } + }, + "flatten": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz", + "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=", + "dev": true + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" + }, + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "requires": { + "for-in": "1.0.2" + } + }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", + "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.5", + "mime-types": "2.1.16" + } + }, + "format-json": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/format-json/-/format-json-1.0.3.tgz", + "integrity": "sha1-Jo49PhaXkv9Ju1sDDyLIfKHCzZ8=" + }, + "format-number": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/format-number/-/format-number-2.0.1.tgz", + "integrity": "sha1-6SMah0PKZLR9CVVdzkApY0O+Zus=" + }, + "formatio": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/formatio/-/formatio-1.1.1.tgz", + "integrity": "sha1-XtPM1jZVEJc4NGXZlhmRAOhhYek=", + "dev": true, + "requires": { + "samsam": "1.1.2" + } + }, + "forwarded": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.0.tgz", + "integrity": "sha1-Ge+YdMSuHCl7zweP3mOgm2aoQ2M=", + "dev": true + }, + "fresh": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.3.0.tgz", + "integrity": "sha1-ZR+DjiJCTnVm3hYdg1jKoZn4PU8=", + "dev": true + }, + "fs-extra": { + "version": "0.26.7", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.26.7.tgz", + "integrity": "sha1-muH92UiXeY7at20JGM9C0MMYT6k=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "2.4.0", + "klaw": "1.3.1", + "path-is-absolute": "1.0.1", + "rimraf": "2.6.1" + } + }, + "fs-readdir-recursive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.0.0.tgz", + "integrity": "sha1-jNF0XItPiinIyuw5JHaSG6GV9WA=", + "dev": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "fstream": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "requires": { + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.1" + } + }, + "fstream-ignore": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.5.tgz", + "integrity": "sha1-nDHa40dnAY/h0kmyTa2mfQktoQU=", + "requires": { + "fstream": "1.0.11", + "inherits": "2.0.3", + "minimatch": "3.0.4" + } + }, + "function-bind": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.0.tgz", + "integrity": "sha1-FhdnFMgBeY5Ojyz391KUZ7tKV3E=", + "dev": true + }, + "function.prototype.name": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.0.3.tgz", + "integrity": "sha512-5EblxZUdioXi2JiMZ9FUbwYj40eQ9MFHyzFLBSPdlRl3SO8l7SLWuAnQ/at/1Wi4hjJwME/C5WpF2ZfAc8nGNw==", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "function-bind": "1.1.0", + "is-callable": "1.1.3" + } + }, + "gather-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gather-stream/-/gather-stream-1.0.0.tgz", + "integrity": "sha1-szmUr0V6gRVwDUEPMXczy+egkEs=", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "requires": { + "aproba": "1.1.2", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + } + }, + "generate-function": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", + "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=", + "dev": true + }, + "generate-object-property": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", + "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", + "dev": true, + "requires": { + "is-property": "1.0.2" + } + }, + "geopattern": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/geopattern/-/geopattern-1.2.3.tgz", + "integrity": "sha1-3pZgLkbbqQlcpXdL+zs2MI9+Y/4=", + "requires": { + "extend": "1.2.1" + } + }, + "get-caller-file": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", + "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=" + }, + "get-own-enumerable-property-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-1.0.1.tgz", + "integrity": "sha1-8dTjrRQC4DmJjlbR6bmqkkwm5IQ=" + }, + "get-proxy": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/get-proxy/-/get-proxy-1.1.0.tgz", + "integrity": "sha1-iUhUSRvFkbDxR9euVw9cZ4tyVus=", + "requires": { + "rc": "1.2.1" + } + }, + "get-stdin": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-3.0.2.tgz", + "integrity": "sha1-wc7SS5A5s43thb3xYeV3E7bdSr4=" + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "gifsicle": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/gifsicle/-/gifsicle-3.0.4.tgz", + "integrity": "sha1-9Fy17RAWW2ZdySng6TKLbIId+js=", + "dev": true, + "requires": { + "bin-build": "2.2.0", + "bin-wrapper": "3.0.2", + "logalot": "2.1.0" + } + }, + "github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=" + }, + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "requires": { + "glob-parent": "2.0.0", + "is-glob": "2.0.1" + }, + "dependencies": { + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "requires": { + "is-glob": "2.0.1" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "requires": { + "is-extglob": "1.0.0" + } + } + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "requires": { + "is-glob": "3.1.0", + "path-dirname": "1.0.2" + } + }, + "glob-stream": { + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-5.3.5.tgz", + "integrity": "sha1-pVZlqajM3EGRWofHAeMtTgFvrSI=", + "requires": { + "extend": "3.0.1", + "glob": "5.0.15", + "glob-parent": "3.1.0", + "micromatch": "2.3.11", + "ordered-read-streams": "0.3.0", + "through2": "0.6.5", + "to-absolute-glob": "0.1.1", + "unique-stream": "2.2.1" + }, + "dependencies": { + "extend": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + } + } + }, + "global": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", + "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", + "dev": true, + "requires": { + "min-document": "2.19.0", + "process": "0.5.2" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" + }, + "globby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "arrify": "1.0.1", + "glob": "7.1.2", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + } + } + }, + "globjoin": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", + "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=", + "dev": true + }, + "glogg": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.0.tgz", + "integrity": "sha1-f+DxmfV6yQbPUS/urY+Q7kooT8U=", + "requires": { + "sparkles": "1.0.0" + } + }, + "got": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/got/-/got-5.7.1.tgz", + "integrity": "sha1-X4FjWmHkplifGAVp6k44FoClHzU=", + "requires": { + "create-error-class": "3.0.2", + "duplexer2": "0.1.4", + "is-redirect": "1.0.0", + "is-retry-allowed": "1.1.0", + "is-stream": "1.1.0", + "lowercase-keys": "1.0.0", + "node-status-codes": "1.0.0", + "object-assign": "4.1.1", + "parse-json": "2.2.0", + "pinkie-promise": "2.0.1", + "read-all-stream": "3.1.0", + "readable-stream": "2.3.3", + "timed-out": "3.1.3", + "unzip-response": "1.0.2", + "url-parse-lax": "1.0.0" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "graceful-readlink": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", + "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" + }, + "growl": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz", + "integrity": "sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8=", + "dev": true + }, + "gulp-decompress": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gulp-decompress/-/gulp-decompress-1.2.0.tgz", + "integrity": "sha1-jutlpeAV+O2FMsr+KEVJYGJvDcc=", + "requires": { + "archive-type": "3.2.0", + "decompress": "3.0.0", + "gulp-util": "3.0.8", + "readable-stream": "2.3.3" + } + }, + "gulp-rename": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/gulp-rename/-/gulp-rename-1.2.2.tgz", + "integrity": "sha1-OtRCh2PwXidk3sHGfYaNsnVoeBc=" + }, + "gulp-sourcemaps": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-1.6.0.tgz", + "integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=", + "requires": { + "convert-source-map": "1.5.0", + "graceful-fs": "4.1.11", + "strip-bom": "2.0.0", + "through2": "2.0.3", + "vinyl": "1.2.0" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "gulp-util": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.8.tgz", + "integrity": "sha1-AFTh50RQLifATBh8PsxQXdVLu08=", + "requires": { + "array-differ": "1.0.0", + "array-uniq": "1.0.3", + "beeper": "1.1.1", + "chalk": "1.1.3", + "dateformat": "2.0.0", + "fancy-log": "1.3.0", + "gulplog": "1.0.0", + "has-gulplog": "0.1.0", + "lodash._reescape": "3.0.0", + "lodash._reevaluate": "3.0.0", + "lodash._reinterpolate": "3.0.0", + "lodash.template": "3.6.2", + "minimist": "1.2.0", + "multipipe": "0.1.2", + "object-assign": "3.0.0", + "replace-ext": "0.0.1", + "through2": "2.0.3", + "vinyl": "0.5.3" + }, + "dependencies": { + "object-assign": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz", + "integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=" + }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + }, + "vinyl": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz", + "integrity": "sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4=", + "requires": { + "clone": "1.0.2", + "clone-stats": "0.0.1", + "replace-ext": "0.0.1" + } + } + } + }, + "gulplog": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz", + "integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=", + "requires": { + "glogg": "1.0.0" + } + }, + "handlebars": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.10.tgz", + "integrity": "sha1-PTDHGLCaPZbyPqTMH0A8TTup/08=", + "dev": true, + "requires": { + "async": "1.5.2", + "optimist": "0.6.1", + "source-map": "0.4.4", + "uglify-js": "2.8.16" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "happypack": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/happypack/-/happypack-3.0.3.tgz", + "integrity": "sha1-IveMh6MlzbeYyVjPTsOD/NTW/cc=", + "dev": true, + "requires": { + "async": "1.5.0", + "json-stringify-safe": "5.0.1", + "loader-utils": "0.2.16", + "mkdirp": "0.5.1" + }, + "dependencies": { + "async": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.0.tgz", + "integrity": "sha1-J5ZkJyNXOFlWVjP8YnRES+4vjOM=", + "dev": true + }, + "loader-utils": { + "version": "0.2.16", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.16.tgz", + "integrity": "sha1-8IYyBm7YKCg13/iN+1JwR2Wt7m0=", + "dev": true, + "requires": { + "big.js": "3.1.3", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + } + } + }, + "har-schema": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz", + "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=" + }, + "har-validator": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz", + "integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=", + "requires": { + "ajv": "4.11.8", + "har-schema": "1.0.5" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + } + } + }, + "has": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz", + "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=", + "dev": true, + "requires": { + "function-bind": "1.1.0" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "2.1.1" + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" + }, + "has-gulplog": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/has-gulplog/-/has-gulplog-0.1.0.tgz", + "integrity": "sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4=", + "requires": { + "sparkles": "1.0.0" + } + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" + }, + "hash-base": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-2.0.2.tgz", + "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=", + "requires": { + "inherits": "2.0.3" + } + }, + "hash.js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "requires": { + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" + } + }, + "hawk": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", + "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", + "requires": { + "boom": "2.10.1", + "cryptiles": "2.0.5", + "hoek": "2.16.3", + "sntp": "1.0.9" + } + }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, + "history": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/history/-/history-3.3.0.tgz", + "integrity": "sha1-/O3M6PEpdTcVRdc1RhAzV5ptrpw=", + "requires": { + "invariant": "2.2.2", + "loose-envify": "1.3.1", + "query-string": "4.3.4", + "warning": "3.0.0" + } + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "requires": { + "hash.js": "1.1.3", + "minimalistic-assert": "1.0.0", + "minimalistic-crypto-utils": "1.0.1" + } + }, + "hoek": { + "version": "2.16.3", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", + "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" + }, + "hoist-non-react-statics": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz", + "integrity": "sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs=" + }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "hosted-git-info": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", + "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==" + }, + "html": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/html/-/html-1.0.0.tgz", + "integrity": "sha1-pUT6nqVJK/s6LMqCEKEL57WvH2E=", + "dev": true, + "requires": { + "concat-stream": "1.6.0" + } + }, + "html-comment-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz", + "integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=", + "dev": true + }, + "html-encoding-sniffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.1.tgz", + "integrity": "sha1-eb96eF6klf5mFl5zQVPzY/9UN9o=", + "dev": true, + "requires": { + "whatwg-encoding": "1.0.1" + } + }, + "html-entities": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", + "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=", + "dev": true + }, + "html-loader": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/html-loader/-/html-loader-0.4.4.tgz", + "integrity": "sha1-8rW5rNXgNf86tf02nBPJenuwFNo=", + "dev": true, + "requires": { + "es6-templates": "0.2.3", + "fastparse": "1.1.1", + "html-minifier": "3.5.3", + "loader-utils": "0.2.17", + "object-assign": "4.1.1" + } + }, + "html-minifier": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.3.tgz", + "integrity": "sha512-iKRzQQDuTCsq0Ultbi/mfJJnR0D3AdZKTq966Gsp92xkmAPCV4Xi08qhJ0Dl3ZAWemSgJ7qZK+UsZc0gFqK6wg==", + "dev": true, + "requires": { + "camel-case": "3.0.0", + "clean-css": "4.1.7", + "commander": "2.11.0", + "he": "1.1.1", + "ncname": "1.0.0", + "param-case": "2.1.1", + "relateurl": "0.2.7", + "uglify-js": "3.0.27" + }, + "dependencies": { + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "dev": true + }, + "uglify-js": { + "version": "3.0.27", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.0.27.tgz", + "integrity": "sha512-HD8CmxPXUI62v5tweiulMcP/apAtx1DXGcNZkhKQZyC+MTrTsoCBb8yPAwVrbvpgw3EpRU76bRe6axjIiCYcQg==", + "dev": true, + "requires": { + "commander": "2.11.0", + "source-map": "0.5.6" + } + } + } + }, + "html-tags": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-1.2.0.tgz", + "integrity": "sha1-x43mW1Zjqll5id0rerSSANfk25g=", + "dev": true + }, + "html-webpack-plugin": { + "version": "2.28.0", + "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-2.28.0.tgz", + "integrity": "sha1-LnhjtX5f1I/iYzA+L/yTTDBk0Ak=", + "dev": true, + "requires": { + "bluebird": "3.5.0", + "html-minifier": "3.5.3", + "loader-utils": "0.2.17", + "lodash": "4.17.4", + "pretty-error": "2.1.1", + "toposort": "1.0.3" + }, + "dependencies": { + "bluebird": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.0.tgz", + "integrity": "sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw=", + "dev": true + }, + "lodash": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "dev": true + } + } + }, + "htmlparser2": { + "version": "3.9.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.9.2.tgz", + "integrity": "sha1-G9+HrMoPP55T+k/M6w9LTLsAszg=", + "dev": true, + "requires": { + "domelementtype": "1.3.0", + "domhandler": "2.4.1", + "domutils": "1.5.1", + "entities": "1.1.1", + "inherits": "2.0.3", + "readable-stream": "2.3.3" + } + }, + "http-errors": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.5.1.tgz", + "integrity": "sha1-eIwNLB3iyBuebowBhDtrl+uSB1A=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "setprototypeof": "1.0.2", + "statuses": "1.3.1" + } + }, + "http-proxy": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.16.2.tgz", + "integrity": "sha1-Bt/ykpUr9k2+hHH6nfcwZtTzd0I=", + "dev": true, + "requires": { + "eventemitter3": "1.2.0", + "requires-port": "1.0.0" + }, + "dependencies": { + "eventemitter3": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", + "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=", + "dev": true + } + } + }, + "http-proxy-middleware": { + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.17.3.tgz", + "integrity": "sha1-lAOCFHFJuFYIT1U0dS1bWoFozR0=", + "dev": true, + "requires": { + "http-proxy": "1.16.2", + "is-glob": "3.1.0", + "lodash": "4.17.2", + "micromatch": "2.3.11" + } + }, + "http-signature": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", + "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", + "requires": { + "assert-plus": "0.2.0", + "jsprim": "1.4.0", + "sshpk": "1.13.1" + } + }, + "https-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz", + "integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=", + "dev": true + }, + "humanize": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/humanize/-/humanize-0.0.9.tgz", + "integrity": "sha1-GZT/rs3+nEQe0r2sdFK3u0yeQaQ=", + "dev": true + }, + "husky": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/husky/-/husky-0.13.1.tgz", + "integrity": "sha1-Ee/G/BDg7E54l3b2WCvjfXG6TM8=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "find-parent-dir": "0.3.0", + "is-ci": "1.0.10", + "normalize-path": "1.0.0" + }, + "dependencies": { + "normalize-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-1.0.0.tgz", + "integrity": "sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=", + "dev": true + } + } + }, + "hyphenate-style-name": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.2.tgz", + "integrity": "sha1-MRYKNpMK2vH8BMYHT360FGXU7Es=" + }, + "iconv-lite": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.18.tgz", + "integrity": "sha512-sr1ZQph3UwHTR0XftSbK85OvBbxe/abLGzEnPENCQwmHf7sck8Oyu4ob3LgBxWWxRoM+QszeUyl7jbqapu2TqA==" + }, + "icss-replace-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", + "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=", + "dev": true + }, + "ieee754": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", + "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=", + "dev": true + }, + "ignore": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.3.tgz", + "integrity": "sha1-QyNS5XrM2HqzEQ6C0/6g5HgSFW0=", + "dev": true + }, + "ignore-styles": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ignore-styles/-/ignore-styles-5.0.1.tgz", + "integrity": "sha1-tJ7yJ0va/NikiAqWa/440aC/RnE=", + "dev": true + }, + "image-webpack-loader": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/image-webpack-loader/-/image-webpack-loader-3.2.0.tgz", + "integrity": "sha1-8mMG1gSNOi9ajYROyu3StxSPCk4=", + "dev": true, + "requires": { + "file-loader": "0.9.0", + "imagemin": "5.3.1", + "imagemin-gifsicle": "5.2.0", + "imagemin-mozjpeg": "6.0.0", + "imagemin-optipng": "5.2.1", + "imagemin-pngquant": "5.0.1", + "imagemin-svgo": "5.2.2", + "loader-utils": "0.2.17" + }, + "dependencies": { + "file-loader": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-0.9.0.tgz", + "integrity": "sha1-HS2t3UJM5tGwfP4/eXMb7TYXq0I=", + "dev": true, + "requires": { + "loader-utils": "0.2.17" + } + } + } + }, + "imagemin": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/imagemin/-/imagemin-5.3.1.tgz", + "integrity": "sha1-8Zwu7h5xumxlWMUV+fyWaAGJptQ=", + "dev": true, + "requires": { + "file-type": "4.4.0", + "globby": "6.1.0", + "make-dir": "1.0.0", + "p-pipe": "1.2.0", + "pify": "2.3.0", + "replace-ext": "1.0.0" + }, + "dependencies": { + "file-type": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-4.4.0.tgz", + "integrity": "sha1-G2AOX8ofvcboDApwxxyNul95BsU=", + "dev": true + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "glob": "7.1.2", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "replace-ext": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", + "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", + "dev": true + } + } + }, + "imagemin-gifsicle": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/imagemin-gifsicle/-/imagemin-gifsicle-5.2.0.tgz", + "integrity": "sha512-K01m5QuPK+0en8oVhiOOAicF7KjrHlCZxS++mfLI2mV/Ksfq/Y9nCXCWDz6jRv13wwlqe5T7hXT+ji2DnLc2yQ==", + "dev": true, + "requires": { + "exec-buffer": "3.2.0", + "gifsicle": "3.0.4", + "is-gif": "1.0.0" + } + }, + "imagemin-mozjpeg": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/imagemin-mozjpeg/-/imagemin-mozjpeg-6.0.0.tgz", + "integrity": "sha1-caMqRXqhsmEXpo7u8tmxkMLlCR4=", + "dev": true, + "requires": { + "exec-buffer": "3.2.0", + "is-jpg": "1.0.0", + "mozjpeg": "4.1.1" + } + }, + "imagemin-optipng": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/imagemin-optipng/-/imagemin-optipng-5.2.1.tgz", + "integrity": "sha1-0i2kEsCfX/AKQzmWC5ioix2+hpU=", + "dev": true, + "requires": { + "exec-buffer": "3.2.0", + "is-png": "1.1.0", + "optipng-bin": "3.1.4" + } + }, + "imagemin-pngquant": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/imagemin-pngquant/-/imagemin-pngquant-5.0.1.tgz", + "integrity": "sha1-2KMp2lU6+iJrEc5i3r4Lfje0OeY=", + "dev": true, + "requires": { + "exec-buffer": "3.2.0", + "is-png": "1.1.0", + "pngquant-bin": "3.1.1" + } + }, + "imagemin-svgo": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/imagemin-svgo/-/imagemin-svgo-5.2.2.tgz", + "integrity": "sha1-UBaZ9XiXMKV5IrhzbqFcU/e1WDg=", + "dev": true, + "requires": { + "is-svg": "2.1.0", + "svgo": "0.7.2" + } + }, + "immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=" + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, + "in-publish": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", + "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=" + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "requires": { + "repeating": "2.0.1" + } + }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, + "ini": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz", + "integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=" + }, + "inline-style-prefixer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-2.0.5.tgz", + "integrity": "sha1-wVPH6I/YT+9cYC6VqBaLJ3BnH+c=", + "requires": { + "bowser": "1.7.1", + "hyphenate-style-name": "1.0.2" + } + }, + "inquirer": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.2.1.tgz", + "integrity": "sha512-QgW3eiPN8gpj/K5vVpHADJJgrrF0ho/dZGylikGX7iqAdRgC9FVKYKWFLx6hZDBFcOLEoSqINYrVPeFAeG/PdA==", + "requires": { + "ansi-escapes": "2.0.0", + "chalk": "2.0.1", + "cli-cursor": "2.1.0", + "cli-width": "2.1.0", + "external-editor": "2.0.4", + "figures": "2.0.0", + "lodash": "4.17.2", + "mute-stream": "0.0.7", + "run-async": "2.3.0", + "rx-lite": "4.0.8", + "rx-lite-aggregates": "4.0.8", + "string-width": "2.1.1", + "strip-ansi": "4.0.0", + "through": "2.3.8" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, + "ansi-styles": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", + "requires": { + "color-convert": "1.9.0" + } + }, + "chalk": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.0.1.tgz", + "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", + "requires": { + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "3.0.0" + } + }, + "supports-color": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.2.1.tgz", + "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "interpret": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.0.3.tgz", + "integrity": "sha1-y8NcYu7uc/Gat7EKgBURQBr8D5A=", + "dev": true + }, + "intl-format-cache": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/intl-format-cache/-/intl-format-cache-2.0.5.tgz", + "integrity": "sha1-tITO/Lk1PzdPJd44mjzuoa8Y18k=" + }, + "intl-messageformat": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-1.3.0.tgz", + "integrity": "sha1-99kmre16OrGbLcYB79VOmaS9Tq4=", + "requires": { + "intl-messageformat-parser": "1.2.0" + } + }, + "intl-messageformat-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/intl-messageformat-parser/-/intl-messageformat-parser-1.2.0.tgz", + "integrity": "sha1-WQa3+VOrdHDg3IVJCXtki5kYkv8=" + }, + "intl-relativeformat": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/intl-relativeformat/-/intl-relativeformat-1.3.0.tgz", + "integrity": "sha1-iT3HB2/M04DPCRojAMOA+les5Fs=", + "requires": { + "intl-messageformat": "1.3.0" + } + }, + "invariant": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", + "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", + "requires": { + "loose-envify": "1.3.1" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" + }, + "ip-regex": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.3.tgz", + "integrity": "sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0=", + "dev": true + }, + "ipaddr.js": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.4.0.tgz", + "integrity": "sha1-KWrKh4qCGBbluF0KKFqZvP9FgvA=", + "dev": true + }, + "irregular-plurals": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-1.3.0.tgz", + "integrity": "sha512-njf5A+Mxb3kojuHd1DzISjjIl+XhyzovXEOyPPSzdQozq/Lf2tN27mOrAAsxEPZxpn6I4MGzs1oo9TxXxPFpaA==", + "dev": true + }, + "is-absolute": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-0.1.7.tgz", + "integrity": "sha1-hHSREZ/MtftDYhfMc39/qtUPYD8=", + "requires": { + "is-relative": "0.1.3" + } + }, + "is-absolute-url": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", + "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", + "dev": true + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "1.9.0" + } + }, + "is-buffer": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz", + "integrity": "sha1-Hzsm72E7IUuIy8ojzGwB2Hlh7sw=" + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "requires": { + "builtin-modules": "1.1.1" + } + }, + "is-bzip2": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-bzip2/-/is-bzip2-1.0.0.tgz", + "integrity": "sha1-XuWOqlounIDiFAe+3yOuWsCRs/w=" + }, + "is-callable": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", + "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=", + "dev": true + }, + "is-ci": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.0.10.tgz", + "integrity": "sha1-9zkzayYyNlBhqdSCcM1WrjNpMY4=", + "requires": { + "ci-info": "1.0.0" + } + }, + "is-date-object": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", + "dev": true + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-dom": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/is-dom/-/is-dom-1.0.9.tgz", + "integrity": "sha1-SDgy1SlyBz3hK5/j9gMghw2oNw0=" + }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=" + }, + "is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "requires": { + "is-primitive": "2.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-gif": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-gif/-/is-gif-1.0.0.tgz", + "integrity": "sha1-ptKumIkwB7/6l6HYwB1jIFgyCX4=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "requires": { + "is-extglob": "2.1.1" + } + }, + "is-gzip": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-gzip/-/is-gzip-1.0.0.tgz", + "integrity": "sha1-bKiwe5nHeZgCWQDlVc7Y7YCHmoM=" + }, + "is-hex-prefixed": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", + "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=" + }, + "is-jpg": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-jpg/-/is-jpg-1.0.0.tgz", + "integrity": "sha1-KVnBfnNDDbOCZNp1uQ3VTy2G2hw=", + "dev": true + }, + "is-my-json-valid": { + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz", + "integrity": "sha1-8Hndm/2uZe4gOKrorLyGqxCeNpM=", + "dev": true, + "requires": { + "generate-function": "2.0.0", + "generate-object-property": "1.2.0", + "jsonpointer": "4.0.1", + "xtend": "4.0.1" + } + }, + "is-natural-number": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-2.1.1.tgz", + "integrity": "sha1-fUxXKDd+84bD4ZSpkRv1fG3DNec=" + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "requires": { + "kind-of": "3.2.2" + } + }, + "is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=" + }, + "is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "dev": true + }, + "is-path-in-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz", + "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", + "dev": true, + "requires": { + "is-path-inside": "1.0.0" + } + }, + "is-path-inside": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz", + "integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=", + "dev": true, + "requires": { + "path-is-inside": "1.0.2" + } + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + } + } + }, + "is-png": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-png/-/is-png-1.1.0.tgz", + "integrity": "sha1-1XSxK/J1wDUEVVcLDltXqwYgd84=", + "dev": true + }, + "is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=" + }, + "is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=" + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=" + }, + "is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=", + "dev": true + }, + "is-redirect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", + "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=" + }, + "is-regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", + "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", + "dev": true, + "requires": { + "has": "1.0.1" + } + }, + "is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=" + }, + "is-relative": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.1.3.tgz", + "integrity": "sha1-kF/uiuhvRbPsYUvDwVyGnfCHboI=" + }, + "is-resolvable": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.0.0.tgz", + "integrity": "sha1-jfV8YeouPFAUCNEA+wE8+NbgzGI=", + "dev": true, + "requires": { + "tryit": "1.0.3" + } + }, + "is-retry-allowed": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", + "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=" + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + }, + "is-subset": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", + "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", + "dev": true + }, + "is-supported-regexp-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.0.tgz", + "integrity": "sha1-i1IMhfrnolM4LUsCZS4EVXbhO7g=", + "dev": true + }, + "is-svg": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz", + "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=", + "dev": true, + "requires": { + "html-comment-regex": "1.1.1" + } + }, + "is-symbol": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz", + "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=", + "dev": true + }, + "is-tar": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-tar/-/is-tar-1.0.0.tgz", + "integrity": "sha1-L2suF5LB9bs2UZrKqdZcDSb+hT0=" + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "is-url": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.2.tgz", + "integrity": "sha1-SYkFpZO/R8wtnn9zg3K792lsfyY=" + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" + }, + "is-valid-glob": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-0.3.0.tgz", + "integrity": "sha1-1LVcafUYhvm2XHDWwmItN+KfSP4=" + }, + "is-zip": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-zip/-/is-zip-1.0.0.tgz", + "integrity": "sha1-R7Co/004p2QxzP2ZqOFaTIa6IyU=" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "requires": { + "isarray": "1.0.0" + } + }, + "isomorphic-fetch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", + "requires": { + "node-fetch": "1.7.1", + "whatwg-fetch": "2.0.1" + } + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "istanbul": { + "version": "1.0.0-alpha.2", + "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-1.0.0-alpha.2.tgz", + "integrity": "sha1-BglrwI6Yuq10Sq5Gli2N+frGPQg=", + "dev": true, + "requires": { + "abbrev": "1.0.9", + "async": "1.5.2", + "istanbul-api": "1.1.11", + "js-yaml": "3.6.1", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "which": "1.2.14", + "wordwrap": "1.0.0" + }, + "dependencies": { + "abbrev": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", + "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=", + "dev": true + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + } + } + }, + "istanbul-api": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/istanbul-api/-/istanbul-api-1.1.11.tgz", + "integrity": "sha1-/MC0YeKzvaceMFFVE4I4doJX2d4=", + "dev": true, + "requires": { + "async": "2.5.0", + "fileset": "2.0.3", + "istanbul-lib-coverage": "1.1.1", + "istanbul-lib-hook": "1.0.7", + "istanbul-lib-instrument": "1.7.4", + "istanbul-lib-report": "1.1.1", + "istanbul-lib-source-maps": "1.2.1", + "istanbul-reports": "1.1.1", + "js-yaml": "3.9.1", + "mkdirp": "0.5.1", + "once": "1.4.0" + }, + "dependencies": { + "async": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz", + "integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==", + "dev": true, + "requires": { + "lodash": "4.17.2" + } + }, + "esprima": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", + "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==", + "dev": true + }, + "js-yaml": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.9.1.tgz", + "integrity": "sha512-CbcG379L1e+mWBnLvHWWeLs8GyV/EMw862uLI3c+GxVyDHWZcjZinwuBd3iW2pgxgIlksW/1vNJa4to+RvDOww==", + "dev": true, + "requires": { + "argparse": "1.0.9", + "esprima": "4.0.0" + } + } + } + }, + "istanbul-lib-coverage": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz", + "integrity": "sha512-0+1vDkmzxqJIn5rcoEqapSB4DmPxE31EtI2dF2aCkV5esN9EWHxZ0dwgDClivMXJqE7zaYQxq30hj5L0nlTN5Q==", + "dev": true + }, + "istanbul-lib-hook": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-1.0.7.tgz", + "integrity": "sha512-3U2HB9y1ZV9UmFlE12Fx+nPtFqIymzrqCksrXujm3NVbAZIJg/RfYgO1XiIa0mbmxTjWpVEVlkIZJ25xVIAfkQ==", + "dev": true, + "requires": { + "append-transform": "0.4.0" + } + }, + "istanbul-lib-instrument": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.4.tgz", + "integrity": "sha1-6f2SDkdn89Ge3HZeLWs/XMvQ7qg=", + "dev": true, + "requires": { + "babel-generator": "6.25.0", + "babel-template": "6.25.0", + "babel-traverse": "6.25.0", + "babel-types": "6.25.0", + "babylon": "6.17.4", + "istanbul-lib-coverage": "1.1.1", + "semver": "5.4.1" + } + }, + "istanbul-lib-report": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz", + "integrity": "sha512-tvF+YmCmH4thnez6JFX06ujIA19WPa9YUiwjc1uALF2cv5dmE3It8b5I8Ob7FHJ70H9Y5yF+TDkVa/mcADuw1Q==", + "dev": true, + "requires": { + "istanbul-lib-coverage": "1.1.1", + "mkdirp": "0.5.1", + "path-parse": "1.0.5", + "supports-color": "3.2.3" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "istanbul-lib-source-maps": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.1.tgz", + "integrity": "sha512-mukVvSXCn9JQvdJl8wP/iPhqig0MRtuWuD4ZNKo6vB2Ik//AmhAKe3QnPN02dmkRe3lTudFk3rzoHhwU4hb94w==", + "dev": true, + "requires": { + "debug": "2.6.8", + "istanbul-lib-coverage": "1.1.1", + "mkdirp": "0.5.1", + "rimraf": "2.6.1", + "source-map": "0.5.6" + } + }, + "istanbul-reports": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-1.1.1.tgz", + "integrity": "sha512-P8G873A0kW24XRlxHVGhMJBhQ8gWAec+dae7ZxOBzxT4w+a9ATSPvRVK3LB1RAJ9S8bg2tOyWHAGW40Zd2dKfw==", + "dev": true, + "requires": { + "handlebars": "4.0.10" + } + }, + "js-base64": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz", + "integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=", + "dev": true + }, + "js-sha3": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.5.tgz", + "integrity": "sha1-uvDA6MVK1ZA0R9+Wreekobynmko=" + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" + }, + "js-yaml": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", + "integrity": "sha1-bl/mfYsgXOTSL60Ft3geja3MSzA=", + "dev": true, + "requires": { + "argparse": "1.0.9", + "esprima": "2.7.3" + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "optional": true + }, + "jschardet": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/jschardet/-/jschardet-1.5.0.tgz", + "integrity": "sha512-+Q8JsoEQbrdE+a/gg1F9XO92gcKXgpE5UACqr0sIubjDmBEkd+OOWPGzQeMrWSLxd73r4dHxBeRW7edHu5LmJQ==" + }, + "jsdom": { + "version": "9.11.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-9.11.0.tgz", + "integrity": "sha1-qVsDBOUhospaY8bqR793CKeoRZE=", + "dev": true, + "requires": { + "abab": "1.0.3", + "acorn": "4.0.13", + "acorn-globals": "3.1.0", + "array-equal": "1.0.0", + "content-type-parser": "1.0.1", + "cssom": "0.3.2", + "cssstyle": "0.2.37", + "escodegen": "1.8.1", + "html-encoding-sniffer": "1.0.1", + "nwmatcher": "1.4.1", + "parse5": "1.5.1", + "request": "2.81.0", + "sax": "1.2.4", + "symbol-tree": "3.2.2", + "tough-cookie": "2.3.2", + "webidl-conversions": "4.0.1", + "whatwg-encoding": "1.0.1", + "whatwg-url": "4.8.0", + "xml-name-validator": "2.0.1" + }, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + } + } + }, + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" + }, + "json-loader": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.4.tgz", + "integrity": "sha1-i6oTZaYy9Yo8RtIBdfxgAsluN94=", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "requires": { + "jsonify": "0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", + "dev": true + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "jsonfilter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/jsonfilter/-/jsonfilter-1.1.2.tgz", + "integrity": "sha1-Ie987cdRk4E8dZMulqmL4gW6WhE=", + "dev": true, + "requires": { + "JSONStream": "0.8.4", + "minimist": "1.2.0", + "stream-combiner": "0.2.2", + "through2": "0.6.5" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" + }, + "jsonparse": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-0.0.5.tgz", + "integrity": "sha1-MwVCrT8KZUZlt3jz6y2an6UHrGQ=", + "dev": true + }, + "jsonpointer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", + "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", + "dev": true + }, + "jsprim": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.0.tgz", + "integrity": "sha1-o7h+QCmNjDgFUtjMdiigu5WiKRg=", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.0.2", + "json-schema": "0.2.3", + "verror": "1.3.6" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "jsqr": { + "version": "git+https://github.com/JodusNodus/jsQR.git#5ba1acefa1cbb9b2bc92b49f503f2674e2ec212b" + }, + "jsx-ast-utils": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz", + "integrity": "sha1-OGchPo3Xm/Ho8jAMDPwe+xgsDfE=", + "dev": true + }, + "keccak": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.3.0.tgz", + "integrity": "sha512-JgsKPxYhcJxKrV+TrCyg/GwZbOjhpRPrz2kG8xbAsUaIDelUlKjm08YcwBO9Fm8sqf/Kg8ZWkk6nWujhLykfvw==", + "requires": { + "bindings": "1.3.0", + "inherits": "2.0.3", + "nan": "2.6.2", + "prebuild-install": "2.2.1", + "safe-buffer": "5.1.1" + } + }, + "keycode": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/keycode/-/keycode-2.1.9.tgz", + "integrity": "sha1-lkojxU5IiUBbSGGlyfBIDUUUHfo=" + }, + "keythereum": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/keythereum/-/keythereum-0.4.6.tgz", + "integrity": "sha1-D97Hz5OK455eMGGy9uFmd7dmxdo=", + "requires": { + "elliptic": "6.4.0", + "ethereumjs-util": "5.1.1", + "sjcl": "1.0.6", + "uuid": "3.0.0", + "validator": "4.0.2" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.1.1.tgz", + "integrity": "sha1-Ei+zjep0fcYrOuv8Nl0b1Ivktz4=", + "requires": { + "bn.js": "4.11.7", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.3.0", + "rlp": "2.0.0", + "secp256k1": "3.3.0" + } + }, + "validator": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/validator/-/validator-4.0.2.tgz", + "integrity": "sha1-cKHCUl7EdE5AmXHBspiqaadTQlE=" + } + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "1.1.5" + } + }, + "klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "known-css-properties": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.0.6.tgz", + "integrity": "sha1-caC4/eG240McRx77w9lzP667z78=", + "dev": true + }, + "laggard": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/laggard/-/laggard-0.1.0.tgz", + "integrity": "sha1-Lv1kX38tjz0nrICAOcqGqO40EHU=", + "dev": true, + "requires": { + "minimist": "1.2.0", + "pixrem": "3.0.2", + "postcss": "5.2.17", + "postcss-color-rgba-fallback": "2.2.0", + "postcss-opacity": "3.0.0", + "postcss-pseudoelements": "3.0.0", + "postcss-reporter": "1.4.1", + "postcss-vmin": "2.0.0", + "postcss-will-change": "1.1.0", + "read-file-stdin": "0.2.1", + "write-file-stdout": "0.0.2" + }, + "dependencies": { + "postcss-opacity": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-opacity/-/postcss-opacity-3.0.0.tgz", + "integrity": "sha1-eHm8xzRAW/dKpsgcORdiBS/FWyk=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-reporter": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", + "integrity": "sha1-wTbwpbFhkV83ndN2XGEHX357mvI=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "lodash": "4.17.2", + "log-symbols": "1.0.2", + "postcss": "5.2.17" + } + } + } + }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=" + }, + "lazy-req": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz", + "integrity": "sha1-va6+rTD42CQDnODOFJ1Nqge6H6w=", + "dev": true + }, + "lazystream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", + "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=", + "requires": { + "readable-stream": "2.3.3" + } + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "requires": { + "invert-kv": "1.0.0" + } + }, + "lcov-parse": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", + "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", + "dev": true + }, + "ldjson-stream": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ldjson-stream/-/ldjson-stream-1.2.1.tgz", + "integrity": "sha1-kb7O2lrE7SsX5kn7d356v6AYnCs=", + "dev": true, + "requires": { + "split2": "0.2.1", + "through2": "0.6.5" + } + }, + "leven": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", + "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=" + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2", + "type-check": "0.3.2" + } + }, + "lie": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", + "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", + "requires": { + "immediate": "3.0.6" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "loader-runner": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", + "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=", + "dev": true + }, + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "requires": { + "big.js": "3.1.3", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "2.0.0", + "path-exists": "3.0.0" + }, + "dependencies": { + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } + } + }, + "lodash": { + "version": "4.17.2", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.2.tgz", + "integrity": "sha1-NKMFW6vgTOQkZ7YH1wAHLH/2v0I=" + }, + "lodash-es": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.4.tgz", + "integrity": "sha1-3MHXVS4VCgZABzupyzHXDwMpUOc=" + }, + "lodash._baseassign": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", + "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=", + "dev": true, + "requires": { + "lodash._basecopy": "3.0.1", + "lodash.keys": "3.1.2" + } + }, + "lodash._basecopy": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", + "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=" + }, + "lodash._basecreate": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz", + "integrity": "sha1-G8ZhYU2qf8MRt9A78WgGoCE8+CE=", + "dev": true + }, + "lodash._basetostring": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz", + "integrity": "sha1-0YYdh3+CSlL2aYMtyvPuFVZqB9U=" + }, + "lodash._basevalues": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz", + "integrity": "sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc=" + }, + "lodash._getnative": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", + "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=" + }, + "lodash._isiterateecall": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", + "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=" + }, + "lodash._reescape": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz", + "integrity": "sha1-Kx1vXf4HyKNVdT5fJ/rH8c3hYWo=" + }, + "lodash._reevaluate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz", + "integrity": "sha1-WLx0xAZklTrgsSTYBpltrKQx4u0=" + }, + "lodash._reinterpolate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", + "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" + }, + "lodash._root": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz", + "integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=" + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=" + }, + "lodash.assignin": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz", + "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=", + "dev": true + }, + "lodash.bind": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-4.2.1.tgz", + "integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU=", + "dev": true + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true + }, + "lodash.create": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lodash.create/-/lodash.create-3.1.1.tgz", + "integrity": "sha1-1/KEnw29p+BGgruM1yqwIkYd6+c=", + "dev": true, + "requires": { + "lodash._baseassign": "3.2.0", + "lodash._basecreate": "3.0.3", + "lodash._isiterateecall": "3.0.9" + } + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", + "dev": true + }, + "lodash.escape": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz", + "integrity": "sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg=", + "requires": { + "lodash._root": "3.0.1" + } + }, + "lodash.filter": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz", + "integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4=", + "dev": true + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", + "dev": true + }, + "lodash.foreach": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", + "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=", + "dev": true + }, + "lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" + }, + "lodash.isarray": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", + "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=" + }, + "lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" + }, + "lodash.keys": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", + "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=", + "requires": { + "lodash._getnative": "3.9.1", + "lodash.isarguments": "3.1.0", + "lodash.isarray": "3.0.4" + } + }, + "lodash.map": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", + "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=", + "dev": true + }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, + "lodash.merge": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.0.tgz", + "integrity": "sha1-aYhLoUSsM/5plzemCG3v+t0PicU=" + }, + "lodash.pad": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/lodash.pad/-/lodash.pad-4.5.1.tgz", + "integrity": "sha1-QzCUmoM6fI2iLMIPaibE1Z3runA=" + }, + "lodash.padend": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.padend/-/lodash.padend-4.6.1.tgz", + "integrity": "sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4=" + }, + "lodash.padstart": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.padstart/-/lodash.padstart-4.6.1.tgz", + "integrity": "sha1-0uPuv/DZ05rVD1y9G1KnvOa7YRs=" + }, + "lodash.pick": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", + "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", + "dev": true + }, + "lodash.pickby": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.pickby/-/lodash.pickby-4.6.0.tgz", + "integrity": "sha1-feoh2MGNdwOifHBMFdO4SmfjOv8=", + "dev": true + }, + "lodash.reduce": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reduce/-/lodash.reduce-4.6.0.tgz", + "integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs=", + "dev": true + }, + "lodash.reject": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", + "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=", + "dev": true + }, + "lodash.restparam": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz", + "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=" + }, + "lodash.some": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", + "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", + "dev": true + }, + "lodash.template": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz", + "integrity": "sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8=", + "requires": { + "lodash._basecopy": "3.0.1", + "lodash._basetostring": "3.0.1", + "lodash._basevalues": "3.0.0", + "lodash._isiterateecall": "3.0.9", + "lodash._reinterpolate": "3.0.0", + "lodash.escape": "3.2.0", + "lodash.keys": "3.1.2", + "lodash.restparam": "3.6.1", + "lodash.templatesettings": "3.1.1" + } + }, + "lodash.templatesettings": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz", + "integrity": "sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU=", + "requires": { + "lodash._reinterpolate": "3.0.0", + "lodash.escape": "3.2.0" + } + }, + "lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" + }, + "lodash.toarray": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz", + "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=" + }, + "lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", + "dev": true + }, + "log-driver": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz", + "integrity": "sha1-euTsJXMC/XkNVXyxDJcQDYV7AFY=", + "dev": true + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + }, + "logalot": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/logalot/-/logalot-2.1.0.tgz", + "integrity": "sha1-X46MkNME7fElMJUaVVSruMXj9VI=", + "dev": true, + "requires": { + "figures": "1.7.0", + "squeak": "1.3.0" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + } + } + }, + "loglevel": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.4.1.tgz", + "integrity": "sha1-lbOD+Ro8J1b9SrCTZn5DCRYfK80=" + }, + "lolex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-1.3.2.tgz", + "integrity": "sha1-fD2mL/yzDw9agKJWbKJORdigHzE=", + "dev": true + }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" + }, + "loose-envify": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", + "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "requires": { + "js-tokens": "3.0.2" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "requires": { + "currently-unhandled": "0.4.1", + "signal-exit": "3.0.2" + } + }, + "lower-case": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", + "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=", + "dev": true + }, + "lowercase-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", + "integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=" + }, + "lpad-align": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/lpad-align/-/lpad-align-1.1.2.tgz", + "integrity": "sha1-IfYArBwwlcPG5JfuZyce4ISB/p4=", + "dev": true, + "requires": { + "get-stdin": "4.0.1", + "indent-string": "2.1.0", + "longest": "1.0.1", + "meow": "3.7.0" + }, + "dependencies": { + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + } + } + }, + "lru-cache": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz", + "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", + "dev": true, + "requires": { + "pseudomap": "1.0.2", + "yallist": "2.1.2" + } + }, + "macaddress": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.2.8.tgz", + "integrity": "sha1-WQTcU3w57G2+/q6QIycTX6hRHxI=", + "dev": true + }, + "make-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.0.0.tgz", + "integrity": "sha1-l6ARdR6R3YfPre9Ygy67BJNt6Xg=", + "dev": true, + "requires": { + "pify": "2.3.0" + } + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" + }, + "markdown-loader": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/markdown-loader/-/markdown-loader-2.0.0.tgz", + "integrity": "sha1-Qhhi04xCJP02FetkgBfqOFtWLXg=", + "dev": true, + "requires": { + "loader-utils": "0.2.17", + "marked": "0.3.6" + } + }, + "marked": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.6.tgz", + "integrity": "sha1-ssbGGPzOzk74bE/Gy4p8v1rtqNc=" + }, + "material-ui": { + "version": "0.16.5", + "resolved": "https://registry.npmjs.org/material-ui/-/material-ui-0.16.5.tgz", + "integrity": "sha1-u4ZhqsfKyMsiOj529PV+4YpK78E=", + "requires": { + "babel-runtime": "6.23.0", + "inline-style-prefixer": "2.0.5", + "keycode": "2.1.9", + "lodash.merge": "4.6.0", + "lodash.throttle": "4.1.1", + "react-addons-create-fragment": "15.6.0", + "react-addons-transition-group": "15.6.0", + "react-event-listener": "0.4.1", + "recompose": "0.20.2", + "simple-assign": "0.1.0", + "warning": "3.0.0" + } + }, + "material-ui-chip-input": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/material-ui-chip-input/-/material-ui-chip-input-0.11.1.tgz", + "integrity": "sha1-6Sssxcl0HNddaxgi8cd3GtTObBA=" + }, + "math-expression-evaluator": { + "version": "1.2.17", + "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", + "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=" + }, + "mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=" + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "0.1.4", + "readable-stream": "2.3.3" + } + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=" + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "requires": { + "camelcase-keys": "2.1.0", + "decamelize": "1.2.0", + "loud-rejection": "1.6.0", + "map-obj": "1.0.1", + "minimist": "1.2.0", + "normalize-package-data": "2.4.0", + "object-assign": "4.1.1", + "read-pkg-up": "1.0.1", + "redent": "1.0.0", + "trim-newlines": "1.0.0" + } + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "merge-stream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz", + "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=", + "requires": { + "readable-stream": "2.3.3" + } + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "requires": { + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.3" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "requires": { + "is-extglob": "1.0.0" + } + } + } + }, + "miller-rabin": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.0.tgz", + "integrity": "sha1-SmL7HUKTPAVYOYL0xxb2+55sbT0=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "brorand": "1.1.0" + } + }, + "mime": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", + "integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM=", + "dev": true + }, + "mime-db": { + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.29.0.tgz", + "integrity": "sha1-SNJtI1WJZRcErFkWygYAGRQmaHg=" + }, + "mime-types": { + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.16.tgz", + "integrity": "sha1-K4WKUuXs1RbbiXrCvodIeDBpjiM=", + "requires": { + "mime-db": "1.29.0" + } + }, + "mimic-fn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz", + "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=" + }, + "min-document": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", + "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", + "dev": true, + "requires": { + "dom-walk": "0.1.1" + } + }, + "minimalistic-assert": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz", + "integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M=" + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "1.1.8" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "requires": { + "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + } + } + }, + "mobx": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/mobx/-/mobx-2.6.4.tgz", + "integrity": "sha1-4FqRpbLJfaw/2rNAJOa3Sn9DEas=" + }, + "mobx-react": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/mobx-react/-/mobx-react-4.0.3.tgz", + "integrity": "sha1-QOsx0l4LjWMEjtojdsxWv6vRT3U=", + "requires": { + "hoist-non-react-statics": "1.2.0" + } + }, + "mobx-react-devtools": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/mobx-react-devtools/-/mobx-react-devtools-4.2.10.tgz", + "integrity": "sha1-eSdL2NRLoE2VByhzihRFQfoqYBI=" + }, + "mocha": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.2.0.tgz", + "integrity": "sha1-fcT0XlCIB1FxpoiWgU5q6et6heM=", + "dev": true, + "requires": { + "browser-stdout": "1.3.0", + "commander": "2.9.0", + "debug": "2.2.0", + "diff": "1.4.0", + "escape-string-regexp": "1.0.5", + "glob": "7.0.5", + "growl": "1.9.2", + "json3": "3.3.2", + "lodash.create": "3.1.1", + "mkdirp": "0.5.1", + "supports-color": "3.1.2" + }, + "dependencies": { + "commander": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", + "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", + "dev": true, + "requires": { + "graceful-readlink": "1.0.1" + } + }, + "debug": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", + "dev": true, + "requires": { + "ms": "0.7.1" + } + }, + "glob": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.5.tgz", + "integrity": "sha1-tCAqaQmbu00pKnwblbZoK2fr3JU=", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", + "dev": true + }, + "supports-color": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz", + "integrity": "sha1-cqJiiU2dQIuVbKBf83su2KbiotU=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "mock-local-storage": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/mock-local-storage/-/mock-local-storage-1.0.2.tgz", + "integrity": "sha1-plplzdq0cHQz1Suk6fa2MIS4wpg=", + "dev": true, + "requires": { + "core-js": "0.8.4" + }, + "dependencies": { + "core-js": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-0.8.4.tgz", + "integrity": "sha1-wiZl8eDRucPF4bCNq9HxCGleT88=", + "dev": true + } + } + }, + "mock-socket": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-6.0.4.tgz", + "integrity": "sha1-hfWKCqg7wdtMp9FLQtj53WY+dWk=", + "dev": true + }, + "moment": { + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.17.0.tgz", + "integrity": "sha1-pMKS4CqsXd77Kabu0k9Rk43Tt08=" + }, + "mozjpeg": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/mozjpeg/-/mozjpeg-4.1.1.tgz", + "integrity": "sha1-hZAwsk9omlPbm0DwFg2JGVuI/VA=", + "dev": true, + "requires": { + "bin-build": "2.2.0", + "bin-wrapper": "3.0.2", + "logalot": "2.1.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "multimatch": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", + "integrity": "sha1-nHkGoi+0wCkZ4vX3UWG0zb1LKis=", + "dev": true, + "requires": { + "array-differ": "1.0.0", + "array-union": "1.0.2", + "arrify": "1.0.1", + "minimatch": "3.0.4" + } + }, + "multipipe": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz", + "integrity": "sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s=", + "requires": { + "duplexer2": "0.0.2" + }, + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "requires": { + "readable-stream": "1.1.14" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + } + } + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=" + }, + "nan": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz", + "integrity": "sha1-5P805slf37WuzAjeZZb0NgWn20U=" + }, + "napa": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/napa/-/napa-2.3.0.tgz", + "integrity": "sha1-QZZUbRoLa7lPNwQgU8xd3XlzHlM=", + "requires": { + "download": "4.4.3", + "extend": "3.0.1", + "load-json-file": "1.1.0", + "minimist": "1.2.0", + "mkdirp": "0.5.1", + "npm-cache-filename": "1.0.2", + "npmlog": "2.0.4", + "rimraf": "2.6.1", + "tar-pack": "3.4.0", + "write-json-file": "1.2.0" + }, + "dependencies": { + "extend": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + }, + "gauge": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-1.2.7.tgz", + "integrity": "sha1-6c7FSD09TuDvRLYKfZnkk14TbZM=", + "requires": { + "ansi": "0.3.1", + "has-unicode": "2.0.1", + "lodash.pad": "4.5.1", + "lodash.padend": "4.6.1", + "lodash.padstart": "4.6.1" + } + }, + "npmlog": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-2.0.4.tgz", + "integrity": "sha1-mLUlMPJRTKkNCexbIsiEZyI3VpI=", + "requires": { + "ansi": "0.3.1", + "are-we-there-yet": "1.1.4", + "gauge": "1.2.7" + } + } + } + }, + "native-promise-only": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", + "integrity": "sha1-IKMYwwy0X3H+et+/eyHJnBRy7xE=", + "dev": true + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "ncname": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ncname/-/ncname-1.0.0.tgz", + "integrity": "sha1-W1etGLHKCShk72Kwse2BlPODtxw=", + "dev": true, + "requires": { + "xml-char-classes": "1.0.0" + } + }, + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", + "dev": true + }, + "no-case": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.1.tgz", + "integrity": "sha1-euuhxzpSGEJlVUt9wDuvcg34AIE=", + "dev": true, + "requires": { + "lower-case": "1.1.4" + } + }, + "nock": { + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/nock/-/nock-9.0.7.tgz", + "integrity": "sha1-zJNIG7FfOL7Co5xEQr4HglI1saE=", + "dev": true, + "requires": { + "chai": "3.5.0", + "debug": "2.6.8", + "deep-equal": "1.0.1", + "json-stringify-safe": "5.0.1", + "lodash": "4.17.2", + "mkdirp": "0.5.1", + "propagate": "0.4.0", + "qs": "6.3.0" + } + }, + "node-abi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.1.0.tgz", + "integrity": "sha512-AbW35CPRE4vdieOse46V+16dKispLNv3PQwgqlcfg7GQeQHcLu3gvp3fbU2gTh7d8NfGjp5CJh+j4Hpyb0XzaA==" + }, + "node-dir": { + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", + "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", + "dev": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "node-emoji": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.8.1.tgz", + "integrity": "sha512-+ktMAh1Jwas+TnGodfCfjUbJKoANqPaJFN0z0iqh41eqD8dvguNzcitVSBSVK1pidz0AqGbLKcoVuVLRVZ/aVg==", + "requires": { + "lodash.toarray": "4.4.0" + } + }, + "node-fetch": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.1.tgz", + "integrity": "sha512-j8XsFGCLw79vWXkZtMSmmLaOk9z5SQ9bV/tkbZVCqvgwzrjAGq66igobLofHtF63NvMTp2WjytpsNTGKa+XRIQ==", + "requires": { + "encoding": "0.1.12", + "is-stream": "1.1.0" + } + }, + "node-gyp": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.6.2.tgz", + "integrity": "sha1-m/vlRWIoYoSDjnUOrAUpWFP6HGA=", + "requires": { + "fstream": "1.0.11", + "glob": "7.1.2", + "graceful-fs": "4.1.11", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "npmlog": "4.1.2", + "osenv": "0.1.4", + "request": "2.81.0", + "rimraf": "2.6.1", + "semver": "5.3.0", + "tar": "2.2.1", + "which": "1.2.14" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=" + } + } + }, + "node-libs-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.0.0.tgz", + "integrity": "sha1-o6WeyXAkmFtG6Vg3lkb5bEthZkY=", + "dev": true, + "requires": { + "assert": "1.4.1", + "browserify-zlib": "0.1.4", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.11.1", + "domain-browser": "1.1.7", + "events": "1.1.1", + "https-browserify": "0.0.1", + "os-browserify": "0.2.1", + "path-browserify": "0.0.0", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.3", + "stream-browserify": "2.0.1", + "stream-http": "2.7.2", + "string_decoder": "0.10.31", + "timers-browserify": "2.0.3", + "tty-browserify": "0.0.0", + "url": "0.11.0", + "util": "0.10.3", + "vm-browserify": "0.0.4" + }, + "dependencies": { + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "node-status-codes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz", + "integrity": "sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8=" + }, + "noop-logger": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz", + "integrity": "sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI=" + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "requires": { + "abbrev": "1.1.0" + } + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "requires": { + "hosted-git-info": "2.5.0", + "is-builtin-module": "1.0.0", + "semver": "5.4.1", + "validate-npm-package-license": "3.0.1" + } + }, + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "requires": { + "remove-trailing-separator": "1.0.2" + } + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "normalize-selector": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz", + "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=", + "dev": true + }, + "normalize-url": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", + "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "prepend-http": "1.0.4", + "query-string": "4.3.4", + "sort-keys": "1.1.2" + } + }, + "npm-cache-filename": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/npm-cache-filename/-/npm-cache-filename-1.0.2.tgz", + "integrity": "sha1-3tMGxbC/yHCp6fr4I7xfKD4FrhE=" + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "2.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "nth-check": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz", + "integrity": "sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=", + "dev": true, + "requires": { + "boolbase": "1.0.0" + } + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "nwmatcher": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.1.tgz", + "integrity": "sha1-eumwew6oBNt+JfBctf5Al9TklJ8=", + "dev": true + }, + "oauth-sign": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", + "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-is": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz", + "integrity": "sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=", + "dev": true + }, + "object-keys": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", + "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=", + "dev": true + }, + "object-path": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.4.tgz", + "integrity": "sha1-NwrnUvvzfePqcKhhwju6iRVpGUk=" + }, + "object.assign": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.0.4.tgz", + "integrity": "sha1-scnMBE7xuf5jYG/BQau7MuFHMMw=", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "function-bind": "1.1.0", + "object-keys": "1.0.11" + } + }, + "object.entries": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.0.4.tgz", + "integrity": "sha1-G/mk3SKI9bM/Opk9JXZh8F0WGl8=", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "es-abstract": "1.7.0", + "function-bind": "1.1.0", + "has": "1.0.1" + } + }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "requires": { + "for-own": "0.1.5", + "is-extendable": "0.1.1" + } + }, + "object.values": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.0.4.tgz", + "integrity": "sha1-5STaCbT2b/Bd9FdUbscqyZ8TBpo=", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "es-abstract": "1.7.0", + "function-bind": "1.1.0", + "has": "1.0.1" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1.0.2" + } + }, + "onecolor": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/onecolor/-/onecolor-3.0.4.tgz", + "integrity": "sha1-daRvgNpseqpbTarhekcZi9llJJQ=", + "dev": true + }, + "onetime": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=" + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "0.0.10", + "wordwrap": "0.0.2" + }, + "dependencies": { + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "dev": true, + "requires": { + "deep-is": "0.1.3", + "fast-levenshtein": "2.0.6", + "levn": "0.3.0", + "prelude-ls": "1.1.2", + "type-check": "0.3.2", + "wordwrap": "1.0.0" + }, + "dependencies": { + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + } + } + }, + "optipng-bin": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/optipng-bin/-/optipng-bin-3.1.4.tgz", + "integrity": "sha1-ldNPLEiHBPb9cGBr/qDGWfHZXYQ=", + "dev": true, + "requires": { + "bin-build": "2.2.0", + "bin-wrapper": "3.0.2", + "logalot": "2.1.0" + } + }, + "ordered-read-streams": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.3.0.tgz", + "integrity": "sha1-cTfmmzKYuzQiR6G77jiByA4v14s=", + "requires": { + "is-stream": "1.1.0", + "readable-stream": "2.3.3" + } + }, + "os-browserify": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz", + "integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8=", + "dev": true + }, + "os-filter-obj": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/os-filter-obj/-/os-filter-obj-1.0.3.tgz", + "integrity": "sha1-WRUzDZDs7VV9LZOKMcbdIU2cY60=", + "dev": true + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + }, + "os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "requires": { + "lcid": "1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "osenv": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", + "integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=", + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "output-file-sync": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz", + "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "mkdirp": "0.5.1", + "object-assign": "4.1.1" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-limit": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz", + "integrity": "sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw=", + "dev": true + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "1.1.0" + } + }, + "p-pipe": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-1.2.0.tgz", + "integrity": "sha1-SxoROZoRUgpneQ7loMHViB1r7+k=", + "dev": true + }, + "pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", + "dev": true + }, + "param-case": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz", + "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=", + "dev": true, + "requires": { + "no-case": "2.3.1" + } + }, + "parse-asn1": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.0.tgz", + "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", + "dev": true, + "requires": { + "asn1.js": "4.9.1", + "browserify-aes": "1.0.6", + "create-hash": "1.1.3", + "evp_bytestokey": "1.0.0", + "pbkdf2": "3.0.12" + } + }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "requires": { + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "requires": { + "is-extglob": "1.0.0" + } + } + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "requires": { + "error-ex": "1.3.1" + } + }, + "parse5": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz", + "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=", + "dev": true + }, + "parseurl": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.1.tgz", + "integrity": "sha1-yKuMkiO6NIiKpkopeyiFO+wY2lY=", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=" + }, + "path-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "dev": true + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=" + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "requires": { + "pinkie-promise": "2.0.1" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", + "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", + "dev": true + }, + "path-to-regexp": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz", + "integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=", + "requires": { + "isarray": "0.0.1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + } + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "pbkdf2": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.12.tgz", + "integrity": "sha1-vjZ4XFBn6kjYBv+SMojF91C2uKI=", + "dev": true, + "requires": { + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "ripemd160": "2.0.1", + "safe-buffer": "5.1.1", + "sha.js": "2.4.8" + } + }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "phoneformat.js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/phoneformat.js/-/phoneformat.js-1.0.3.tgz", + "integrity": "sha1-Eb40dOdkdFQP43NMwz8aZYQdX4c=" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "requires": { + "pinkie": "2.0.4" + } + }, + "pipetteur": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pipetteur/-/pipetteur-2.0.3.tgz", + "integrity": "sha1-GVV2CVno0aEcsqUOyD7sRwYz5J8=", + "dev": true, + "requires": { + "onecolor": "3.0.4", + "synesthesia": "1.0.1" + } + }, + "pixrem": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pixrem/-/pixrem-3.0.2.tgz", + "integrity": "sha1-MNG6+0w73Ojpu0vVahOYVhkyDDQ=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "postcss": "5.2.17", + "reduce-css-calc": "1.3.0" + } + }, + "pkg-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", + "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", + "dev": true, + "requires": { + "find-up": "1.1.2" + } + }, + "plur": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/plur/-/plur-2.1.2.tgz", + "integrity": "sha1-dIJFLBoPUI4+NE6uwxLJHCncZVo=", + "dev": true, + "requires": { + "irregular-plurals": "1.3.0" + } + }, + "pluralize": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz", + "integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=", + "dev": true + }, + "pngquant-bin": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/pngquant-bin/-/pngquant-bin-3.1.1.tgz", + "integrity": "sha1-0STZinWpSH9AwWQLTb/Lsr1aH9E=", + "dev": true, + "requires": { + "bin-build": "2.2.0", + "bin-wrapper": "3.0.2", + "logalot": "2.1.0" + } + }, + "postcss": { + "version": "5.2.17", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.17.tgz", + "integrity": "sha1-z09Ze4ZNZcikkrLqvp1wbIecOIs=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "js-base64": "2.1.9", + "source-map": "0.5.6", + "supports-color": "3.2.3" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "postcss-alias": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/postcss-alias/-/postcss-alias-1.0.0.tgz", + "integrity": "sha1-Bwxh7hGXr27l63XSat9IiZudL3s=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-calc": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz", + "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "postcss-message-helpers": "2.0.0", + "reduce-css-calc": "1.3.0" + } + }, + "postcss-clearfix": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/postcss-clearfix/-/postcss-clearfix-1.0.0.tgz", + "integrity": "sha1-r+xqDgHSXaw2pUrbif/Uv+HSGa8=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-color-rgba-fallback": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-color-rgba-fallback/-/postcss-color-rgba-fallback-2.2.0.tgz", + "integrity": "sha1-bSlJG+WZCpMXPUfnx29YELCUAro=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0", + "rgb-hex": "1.0.0" + } + }, + "postcss-colormin": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-2.2.2.tgz", + "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=", + "dev": true, + "requires": { + "colormin": "1.1.2", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-convert-values": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz", + "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-discard-comments": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz", + "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-discard-duplicates": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz", + "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-discard-empty": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz", + "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-discard-overridden": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz", + "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-discard-unused": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz", + "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "uniqs": "2.0.0" + } + }, + "postcss-easings": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/postcss-easings/-/postcss-easings-0.3.0.tgz", + "integrity": "sha1-I9zL+XWH4o1doZw7rktQaYxarV4=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-filter-plugins": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.2.tgz", + "integrity": "sha1-bYWGJTTXNaxCDkqFgG4fXUKG2Ew=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "uniqid": "4.1.1" + } + }, + "postcss-fontpath": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/postcss-fontpath/-/postcss-fontpath-0.3.0.tgz", + "integrity": "sha1-KBQqed0Y8snwv1yH96PreUxTkp4=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "postcss": "5.2.17" + } + }, + "postcss-hexrgba": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/postcss-hexrgba/-/postcss-hexrgba-0.2.1.tgz", + "integrity": "sha1-XGGrukOcCjjknn+8CzzZNhGewiU=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-import": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-9.1.0.tgz", + "integrity": "sha1-lf6YdqHnmvSfvcNYnwH+WqfMHoA=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0", + "promise-each": "2.2.0", + "read-cache": "1.0.0", + "resolve": "1.4.0" + } + }, + "postcss-input-style": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/postcss-input-style/-/postcss-input-style-0.3.0.tgz", + "integrity": "sha1-47T9sKpEG+0ZMMu0TYrVY0zzhUA=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-less": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-0.14.0.tgz", + "integrity": "sha1-xjGwicbM5CK5oQ86lY0r7dOBkyQ=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-load-config": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-1.2.0.tgz", + "integrity": "sha1-U56a/J3chiASHr+djDZz4M5Q0oo=", + "dev": true, + "requires": { + "cosmiconfig": "2.2.2", + "object-assign": "4.1.1", + "postcss-load-options": "1.2.0", + "postcss-load-plugins": "2.3.0" + } + }, + "postcss-load-options": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-load-options/-/postcss-load-options-1.2.0.tgz", + "integrity": "sha1-sJixVZ3awt8EvAuzdfmaXP4rbYw=", + "dev": true, + "requires": { + "cosmiconfig": "2.2.2", + "object-assign": "4.1.1" + } + }, + "postcss-load-plugins": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/postcss-load-plugins/-/postcss-load-plugins-2.3.0.tgz", + "integrity": "sha1-dFdoEWWZrKLwCfrUJrABdQSdjZI=", + "dev": true, + "requires": { + "cosmiconfig": "2.2.2", + "object-assign": "4.1.1" + } + }, + "postcss-loader": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-1.3.2.tgz", + "integrity": "sha1-xWi2HC5I4nThwiSiWH+1ZvTsJvU=", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-load-config": "1.2.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.1.3", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=", + "dev": true + }, + "postcss-merge-idents": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz", + "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=", + "dev": true, + "requires": { + "has": "1.0.1", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-merge-longhand": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz", + "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-merge-rules": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz", + "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-api": "1.6.1", + "postcss": "5.2.17", + "postcss-selector-parser": "2.2.3", + "vendors": "1.0.1" + } + }, + "postcss-message-helpers": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz", + "integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=", + "dev": true + }, + "postcss-minify-font-values": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz", + "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-gradients": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz", + "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-params": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz", + "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0", + "uniqs": "2.0.0" + } + }, + "postcss-minify-selectors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz", + "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "has": "1.0.1", + "postcss": "5.2.17", + "postcss-selector-parser": "2.2.3" + } + }, + "postcss-modules-extract-imports": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz", + "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=", + "dev": true, + "requires": { + "postcss": "6.0.8" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", + "dev": true, + "requires": { + "color-convert": "1.9.0" + } + }, + "chalk": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.0.1.tgz", + "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", + "dev": true, + "requires": { + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" + } + }, + "postcss": { + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", + "dev": true, + "requires": { + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" + } + }, + "supports-color": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.2.1.tgz", + "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "postcss-modules-local-by-default": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", + "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.8" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", + "dev": true, + "requires": { + "color-convert": "1.9.0" + } + }, + "chalk": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.0.1.tgz", + "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", + "dev": true, + "requires": { + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" + } + }, + "postcss": { + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", + "dev": true, + "requires": { + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" + } + }, + "supports-color": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.2.1.tgz", + "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "postcss-modules-scope": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", + "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.8" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", + "dev": true, + "requires": { + "color-convert": "1.9.0" + } + }, + "chalk": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.0.1.tgz", + "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", + "dev": true, + "requires": { + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" + } + }, + "postcss": { + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", + "dev": true, + "requires": { + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" + } + }, + "supports-color": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.2.1.tgz", + "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "postcss-modules-values": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", + "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", + "dev": true, + "requires": { + "icss-replace-symbols": "1.1.0", + "postcss": "6.0.8" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", + "dev": true, + "requires": { + "color-convert": "1.9.0" + } + }, + "chalk": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.0.1.tgz", + "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", + "dev": true, + "requires": { + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.1" + } + }, + "postcss": { + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", + "dev": true, + "requires": { + "chalk": "2.0.1", + "source-map": "0.5.6", + "supports-color": "4.2.1" + } + }, + "supports-color": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.2.1.tgz", + "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "postcss-nested": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-1.0.0.tgz", + "integrity": "sha1-0Ta9S1dr1WMt8ULBKyGYqcz3lN8=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-normalize-charset": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz", + "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-normalize-url": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz", + "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=", + "dev": true, + "requires": { + "is-absolute-url": "2.1.0", + "normalize-url": "1.9.1", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-opacity": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-opacity/-/postcss-opacity-4.0.0.tgz", + "integrity": "sha1-qlYgQ9ozlMlKOs7c9D8MMj0JhqE=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-ordered-values": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz", + "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-position": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/postcss-position/-/postcss-position-0.5.0.tgz", + "integrity": "sha1-hlPU8LhP+wflRPt/fq4IxlUbc6A=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-pseudoelements": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-pseudoelements/-/postcss-pseudoelements-3.0.0.tgz", + "integrity": "sha1-bGghd8eQC6BTtt8X+MWQKEx7i7w=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-quantity-queries": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/postcss-quantity-queries/-/postcss-quantity-queries-0.4.0.tgz", + "integrity": "sha1-vhNwp76TEqFzY5wIaapCECRPhs4=", + "dev": true, + "requires": { + "balanced-match": "0.2.1", + "postcss": "5.2.17" + }, + "dependencies": { + "balanced-match": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.2.1.tgz", + "integrity": "sha1-e8ZYtL7WHu5CStdPdfXD4sTfPMc=", + "dev": true + } + } + }, + "postcss-reduce-idents": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz", + "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=", + "dev": true, + "requires": { + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reduce-initial": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz", + "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-reduce-transforms": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz", + "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=", + "dev": true, + "requires": { + "has": "1.0.1", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reporter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-2.0.0.tgz", + "integrity": "sha1-0l50un/OkR4qpy7BrlkvrebsNnE=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "lodash": "4.17.2", + "log-symbols": "1.0.2", + "postcss": "5.2.17" + } + }, + "postcss-resolve-nested-selector": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", + "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=", + "dev": true + }, + "postcss-responsive-type": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/postcss-responsive-type/-/postcss-responsive-type-0.5.1.tgz", + "integrity": "sha1-J0EzvARjWeVCpYu8YhhH0ED9EOY=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-scss": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-0.4.1.tgz", + "integrity": "sha1-rXcbgfD3L19IRdCKpg+TVXZT1Uw=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", + "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", + "dev": true, + "requires": { + "flatten": "1.0.2", + "indexes-of": "1.0.1", + "uniq": "1.0.1" + } + }, + "postcss-simple-vars": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-simple-vars/-/postcss-simple-vars-3.0.0.tgz", + "integrity": "sha1-H6TMtLcVHZ8NUvuOoZoVwTGVmdY=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-svgo": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz", + "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=", + "dev": true, + "requires": { + "is-svg": "2.1.0", + "postcss": "5.2.17", + "postcss-value-parser": "3.3.0", + "svgo": "0.7.2" + } + }, + "postcss-unique-selectors": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz", + "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.17", + "uniqs": "2.0.0" + } + }, + "postcss-value-parser": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz", + "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=", + "dev": true + }, + "postcss-vmin": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-vmin/-/postcss-vmin-2.0.0.tgz", + "integrity": "sha1-UyfCEZE3ElaGj9enOZF/FHTVf+4=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-will-change": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-will-change/-/postcss-will-change-1.1.0.tgz", + "integrity": "sha1-plHdWoHoLEEtOabPkKkrsyaa8Yw=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-zindex": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz", + "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=", + "dev": true, + "requires": { + "has": "1.0.1", + "postcss": "5.2.17", + "uniqs": "2.0.0" + } + }, + "prebuild-install": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-2.2.1.tgz", + "integrity": "sha512-y/sgNJ49vjXQ3qYdSI/jTRZq6D7g5Q2euK6x0/L8dvwK1EGvNLidtg2t4PZzTgkR6LahkzpYVshOmHKYtp0AlQ==", + "requires": { + "expand-template": "1.0.3", + "github-from-package": "0.0.0", + "minimist": "1.2.0", + "mkdirp": "0.5.1", + "node-abi": "2.1.0", + "noop-logger": "0.1.1", + "npmlog": "4.1.2", + "os-homedir": "1.0.2", + "pump": "1.0.2", + "rc": "1.2.1", + "simple-get": "1.4.3", + "tar-fs": "1.15.3", + "tunnel-agent": "0.6.0", + "xtend": "4.0.1" + } + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=" + }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=" + }, + "pretty-error": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.1.tgz", + "integrity": "sha1-X0+HyPkeWuPzuoerTPXgOxoX8aM=", + "dev": true, + "requires": { + "renderkid": "2.0.1", + "utila": "0.4.0" + } + }, + "private": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.7.tgz", + "integrity": "sha1-aM5eih7woju1cMwoU3tTMqumPvE=" + }, + "process": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", + "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=", + "dev": true + }, + "process-nextick-args": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" + }, + "progress": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", + "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", + "dev": true + }, + "progress-bar-webpack-plugin": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.9.3.tgz", + "integrity": "sha1-gfuL2OONpu2vmiC+7Xm9l43WPCo=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "object.assign": "4.0.4", + "progress": "1.1.8" + } + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "2.0.6" + } + }, + "promise-each": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/promise-each/-/promise-each-2.2.0.tgz", + "integrity": "sha1-M1MXTv8mlEgQN+BOAfd6oPttG2A=", + "dev": true, + "requires": { + "any-promise": "0.1.0" + } + }, + "promise-worker": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/promise-worker/-/promise-worker-1.1.1.tgz", + "integrity": "sha1-wrddBF0kliXAImTi3/mtIuAxxps=", + "requires": { + "is-promise": "2.1.0", + "lie": "3.1.1" + } + }, + "prop-types": { + "version": "15.5.10", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.5.10.tgz", + "integrity": "sha1-J5ffwxJhguOpXj37suiT3ddFYVQ=", + "requires": { + "fbjs": "0.8.14", + "loose-envify": "1.3.1" + } + }, + "propagate": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/propagate/-/propagate-0.4.0.tgz", + "integrity": "sha1-8/zKCm/gZzanulcpZgaWF8EwtIE=", + "dev": true + }, + "proper-lockfile": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-2.0.1.tgz", + "integrity": "sha1-FZ+wYZPTIAP0s2kd0uwaY0qoDR0=", + "requires": { + "graceful-fs": "4.1.11", + "retry": "0.10.1" + } + }, + "proxy-addr": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-1.1.5.tgz", + "integrity": "sha1-ccDuOxAt4/IC87ZPYI0XP8uhqRg=", + "dev": true, + "requires": { + "forwarded": "0.1.0", + "ipaddr.js": "1.4.0" + } + }, + "prr": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/prr/-/prr-0.0.0.tgz", + "integrity": "sha1-GoS4WQgyVQFBGFPQCB7j+obikmo=", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "public-encrypt": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.0.tgz", + "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "browserify-rsa": "4.0.1", + "create-hash": "1.1.3", + "parse-asn1": "5.1.0", + "randombytes": "2.0.5" + } + }, + "pump": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-1.0.2.tgz", + "integrity": "sha1-Oz7mUS+U8OV1U4wXmV+fFpkKXVE=", + "requires": { + "end-of-stream": "1.4.0", + "once": "1.4.0" + } + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "push.js": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/push.js/-/push.js-0.0.11.tgz", + "integrity": "sha1-T606n5CEQhLiqmfQc6I9Rw4yqJE=" + }, + "q": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.0.tgz", + "integrity": "sha1-3QG6ydBtMObyGa7LglPunr3DCPE=", + "dev": true + }, + "qs": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.0.tgz", + "integrity": "sha1-9AOyZPI7wBIox0ExtAfxjV6l1EI=" + }, + "query-string": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz", + "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", + "requires": { + "object-assign": "4.1.1", + "strict-uri-encode": "1.1.0" + } + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "raf": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.3.2.tgz", + "integrity": "sha1-DBO+C1tJtG921maSSNUnzysC/ic=", + "requires": { + "performance-now": "2.1.0" + } + }, + "randomatic": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz", + "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==", + "requires": { + "is-number": "3.0.0", + "kind-of": "4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "1.1.5" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "requires": { + "is-buffer": "1.1.5" + } + } + } + }, + "randombytes": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.5.tgz", + "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-loader": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz", + "integrity": "sha1-DD0L6u2KAclm2Xh793goElKpeao=", + "dev": true + }, + "rc": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.1.tgz", + "integrity": "sha1-LgPo5C7kULjLPc5lvhv4l04d/ZU=", + "requires": { + "deep-extend": "0.4.2", + "ini": "1.3.4", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + } + }, + "react": { + "version": "15.4.2", + "resolved": "https://registry.npmjs.org/react/-/react-15.4.2.tgz", + "integrity": "sha1-QfeZGyYYU5K6m66WyIiefgGDl+8=", + "requires": { + "fbjs": "0.8.14", + "loose-envify": "1.3.1", + "object-assign": "4.1.1" + } + }, + "react-ace": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/react-ace/-/react-ace-4.1.0.tgz", + "integrity": "sha1-ZZ+qAQ0XP2DWqJQPCzJcXkIsq1Q=", + "requires": { + "brace": "0.8.0", + "lodash.isequal": "4.5.0" + }, + "dependencies": { + "brace": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/brace/-/brace-0.8.0.tgz", + "integrity": "sha1-6CbG1QVMrl9getexyBI23SzwGXg=", + "requires": { + "w3c-blob": "0.0.1" + } + } + } + }, + "react-addons-create-fragment": { + "version": "15.6.0", + "resolved": "https://registry.npmjs.org/react-addons-create-fragment/-/react-addons-create-fragment-15.6.0.tgz", + "integrity": "sha1-r5GiKx+wld0B8a+6Q7/Q71idiyA=", + "requires": { + "fbjs": "0.8.14", + "loose-envify": "1.3.1", + "object-assign": "4.1.1" + } + }, + "react-addons-css-transition-group": { + "version": "15.4.2", + "resolved": "https://registry.npmjs.org/react-addons-css-transition-group/-/react-addons-css-transition-group-15.4.2.tgz", + "integrity": "sha1-t4KINN+hQin+B3UOMx6KjLb7d0U=", + "requires": { + "fbjs": "0.8.14", + "object-assign": "4.1.1" + } + }, + "react-addons-perf": { + "version": "15.4.2", + "resolved": "https://registry.npmjs.org/react-addons-perf/-/react-addons-perf-15.4.2.tgz", + "integrity": "sha1-EQvc9cRZxPd8uF7WNLzTOXU2ODs=", + "dev": true, + "requires": { + "fbjs": "0.8.14", + "object-assign": "4.1.1" + } + }, + "react-addons-shallow-compare": { + "version": "15.6.0", + "resolved": "https://registry.npmjs.org/react-addons-shallow-compare/-/react-addons-shallow-compare-15.6.0.tgz", + "integrity": "sha1-t6Tl/58nBMIM9obdigXdCLJt4lI=", + "requires": { + "fbjs": "0.8.14", + "object-assign": "4.1.1" + } + }, + "react-addons-test-utils": { + "version": "15.4.2", + "resolved": "https://registry.npmjs.org/react-addons-test-utils/-/react-addons-test-utils-15.4.2.tgz", + "integrity": "sha1-k7yqcY/K5zYNQuj7HAl1bMNjAqI=", + "dev": true, + "requires": { + "fbjs": "0.8.14", + "object-assign": "4.1.1" + } + }, + "react-addons-transition-group": { + "version": "15.6.0", + "resolved": "https://registry.npmjs.org/react-addons-transition-group/-/react-addons-transition-group-15.6.0.tgz", + "integrity": "sha1-DyILn5WX2zqAqI29b+gF/GRM4hw=", + "requires": { + "react-transition-group": "1.2.0" + } + }, + "react-codemirror": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/react-codemirror/-/react-codemirror-0.3.0.tgz", + "integrity": "sha1-zWvW70WOweA1z9iz/nswyMeIPGw=", + "requires": { + "classnames": "2.2.5", + "codemirror": "5.28.0", + "lodash.debounce": "4.0.8" + } + }, + "react-container-dimensions": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/react-container-dimensions/-/react-container-dimensions-1.2.0.tgz", + "integrity": "sha1-v7XnDhCqgtLsukkUfRS7TCLK/ao=", + "requires": { + "element-resize-detector": "1.1.12", + "invariant": "2.2.2" + } + }, + "react-copy-to-clipboard": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-4.2.3.tgz", + "integrity": "sha1-JoxaD73pqV2WFFAU5/hRELDn+44=", + "requires": { + "copy-to-clipboard": "3.0.8" + } + }, + "react-deep-force-update": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/react-deep-force-update/-/react-deep-force-update-2.0.1.tgz", + "integrity": "sha1-T39sEsPn3kLzRZkqPFGCNvoeytM=", + "dev": true + }, + "react-dom": { + "version": "15.4.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.4.2.tgz", + "integrity": "sha1-AVNj8FsKH9Uq6e/dOgBg2QaVII8=", + "requires": { + "fbjs": "0.8.14", + "loose-envify": "1.3.1", + "object-assign": "4.1.1" + } + }, + "react-dropzone": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-3.7.3.tgz", + "integrity": "sha1-eFK2ZSpDr8f6ByAh8zaRI+pKYeA=", + "requires": { + "attr-accept": "1.1.0" + } + }, + "react-element-to-jsx-string": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-6.0.0.tgz", + "integrity": "sha1-8sFRR27o3YF4ke01K+Ss6fs2McI=", + "requires": { + "collapse-white-space": "1.0.3", + "is-plain-object": "2.0.4", + "lodash": "4.17.4", + "sortobject": "1.1.1", + "stringify-object": "3.2.0", + "traverse": "0.6.6" + }, + "dependencies": { + "lodash": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" + } + } + }, + "react-event-listener": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/react-event-listener/-/react-event-listener-0.4.1.tgz", + "integrity": "sha1-hrU5dMPfZRhXdmt7F3aC7Xx8gxg=", + "requires": { + "babel-runtime": "6.23.0", + "react-addons-shallow-compare": "15.6.0", + "warning": "3.0.0" + } + }, + "react-hot-loader": { + "version": "3.0.0-beta.6", + "resolved": "https://registry.npmjs.org/react-hot-loader/-/react-hot-loader-3.0.0-beta.6.tgz", + "integrity": "sha1-Rj+sC/yLY6g4UlivIMkWNqvOdfQ=", + "dev": true, + "requires": { + "babel-template": "6.25.0", + "global": "4.3.2", + "react-deep-force-update": "2.0.1", + "react-proxy": "3.0.0-alpha.1", + "redbox-react": "1.4.3", + "source-map": "0.4.4" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "react-inspector": { + "version": "github:paritytech/react-inspector#73b5214261a5131821eb9088f58d7e5f31210c23", + "requires": { + "babel-runtime": "6.23.0", + "is-dom": "1.0.9" + } + }, + "react-intl": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/react-intl/-/react-intl-2.1.5.tgz", + "integrity": "sha1-+Xleo0t5DctdDY73Bg3dvoW/h2M=", + "requires": { + "intl-format-cache": "2.0.5", + "intl-messageformat": "1.3.0", + "intl-relativeformat": "1.3.0", + "invariant": "2.2.2" + } + }, + "react-intl-aggregate-webpack-plugin": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/react-intl-aggregate-webpack-plugin/-/react-intl-aggregate-webpack-plugin-0.0.1.tgz", + "integrity": "sha1-wplYhg17zfpvRg3sefVa4CIEiMY=", + "dev": true, + "requires": { + "mkdirp": "0.5.1" + } + }, + "react-markdown": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-2.4.4.tgz", + "integrity": "sha1-JtglQ40pLnym4pL+diAeHb8s/u4=", + "requires": { + "commonmark": "0.24.0", + "commonmark-react-renderer": "4.3.3", + "in-publish": "2.0.0" + } + }, + "react-portal": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/react-portal/-/react-portal-3.0.0.tgz", + "integrity": "sha1-kwT86DbooyFrIliPjckbRHco8K4=" + }, + "react-proxy": { + "version": "3.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/react-proxy/-/react-proxy-3.0.0-alpha.1.tgz", + "integrity": "sha1-RABCa8+oDKpnJMd1VpUxUgn6Swc=", + "dev": true, + "requires": { + "lodash": "4.17.2" + } + }, + "react-qr-reader": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/react-qr-reader/-/react-qr-reader-1.1.3.tgz", + "integrity": "sha512-ruBF8KaSwUW9nbzjO4rA7/HOCGYZuNUz9od7uBRy8SRBi24nwxWWmwa2z8R6vPGDRglA0y2Qk1aVBuC1olTnHw==", + "requires": { + "jsqr": "git+https://github.com/JodusNodus/jsQR.git#5ba1acefa1cbb9b2bc92b49f503f2674e2ec212b", + "prop-types": "15.5.10", + "webrtc-adapter": "2.1.0" + } + }, + "react-redux": { + "version": "4.4.6", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-4.4.6.tgz", + "integrity": "sha1-S50ymFMHoRCWot1hVhmABE/MYgk=", + "requires": { + "hoist-non-react-statics": "1.2.0", + "invariant": "2.2.2", + "lodash": "4.17.2", + "loose-envify": "1.3.1" + } + }, + "react-router": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-3.0.0.tgz", + "integrity": "sha1-PzE+Tbr1cEjEjdCow8rCTZNmff8=", + "requires": { + "history": "3.3.0", + "hoist-non-react-statics": "1.2.0", + "invariant": "2.2.2", + "loose-envify": "1.3.1", + "warning": "3.0.0" + } + }, + "react-router-redux": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/react-router-redux/-/react-router-redux-4.0.7.tgz", + "integrity": "sha1-mx/eTnAQbFD0chThK92IjPuW4qY=" + }, + "react-smooth": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-0.1.11.tgz", + "integrity": "sha1-84n45Yy7VGq7SSHKDL57B5vFGg0=", + "requires": { + "lodash": "4.13.1", + "raf": "3.3.2", + "react-addons-transition-group": "15.6.0" + }, + "dependencies": { + "lodash": { + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.13.1.tgz", + "integrity": "sha1-g+SxCRP0hJbU0W/sSlYK8u50S2g=" + } + } + }, + "react-tap-event-plugin": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/react-tap-event-plugin/-/react-tap-event-plugin-2.0.1.tgz", + "integrity": "sha1-MWvrO8ZVbinshppyk+icgmqQdNI=", + "requires": { + "fbjs": "0.8.14" + } + }, + "react-tooltip": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/react-tooltip/-/react-tooltip-3.2.2.tgz", + "integrity": "sha1-OlmcDqu9nrlZeqLXKyF/17o1h2c=", + "requires": { + "classnames": "2.2.5" + } + }, + "react-transition-group": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-1.2.0.tgz", + "integrity": "sha1-tR/JIbDDg1p+98Vxx5/ILHPpIE8=", + "requires": { + "chain-function": "1.0.0", + "dom-helpers": "3.2.1", + "loose-envify": "1.3.1", + "prop-types": "15.5.10", + "warning": "3.0.0" + } + }, + "read": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", + "integrity": "sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ=", + "requires": { + "mute-stream": "0.0.7" + } + }, + "read-all-stream": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz", + "integrity": "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po=", + "requires": { + "pinkie-promise": "2.0.1", + "readable-stream": "2.3.3" + } + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "dev": true, + "requires": { + "pify": "2.3.0" + } + }, + "read-file-stdin": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz", + "integrity": "sha1-JezP86FTtoCa+ssj7hU4fbng7mE=", + "dev": true, + "requires": { + "gather-stream": "1.0.0" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "readable-stream": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", + "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "safe-buffer": "5.1.1", + "string_decoder": "1.0.3", + "util-deprecate": "1.0.2" + } + }, + "readdirp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", + "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "minimatch": "3.0.4", + "readable-stream": "2.3.3", + "set-immediate-shim": "1.0.1" + } + }, + "readline2": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", + "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "mute-stream": "0.0.5" + }, + "dependencies": { + "mute-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", + "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=", + "dev": true + } + } + }, + "recast": { + "version": "0.11.23", + "resolved": "https://registry.npmjs.org/recast/-/recast-0.11.23.tgz", + "integrity": "sha1-RR/TAEqx5N+bTktmN2sqIZEkYtM=", + "dev": true, + "requires": { + "ast-types": "0.9.6", + "esprima": "3.1.3", + "private": "0.1.7", + "source-map": "0.5.6" + }, + "dependencies": { + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "dev": true + } + } + }, + "recharts": { + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/recharts/-/recharts-0.15.2.tgz", + "integrity": "sha1-Y28ho0HwCzHJJXOe1K73CttV2A8=", + "requires": { + "classnames": "2.2.5", + "core-js": "2.4.0", + "d3-scale": "1.0.0", + "d3-shape": "1.0.0", + "lodash": "4.13.1", + "react-container-dimensions": "1.2.0", + "react-smooth": "0.1.11", + "recharts-scale": "0.2.1", + "reduce-css-calc": "1.3.0" + }, + "dependencies": { + "core-js": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.0.tgz", + "integrity": "sha1-30CKtG0Br/kcAcPnlxk11CLFT4E=" + }, + "lodash": { + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.13.1.tgz", + "integrity": "sha1-g+SxCRP0hJbU0W/sSlYK8u50S2g=" + } + } + }, + "recharts-scale": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.2.1.tgz", + "integrity": "sha1-N49UPtF8MkXk2a+xCq9imCQNL8s=" + }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "requires": { + "resolve": "1.4.0" + } + }, + "recompose": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/recompose/-/recompose-0.20.2.tgz", + "integrity": "sha1-ET1qx+KcpmTP/+wWtoHd3fFSULw=", + "requires": { + "change-emitter": "0.1.6", + "fbjs": "0.8.14", + "hoist-non-react-statics": "1.2.0", + "symbol-observable": "0.2.4" + } + }, + "redbox-react": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/redbox-react/-/redbox-react-1.4.3.tgz", + "integrity": "sha512-P/N+y57/FVUQWbgpfTf/2wjgxEhxQuA6FRLv0ipZKLFv5v8mp6qs5inFyBwJQYAgaMrntZRCvKdz1vGwkCNs7A==", + "dev": true, + "requires": { + "error-stack-parser": "1.3.6", + "object-assign": "4.1.1", + "prop-types": "15.5.10", + "sourcemapped-stacktrace": "1.1.7" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "requires": { + "indent-string": "2.1.0", + "strip-indent": "1.0.1" + } + }, + "reduce-css-calc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz", + "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=", + "requires": { + "balanced-match": "0.4.2", + "math-expression-evaluator": "1.2.17", + "reduce-function-call": "1.0.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" + } + } + }, + "reduce-function-call": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz", + "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=", + "requires": { + "balanced-match": "0.4.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" + } + } + }, + "reduce-reducers": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/reduce-reducers/-/reduce-reducers-0.1.2.tgz", + "integrity": "sha1-+htHGLxSkqcd3R5dg5yb6pdw8Us=" + }, + "redux": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/redux/-/redux-3.6.0.tgz", + "integrity": "sha1-iHwrPQub2G7KK+cFccJ2VMGeGI0=", + "requires": { + "lodash": "4.17.2", + "lodash-es": "4.17.4", + "loose-envify": "1.3.1", + "symbol-observable": "1.0.4" + }, + "dependencies": { + "symbol-observable": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.4.tgz", + "integrity": "sha1-Kb9hXUqnEhvdiYsi1LP5vE4qoD0=" + } + } + }, + "redux-actions": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/redux-actions/-/redux-actions-1.1.0.tgz", + "integrity": "sha1-347HkdniZ1ROWKi6K3L8XDCvujs=", + "requires": { + "invariant": "2.2.2", + "lodash": "4.17.2", + "reduce-reducers": "0.1.2" + } + }, + "redux-thunk": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.1.0.tgz", + "integrity": "sha1-xyS/7nXb41LaLjupvBQwK63Ympg=" + }, + "regenerate": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz", + "integrity": "sha1-0ZQcZ7rUN+G+dkM63Vs4X5WxkmA=" + }, + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" + }, + "regenerator-transform": { + "version": "0.9.11", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.9.11.tgz", + "integrity": "sha1-On0GdSDLe3F2dp61/4aGkb7+EoM=", + "requires": { + "babel-runtime": "6.23.0", + "babel-types": "6.25.0", + "private": "0.1.7" + } + }, + "regex-cache": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz", + "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=", + "requires": { + "is-equal-shallow": "0.1.3", + "is-primitive": "2.0.0" + } + }, + "regexpu-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", + "requires": { + "regenerate": "1.3.2", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "requires": { + "jsesc": "0.5.0" + } + }, + "relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", + "dev": true + }, + "remove-trailing-separator": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz", + "integrity": "sha1-abBi2XhyetFNxrVrpKt3L9jXBRE=" + }, + "renderkid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.1.tgz", + "integrity": "sha1-iYyr/Ivt5Le5ETWj/9Mj5YwNsxk=", + "dev": true, + "requires": { + "css-select": "1.2.0", + "dom-converter": "0.1.4", + "htmlparser2": "3.3.0", + "strip-ansi": "3.0.1", + "utila": "0.3.3" + }, + "dependencies": { + "domhandler": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.1.0.tgz", + "integrity": "sha1-0mRvXlf2w7qxHPbLBdPArPdBJZQ=", + "dev": true, + "requires": { + "domelementtype": "1.3.0" + } + }, + "domutils": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.1.6.tgz", + "integrity": "sha1-vdw94Jm5ou+sxRxiPyj0FuzFdIU=", + "dev": true, + "requires": { + "domelementtype": "1.3.0" + } + }, + "htmlparser2": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.3.0.tgz", + "integrity": "sha1-zHDQWln2VC5D8OaFyYLhTJJKnv4=", + "dev": true, + "requires": { + "domelementtype": "1.3.0", + "domhandler": "2.1.0", + "domutils": "1.1.6", + "readable-stream": "1.0.34" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "utila": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/utila/-/utila-0.3.3.tgz", + "integrity": "sha1-1+jn1+MJEHCSsF+NloiCTWM6QiY=", + "dev": true + } + } + }, + "repeat-element": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", + "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=" + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "requires": { + "is-finite": "1.0.2" + } + }, + "replace-ext": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz", + "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=" + }, + "request": { + "version": "2.81.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz", + "integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=", + "requires": { + "aws-sign2": "0.6.0", + "aws4": "1.6.0", + "caseless": "0.12.0", + "combined-stream": "1.0.5", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.1.4", + "har-validator": "4.2.1", + "hawk": "3.1.3", + "http-signature": "1.1.1", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.16", + "oauth-sign": "0.8.2", + "performance-now": "0.2.0", + "qs": "6.4.0", + "safe-buffer": "5.1.1", + "stringstream": "0.0.5", + "tough-cookie": "2.3.2", + "tunnel-agent": "0.6.0", + "uuid": "3.0.0" + }, + "dependencies": { + "extend": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + }, + "performance-now": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz", + "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=" + }, + "qs": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", + "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=" + } + } + }, + "request-capture-har": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/request-capture-har/-/request-capture-har-1.2.2.tgz", + "integrity": "sha1-zWks+yzHRP2EozWKrG7lFSjPcg0=" + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "require-from-string": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", + "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=" + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" + }, + "require-uncached": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", + "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", + "dev": true, + "requires": { + "caller-path": "0.1.0", + "resolve-from": "1.0.1" + } + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.4.0.tgz", + "integrity": "sha512-aW7sVKPufyHqOmyyLzg/J+8606v5nevBgaliIlV7nUpVMsDnoBGV/cbSLNjZAg9q0Cfd/+easKVKQ8vOu8fn1Q==", + "dev": true, + "requires": { + "path-parse": "1.0.5" + } + }, + "resolve-from": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", + "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "requires": { + "onetime": "2.0.1", + "signal-exit": "3.0.2" + }, + "dependencies": { + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "requires": { + "mimic-fn": "1.1.0" + } + } + } + }, + "retry": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", + "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=" + }, + "rgb-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rgb-hex/-/rgb-hex-1.0.0.tgz", + "integrity": "sha1-v6+M2c2RZLWibXHrTxWgllMks8E=", + "dev": true + }, + "right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "requires": { + "align-text": "0.1.4" + } + }, + "rimraf": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz", + "integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=", + "requires": { + "glob": "7.1.2" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + } + } + }, + "ripemd160": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.1.tgz", + "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=", + "requires": { + "hash-base": "2.0.2", + "inherits": "2.0.3" + } + }, + "rlp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.0.0.tgz", + "integrity": "sha1-nbOE/0uJqPYVY9kjldhiWxjzr7A=" + }, + "roadrunner": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/roadrunner/-/roadrunner-1.1.0.tgz", + "integrity": "sha1-EYCjDWThlw2PVd2MsNqP/M7K1x4=" + }, + "rucksack-css": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/rucksack-css/-/rucksack-css-0.9.1.tgz", + "integrity": "sha1-2n66TGe9BbAMv0yDQwXF/lU3XeE=", + "dev": true, + "requires": { + "autoprefixer": "6.7.7", + "laggard": "0.1.0", + "minimist": "1.2.0", + "postcss": "5.2.17", + "postcss-alias": "1.0.0", + "postcss-clearfix": "1.0.0", + "postcss-color-rgba-fallback": "2.2.0", + "postcss-easings": "0.3.0", + "postcss-fontpath": "0.3.0", + "postcss-hexrgba": "0.2.1", + "postcss-input-style": "0.3.0", + "postcss-opacity": "4.0.0", + "postcss-position": "0.5.0", + "postcss-pseudoelements": "3.0.0", + "postcss-quantity-queries": "0.4.0", + "postcss-reporter": "2.0.0", + "postcss-responsive-type": "0.5.1", + "postcss-vmin": "2.0.0", + "read-file-stdin": "0.2.1", + "write-file-stdout": "0.0.2" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "requires": { + "is-promise": "2.1.0" + } + }, + "rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=" + }, + "rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "requires": { + "rx-lite": "4.0.8" + } + }, + "safe-buffer": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==" + }, + "samsam": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.1.2.tgz", + "integrity": "sha1-vsEf3IOp/aBjQBIQ5AF2wwJNFWc=", + "dev": true + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "requires": { + "ajv": "5.2.2" + } + }, + "script-ext-html-webpack-plugin": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/script-ext-html-webpack-plugin/-/script-ext-html-webpack-plugin-1.7.1.tgz", + "integrity": "sha1-rpwOJtd2fUqnk8duNVA0TsCLbRA=", + "dev": true, + "requires": { + "debug": "2.6.8" + } + }, + "scryptsy": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.0.0.tgz", + "integrity": "sha1-Jiw28CMc+nZU4jY/o5TNLexm83g=" + }, + "sdp": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/sdp/-/sdp-1.5.4.tgz", + "integrity": "sha1-jgOPbdsUvXZa4fS1IW4SCUUR4NA=" + }, + "secp256k1": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.3.0.tgz", + "integrity": "sha512-CbrQoeGG5V0kQ1ohEMGI+J7oKerapLTpivLICBaXR0R4HyQcN3kM9itLsV5fdpV1UR1bD14tOkJ1xughmlDIiQ==", + "requires": { + "bindings": "1.3.0", + "bip66": "1.1.5", + "bn.js": "4.11.7", + "create-hash": "1.1.3", + "drbg.js": "1.0.1", + "elliptic": "6.4.0", + "nan": "2.6.2", + "prebuild-install": "2.2.1", + "safe-buffer": "5.1.1" + } + }, + "seek-bzip": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", + "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=", + "requires": { + "commander": "2.8.1" + } + }, + "semver": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", + "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==" + }, + "semver-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-1.0.0.tgz", + "integrity": "sha1-kqSWkGX5xwxpR1PVUkj8aPj2Usk=", + "dev": true + }, + "semver-truncate": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/semver-truncate/-/semver-truncate-1.1.2.tgz", + "integrity": "sha1-V/Qd5pcHpicJp+AQS6IRcQnqR+g=", + "dev": true, + "requires": { + "semver": "5.4.1" + } + }, + "send": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.14.2.tgz", + "integrity": "sha1-ObBDiz9RC+Xcb2Z6EfcWiTaM3u8=", + "dev": true, + "requires": { + "debug": "2.2.0", + "depd": "1.1.1", + "destroy": "1.0.4", + "encodeurl": "1.0.1", + "escape-html": "1.0.3", + "etag": "1.7.0", + "fresh": "0.3.0", + "http-errors": "1.5.1", + "mime": "1.3.4", + "ms": "0.7.2", + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.3.1" + }, + "dependencies": { + "debug": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", + "dev": true, + "requires": { + "ms": "0.7.1" + }, + "dependencies": { + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", + "dev": true + } + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "serve-static": { + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.11.2.tgz", + "integrity": "sha1-LPmIm9RDWjIMw2iVyapXvWYuasc=", + "dev": true, + "requires": { + "encodeurl": "1.0.1", + "escape-html": "1.0.3", + "parseurl": "1.3.1", + "send": "0.14.2" + } + }, + "serviceworker-cache-polyfill": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serviceworker-cache-polyfill/-/serviceworker-cache-polyfill-4.0.0.tgz", + "integrity": "sha1-3hnuc77yGrPAdAo3sz22JGS6ves=" + }, + "serviceworker-webpack-plugin": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/serviceworker-webpack-plugin/-/serviceworker-webpack-plugin-0.2.0.tgz", + "integrity": "sha1-beneyC7RRMdUxvFbND57h2SsWyg=", + "dev": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + }, + "set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=" + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, + "setprototypeof": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.2.tgz", + "integrity": "sha1-gaVSFB7BBLiOic44MQOtXGZWTQg=", + "dev": true + }, + "sha.js": { + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.8.tgz", + "integrity": "sha1-NwaMLEdra69ALRSknGf1l5IfY08=", + "requires": { + "inherits": "2.0.3" + } + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "shelljs": { + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.8.tgz", + "integrity": "sha1-3svPh0sNHl+3LhSxZKloMEjprLM=", + "dev": true, + "requires": { + "glob": "7.1.2", + "interpret": "1.0.3", + "rechoir": "0.6.2" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + } + } + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" + }, + "simple-assign": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/simple-assign/-/simple-assign-0.1.0.tgz", + "integrity": "sha1-F/0wZqXz13OPUDIbsPFMooHMS6o=" + }, + "simple-get": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-1.4.3.tgz", + "integrity": "sha1-6XVe2kB+ltpAxeUVjJ6jezO+y+s=", + "requires": { + "once": "1.4.0", + "unzip-response": "1.0.2", + "xtend": "4.0.1" + } + }, + "sinon": { + "version": "1.17.7", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-1.17.7.tgz", + "integrity": "sha1-RUKk9JugxFwF6y6d2dID4rjv4L8=", + "dev": true, + "requires": { + "formatio": "1.1.1", + "lolex": "1.3.2", + "samsam": "1.1.2", + "util": "0.10.3" + } + }, + "sinon-as-promised": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/sinon-as-promised/-/sinon-as-promised-4.0.2.tgz", + "integrity": "sha1-Eg6c4DPao5ZI3EKQYv5mC+G1tBI=", + "dev": true, + "requires": { + "create-thenable": "1.0.2", + "native-promise-only": "0.8.1" + } + }, + "sinon-chai": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-2.8.0.tgz", + "integrity": "sha1-Qyqbv9Uab8AHmPTSUmqCnAYGh6w=", + "dev": true + }, + "sjcl": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/sjcl/-/sjcl-1.0.6.tgz", + "integrity": "sha1-ZBVGKmPMDUIVxJuuydP6DBtTUg8=" + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "slide": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", + "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=" + }, + "sntp": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", + "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", + "requires": { + "hoek": "2.16.3" + } + }, + "solc": { + "version": "github:ngotchac/solc-js#04eb38cc3003fba8cb3656653a7941ed36408818", + "requires": { + "memorystream": "0.3.1", + "require-from-string": "1.2.1", + "yargs": "4.8.1" + }, + "dependencies": { + "yargs": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=", + "requires": { + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "lodash.assign": "4.2.0", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "window-size": "0.2.0", + "y18n": "3.2.1", + "yargs-parser": "2.4.1" + } + } + } + }, + "sort-keys": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", + "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", + "requires": { + "is-plain-obj": "1.1.0" + } + }, + "sortobject": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/sortobject/-/sortobject-1.1.1.tgz", + "integrity": "sha1-T2ldTUTtCkwGSCw0wlgqLc3CqzQ=", + "requires": { + "editions": "1.3.3" + } + }, + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + }, + "source-map": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", + "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=" + }, + "source-map-support": { + "version": "0.4.15", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.15.tgz", + "integrity": "sha1-AyAt9lwG0r2MfsI2KhkwVv7407E=", + "requires": { + "source-map": "0.5.6" + } + }, + "sourcemapped-stacktrace": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/sourcemapped-stacktrace/-/sourcemapped-stacktrace-1.1.7.tgz", + "integrity": "sha512-pgHNUACbafkQ+M5zR00NSOtSKBc/i40prgN+SY07J/pghClwVNWNTTMa0JuXj4lriR2TvMKcPAHw5KN9tVFRhA==", + "dev": true, + "requires": { + "source-map": "0.5.6" + } + }, + "sparkles": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.0.tgz", + "integrity": "sha1-Gsu/tZJDbRC76PeFt8xvgoFQEsM=" + }, + "spdx-correct": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", + "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", + "requires": { + "spdx-license-ids": "1.2.2" + } + }, + "spdx-expression-parse": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", + "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=" + }, + "spdx-license-ids": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", + "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=" + }, + "specificity": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.3.1.tgz", + "integrity": "sha1-8bBoQkzjF64HR42V3jwhz4Xo1Wc=", + "dev": true + }, + "split2": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/split2/-/split2-0.2.1.tgz", + "integrity": "sha1-At2smtwD7Au3jBKC7Aecpuha6QA=", + "dev": true, + "requires": { + "through2": "0.6.5" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "squeak": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/squeak/-/squeak-1.3.0.tgz", + "integrity": "sha1-MwRQN7ZDiLVnZ0uEMiplIQc5FsM=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "console-stream": "0.1.1", + "lpad-align": "1.1.2" + } + }, + "sshpk": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz", + "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=", + "requires": { + "asn1": "0.2.3", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.1", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.1", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "tweetnacl": "0.14.5" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "stackframe": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-0.3.1.tgz", + "integrity": "sha1-M6qE8Rd6VUjIk1Uzy/6zQgl19aQ=", + "dev": true + }, + "stat-mode": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/stat-mode/-/stat-mode-0.2.2.tgz", + "integrity": "sha1-5sgLYjEj19gM8TLOU480YokHJQI=" + }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + }, + "store": { + "version": "1.3.20", + "resolved": "https://registry.npmjs.org/store/-/store-1.3.20.tgz", + "integrity": "sha1-E+p+P7LWwjmGgmXWhrHYTpnFvj4=" + }, + "stream-browserify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.3" + } + }, + "stream-combiner": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", + "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", + "dev": true, + "requires": { + "duplexer": "0.1.1", + "through": "2.3.8" + } + }, + "stream-combiner2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", + "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", + "requires": { + "duplexer2": "0.1.4", + "readable-stream": "2.3.3" + } + }, + "stream-http": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.7.2.tgz", + "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==", + "dev": true, + "requires": { + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.3", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" + } + }, + "stream-shift": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", + "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=" + }, + "strict-uri-encode": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", + "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string.prototype.repeat": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-0.2.0.tgz", + "integrity": "sha1-q6Nt4I3O5qWjN9SbLqHaGyj8Ds8=" + }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "requires": { + "safe-buffer": "5.1.1" + } + }, + "stringify-object": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.0.tgz", + "integrity": "sha1-lDcKE15BvASDWIE7+ZSB8TFcaqY=", + "requires": { + "get-own-enumerable-property-symbols": "1.0.1", + "is-obj": "1.0.1", + "is-regexp": "1.0.0" + } + }, + "stringstream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", + "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=" + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "requires": { + "is-utf8": "0.2.1" + } + }, + "strip-bom-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz", + "integrity": "sha1-5xRDmFd9Uaa+0PoZlPoF9D/ZiO4=", + "requires": { + "first-chunk-stream": "1.0.0", + "strip-bom": "2.0.0" + } + }, + "strip-dirs": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.1.tgz", + "integrity": "sha1-lgu9EoeETzl1pFWKoQOoJV4kVqA=", + "requires": { + "chalk": "1.1.3", + "get-stdin": "4.0.1", + "is-absolute": "0.1.7", + "is-natural-number": "2.1.1", + "minimist": "1.2.0", + "sum-up": "1.0.3" + }, + "dependencies": { + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" + } + } + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-hex-prefix": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", + "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", + "requires": { + "is-hex-prefixed": "1.0.0" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "requires": { + "get-stdin": "4.0.1" + }, + "dependencies": { + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" + } + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + }, + "strip-outer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.0.tgz", + "integrity": "sha1-qsC6YNLpDF1PJ1/Yhp/ZotMQ/7g=", + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "style-loader": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.13.1.tgz", + "integrity": "sha1-RoKA77wEcwI806bNVuM7Wh1/w6k=", + "dev": true, + "requires": { + "loader-utils": "0.2.17" + } + }, + "style-search": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", + "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=", + "dev": true + }, + "stylehacks": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-2.3.2.tgz", + "integrity": "sha1-ZMg+BDimjJ7fRJ6MVSp9mrYAmws=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "chalk": "1.1.3", + "log-symbols": "1.0.2", + "minimist": "1.2.0", + "plur": "2.1.2", + "postcss": "5.2.17", + "postcss-reporter": "1.4.1", + "postcss-selector-parser": "2.2.3", + "read-file-stdin": "0.2.1", + "text-table": "0.2.0", + "write-file-stdout": "0.0.2" + }, + "dependencies": { + "postcss-reporter": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", + "integrity": "sha1-wTbwpbFhkV83ndN2XGEHX357mvI=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "lodash": "4.17.2", + "log-symbols": "1.0.2", + "postcss": "5.2.17" + } + } + } + }, + "stylelint": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-7.9.0.tgz", + "integrity": "sha1-uNnqIPiHqzUQdcat7ZUo3iRQkyc=", + "dev": true, + "requires": { + "autoprefixer": "6.7.7", + "balanced-match": "0.4.2", + "chalk": "1.1.3", + "colorguard": "1.2.0", + "cosmiconfig": "2.2.2", + "doiuse": "2.6.0", + "execall": "1.0.0", + "get-stdin": "5.0.1", + "globby": "6.1.0", + "globjoin": "0.1.4", + "html-tags": "1.2.0", + "ignore": "3.3.3", + "known-css-properties": "0.0.6", + "lodash": "4.17.4", + "log-symbols": "1.0.2", + "meow": "3.7.0", + "micromatch": "2.3.11", + "normalize-selector": "0.2.0", + "postcss": "5.2.17", + "postcss-less": "0.14.0", + "postcss-media-query-parser": "0.2.3", + "postcss-reporter": "3.0.0", + "postcss-resolve-nested-selector": "0.1.1", + "postcss-scss": "0.4.1", + "postcss-selector-parser": "2.2.3", + "postcss-value-parser": "3.3.0", + "resolve-from": "2.0.0", + "specificity": "0.3.1", + "string-width": "2.1.1", + "style-search": "0.1.0", + "stylehacks": "2.3.2", + "sugarss": "0.2.0", + "svg-tags": "1.0.0", + "table": "4.0.1" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "get-stdin": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", + "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", + "dev": true + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "glob": "7.1.2", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "lodash": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "dev": true + }, + "postcss-reporter": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-3.0.0.tgz", + "integrity": "sha1-CeoPN6RExWk4eGBuCbAY6+/3z48=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "lodash": "4.17.4", + "log-symbols": "1.0.2", + "postcss": "5.2.17" + } + }, + "resolve-from": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", + "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "table": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/table/-/table-4.0.1.tgz", + "integrity": "sha1-qBFsEz+sLGH0pCCrbN9cTWHw5DU=", + "dev": true, + "requires": { + "ajv": "4.11.8", + "ajv-keywords": "1.5.1", + "chalk": "1.1.3", + "lodash": "4.17.4", + "slice-ansi": "0.0.4", + "string-width": "2.1.1" + } + } + } + }, + "stylelint-config-standard": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-16.0.0.tgz", + "integrity": "sha1-u3OHv/HX3XGGpSs+v4hbJAXWkb8=", + "dev": true + }, + "sugarss": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-0.2.0.tgz", + "integrity": "sha1-rDQjdWMyfG/4l7ZHQr9q7BkK054=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "sum-up": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sum-up/-/sum-up-1.0.3.tgz", + "integrity": "sha1-HGYfZnBX9jvLeHWqFDi8FiUlFW4=", + "requires": { + "chalk": "1.1.3" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + }, + "svg-tags": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", + "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=", + "dev": true + }, + "svgo": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz", + "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=", + "dev": true, + "requires": { + "coa": "1.0.4", + "colors": "1.1.2", + "csso": "2.3.2", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "sax": "1.2.4", + "whet.extend": "0.9.9" + }, + "dependencies": { + "js-yaml": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz", + "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=", + "dev": true, + "requires": { + "argparse": "1.0.9", + "esprima": "2.7.3" + } + } + } + }, + "sw-toolbox": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/sw-toolbox/-/sw-toolbox-3.6.0.tgz", + "integrity": "sha1-Jt8dHHA0hljk3qKIQxkUm3sxg7U=", + "requires": { + "path-to-regexp": "1.7.0", + "serviceworker-cache-polyfill": "4.0.0" + } + }, + "symbol-observable": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-0.2.4.tgz", + "integrity": "sha1-lag9smGG1q9+ehjb2XYKL4bQj0A=" + }, + "symbol-tree": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.2.tgz", + "integrity": "sha1-rifbOPZgp64uHDt9G8KQgZuFGeY=", + "dev": true + }, + "synesthesia": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/synesthesia/-/synesthesia-1.0.1.tgz", + "integrity": "sha1-XvlepUjA1cbm+btLDQcx3/hkp3c=", + "dev": true, + "requires": { + "css-color-names": "0.0.3" + }, + "dependencies": { + "css-color-names": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.3.tgz", + "integrity": "sha1-3gzvFvTYqoIioyDVttfpu62nufY=", + "dev": true + } + } + }, + "table": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/table/-/table-3.8.3.tgz", + "integrity": "sha1-K7xULw/amGGnVdOUf+/Ys/UThV8=", + "dev": true, + "requires": { + "ajv": "4.11.8", + "ajv-keywords": "1.5.1", + "chalk": "1.1.3", + "lodash": "4.17.2", + "slice-ansi": "0.0.4", + "string-width": "2.1.1" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "tapable": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.7.tgz", + "integrity": "sha1-5GwNqsuyuKmLmwzqD0BSEFgX7Vw=", + "dev": true + }, + "tar": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "requires": { + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" + } + }, + "tar-fs": { + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-1.15.3.tgz", + "integrity": "sha1-7M+TXpQUk9gVECjmNuUc5MPKfyA=", + "requires": { + "chownr": "1.0.1", + "mkdirp": "0.5.1", + "pump": "1.0.2", + "tar-stream": "1.5.4" + } + }, + "tar-pack": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.4.0.tgz", + "integrity": "sha1-I74tf2cagzk3bL2wuP4/3r8xeYQ=", + "requires": { + "debug": "2.6.8", + "fstream": "1.0.11", + "fstream-ignore": "1.0.5", + "once": "1.4.0", + "readable-stream": "2.3.3", + "rimraf": "2.6.1", + "tar": "2.2.1", + "uid-number": "0.0.6" + } + }, + "tar-stream": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.4.tgz", + "integrity": "sha1-NlSc8E7RrumyowwBQyUiONr5QBY=", + "requires": { + "bl": "1.2.1", + "end-of-stream": "1.4.0", + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + }, + "temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", + "dev": true + }, + "tempfile": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-2.0.0.tgz", + "integrity": "sha1-awRGhWqbERTRhW/8vlCczLCXcmU=", + "dev": true, + "requires": { + "temp-dir": "1.0.0", + "uuid": "3.1.0" + }, + "dependencies": { + "uuid": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", + "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==", + "dev": true + } + } + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + }, + "through2": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", + "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", + "requires": { + "readable-stream": "1.0.34", + "xtend": "4.0.1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + } + } + }, + "through2-filter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz", + "integrity": "sha1-YLxVoNrLdghdsfna6Zq0P4PWIuw=", + "requires": { + "through2": "2.0.3", + "xtend": "4.0.1" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "time-stamp": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz", + "integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=" + }, + "timed-out": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-3.1.3.tgz", + "integrity": "sha1-lYYL/MXHbCd/j4Mm/Q9bLiDrohc=" + }, + "timers-browserify": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.3.tgz", + "integrity": "sha512-+JAqyNgg+M8+gXIrq2EeUr4kZqRz47Ysco7X5QKRGScRE9HIHckyHD1asozSFGeqx2nmPCgA8T5tIGVO0ML7/w==", + "dev": true, + "requires": { + "global": "4.3.2", + "setimmediate": "1.0.5" + } + }, + "tmp": { + "version": "0.0.31", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz", + "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=", + "requires": { + "os-tmpdir": "1.0.2" + } + }, + "to-absolute-glob": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz", + "integrity": "sha1-HN+kcqnvUMI57maZm2YsoOs5k38=", + "requires": { + "extend-shallow": "2.0.1" + } + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" + }, + "to-source": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/to-source/-/to-source-2.0.3.tgz", + "integrity": "sha1-U4f4JZzzV2Kz4+m1wtzY49uaLRU=", + "dev": true + }, + "toggle-selection": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz", + "integrity": "sha1-bkWxJj8gF/oKzH2J14sVuL932jI=" + }, + "toposort": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/toposort/-/toposort-1.0.3.tgz", + "integrity": "sha1-8CzYp0vYvi/A6YYRw7rLlaFxhpw=", + "dev": true + }, + "tough-cookie": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", + "integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=", + "requires": { + "punycode": "1.4.1" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "traverse": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz", + "integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=" + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=" + }, + "trim-repeated": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", + "integrity": "sha1-42RqLqTokTEr9+rObPsFOAvAHCE=", + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" + }, + "tryit": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tryit/-/tryit-1.0.3.tgz", + "integrity": "sha1-OTvnMKlEb9Hq1tpZoBQwjzbCics=", + "dev": true + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "5.1.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "optional": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2" + } + }, + "type-detect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz", + "integrity": "sha1-diIXzAbbJY7EiQihKY6LlRIejqI=", + "dev": true + }, + "type-is": { + "version": "1.6.15", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.15.tgz", + "integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA=", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "2.1.16" + } + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "typedarray-to-buffer": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.2.tgz", + "integrity": "sha1-EBezLZhP9VbroQD1AViauhrOLgQ=", + "dev": true, + "requires": { + "is-typedarray": "1.0.0" + } + }, + "u2f-api": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/u2f-api/-/u2f-api-0.0.9.tgz", + "integrity": "sha1-ve1Fe6Wpqe6bWLPeKR+MH4/qy3o=" + }, + "u2f-api-polyfill": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/u2f-api-polyfill/-/u2f-api-polyfill-0.4.3.tgz", + "integrity": "sha1-t60WWm+WJVhReoZ8XEv5OZ/Pfpg=" + }, + "ua-parser-js": { + "version": "0.7.14", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.14.tgz", + "integrity": "sha1-EQ1T+kw/MmwSEpK76skE0uAzh8o=" + }, + "uglify-js": { + "version": "2.8.16", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.16.tgz", + "integrity": "sha1-0oYZC27vxv1l6w7KxlUeCw6IOaQ=", + "requires": { + "source-map": "0.5.6", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" + }, + "dependencies": { + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" + }, + "cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "requires": { + "center-align": "0.1.3", + "right-align": "0.1.3", + "wordwrap": "0.0.2" + } + }, + "window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" + }, + "yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "requires": { + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", + "window-size": "0.1.0" + } + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "optional": true + }, + "uid-number": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz", + "integrity": "sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=" + }, + "uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "uniqid": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/uniqid/-/uniqid-4.1.1.tgz", + "integrity": "sha1-iSIN32t1GuUrX3JISGNShZa7hME=", + "dev": true, + "requires": { + "macaddress": "0.2.8" + } + }, + "uniqs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", + "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=", + "dev": true + }, + "unique-concat": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/unique-concat/-/unique-concat-0.2.2.tgz", + "integrity": "sha1-khD5vcqsxeHjkpSQ18AZ35bxhxI=", + "dev": true + }, + "unique-stream": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.1.tgz", + "integrity": "sha1-WqADz76Uxf+GbE59ZouxxNuts2k=", + "requires": { + "json-stable-stringify": "1.0.1", + "through2-filter": "2.0.0" + } + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unzip-response": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz", + "integrity": "sha1-uYTwh3/AqJwsdzzB73tbIytbBv4=" + }, + "upper-case": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", + "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=", + "dev": true + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "url-loader": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-0.5.7.tgz", + "integrity": "sha1-Z+h3l1n4AA2nSZSQZoDJQ6mwkl0=", + "dev": true, + "requires": { + "loader-utils": "0.2.17", + "mime": "1.2.11" + }, + "dependencies": { + "mime": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz", + "integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA=", + "dev": true + } + } + }, + "url-parse-lax": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", + "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", + "requires": { + "prepend-http": "1.0.4" + } + }, + "url-regex": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/url-regex/-/url-regex-3.2.0.tgz", + "integrity": "sha1-260eDJ4p4QXdCx8J9oYvf9tIJyQ=", + "dev": true, + "requires": { + "ip-regex": "1.0.3" + } + }, + "user-home": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz", + "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", + "dev": true + }, + "useragent.js": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/useragent.js/-/useragent.js-0.5.6.tgz", + "integrity": "sha1-p2rvEB4kg3AlI/9vtYpACvd+Iqk=" + }, + "utf8": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.2.tgz", + "integrity": "sha1-H6DZJw6b6FDZsFAn9jUZv0ZFfZY=" + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + } + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "utila": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz", + "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=", + "dev": true + }, + "utils-merge": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz", + "integrity": "sha1-ApT7kiu5N1FTVBxPcJYjHyh8ivg=", + "dev": true + }, + "uuid": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.0.tgz", + "integrity": "sha1-Zyj8BFnEUNeWqZwxg3VpvfZy1yg=" + }, + "v8flags": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", + "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=", + "dev": true, + "requires": { + "user-home": "1.1.1" + } + }, + "vali-date": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/vali-date/-/vali-date-1.0.0.tgz", + "integrity": "sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY=" + }, + "valid-url": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz", + "integrity": "sha1-HBRHm0DxOXp1eC8RXkCGRHQzogA=" + }, + "validate-npm-package-license": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", + "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", + "requires": { + "spdx-correct": "1.0.2", + "spdx-expression-parse": "1.0.4" + } + }, + "validator": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-6.2.0.tgz", + "integrity": "sha1-sszNxJ/w9LjuTmHbot3T3eE/I+c=" + }, + "vary": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.1.tgz", + "integrity": "sha1-Z1Neu2lMHVIldFeYRmUyP1h+jTc=", + "dev": true + }, + "vendors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.1.tgz", + "integrity": "sha1-N61zyO5Bf7PVgOeFMSMH0nSEfyI=", + "dev": true + }, + "verror": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", + "integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=", + "requires": { + "extsprintf": "1.0.2" + } + }, + "vinyl": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz", + "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=", + "requires": { + "clone": "1.0.2", + "clone-stats": "0.0.1", + "replace-ext": "0.0.1" + } + }, + "vinyl-assign": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/vinyl-assign/-/vinyl-assign-1.2.1.tgz", + "integrity": "sha1-TRmIkbVRWRHXcajNnFSApGoHSkU=", + "requires": { + "object-assign": "4.1.1", + "readable-stream": "2.3.3" + } + }, + "vinyl-fs": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-2.4.4.tgz", + "integrity": "sha1-vm/zJwy1Xf19MGNkDegfJddTIjk=", + "requires": { + "duplexify": "3.5.0", + "glob-stream": "5.3.5", + "graceful-fs": "4.1.11", + "gulp-sourcemaps": "1.6.0", + "is-valid-glob": "0.3.0", + "lazystream": "1.0.0", + "lodash.isequal": "4.5.0", + "merge-stream": "1.0.1", + "mkdirp": "0.5.1", + "object-assign": "4.1.1", + "readable-stream": "2.3.3", + "strip-bom": "2.0.0", + "strip-bom-stream": "1.0.0", + "through2": "2.0.3", + "through2-filter": "2.0.0", + "vali-date": "1.0.0", + "vinyl": "1.2.0" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "vm-browserify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", + "dev": true, + "requires": { + "indexof": "0.0.1" + } + }, + "w3c-blob": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/w3c-blob/-/w3c-blob-0.0.1.tgz", + "integrity": "sha1-sM01KhpQ9RVWNCD/1YYflQ8dhbg=" + }, + "ware": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ware/-/ware-1.3.0.tgz", + "integrity": "sha1-0bFPOdLiy0q4xAmPdW/ksWTkc9Q=", + "requires": { + "wrap-fn": "0.1.5" + } + }, + "warning": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", + "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", + "requires": { + "loose-envify": "1.3.1" + } + }, + "watchpack": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.4.0.tgz", + "integrity": "sha1-ShRyvLuVK9Cpu0A2gB+VTfs5+qw=", + "dev": true, + "requires": { + "async": "2.5.0", + "chokidar": "1.7.0", + "graceful-fs": "4.1.11" + }, + "dependencies": { + "async": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz", + "integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==", + "dev": true, + "requires": { + "lodash": "4.17.2" + } + } + } + }, + "web3": { + "version": "0.17.0-beta", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.17.0-beta.tgz", + "integrity": "sha1-V684JFv/ejIJn3zleA+tW7wA2ls=", + "requires": { + "bignumber.js": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2", + "crypto-js": "3.1.8", + "utf8": "2.1.2", + "xmlhttprequest": "1.8.0" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + } + } + }, + "webidl-conversions": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.1.tgz", + "integrity": "sha1-gBWherg+fhsxFjhIas6B2mziBqA=", + "dev": true + }, + "webpack": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-2.2.1.tgz", + "integrity": "sha1-e7HXKuIIfdGkr1Jq/sFe7RfdpHU=", + "dev": true, + "requires": { + "acorn": "4.0.13", + "acorn-dynamic-import": "2.0.2", + "ajv": "4.11.8", + "ajv-keywords": "1.5.1", + "async": "2.5.0", + "enhanced-resolve": "3.4.1", + "interpret": "1.0.3", + "json-loader": "0.5.4", + "loader-runner": "2.3.0", + "loader-utils": "0.2.17", + "memory-fs": "0.4.1", + "mkdirp": "0.5.1", + "node-libs-browser": "2.0.0", + "source-map": "0.5.6", + "supports-color": "3.2.3", + "tapable": "0.2.7", + "uglify-js": "2.8.16", + "watchpack": "1.4.0", + "webpack-sources": "0.1.5", + "yargs": "6.6.0" + }, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + }, + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "async": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz", + "integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==", + "dev": true, + "requires": { + "lodash": "4.17.2" + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "webpack-bundle-size-analyzer": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/webpack-bundle-size-analyzer/-/webpack-bundle-size-analyzer-2.5.0.tgz", + "integrity": "sha1-k56kZeRVk1Op/OQK9RGCDyFqnIA=", + "dev": true, + "requires": { + "commander": "2.8.1", + "filesize": "3.5.10", + "humanize": "0.0.9" + } + }, + "webpack-dev-middleware": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.10.1.tgz", + "integrity": "sha1-xrTPQoE5zxrvvgagwA/bT42i+JM=", + "dev": true, + "requires": { + "memory-fs": "0.4.1", + "mime": "1.3.4", + "path-is-absolute": "1.0.1", + "range-parser": "1.2.0" + } + }, + "webpack-error-notification": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/webpack-error-notification/-/webpack-error-notification-0.1.6.tgz", + "integrity": "sha1-6/y9TvRrg0ZrWcEv3oeQFo9Holc=", + "dev": true + }, + "webpack-hot-middleware": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.17.1.tgz", + "integrity": "sha1-DI+/b5P/KcCV1oSwerbWwPL5Udc=", + "dev": true, + "requires": { + "ansi-html": "0.0.7", + "html-entities": "1.2.1", + "querystring": "0.2.0", + "strip-ansi": "3.0.1" + } + }, + "webpack-sources": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.5.tgz", + "integrity": "sha1-qh86vw8NdNtxEcQOUAuE+WZkB1A=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.5.6" + } + }, + "webrtc-adapter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/webrtc-adapter/-/webrtc-adapter-2.1.0.tgz", + "integrity": "sha1-YStbxs6Oc8nQZgA4oh+SVahnvz4=", + "requires": { + "sdp": "1.5.4" + } + }, + "websocket": { + "version": "1.0.24", + "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.24.tgz", + "integrity": "sha1-dJA+dfJUW2suHeFCW8HJBZF6GJA=", + "dev": true, + "requires": { + "debug": "2.6.8", + "nan": "2.6.2", + "typedarray-to-buffer": "3.1.2", + "yaeti": "0.0.6" + } + }, + "whatwg-encoding": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.1.tgz", + "integrity": "sha1-PGxFGhmO567FWx7GHQkgxngBpfQ=", + "dev": true, + "requires": { + "iconv-lite": "0.4.13" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.13", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.13.tgz", + "integrity": "sha1-H4irpKsLFQjoMSrMOTRfNumS4vI=", + "dev": true + } + } + }, + "whatwg-fetch": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.1.tgz", + "integrity": "sha1-B4uUYbvpHOpzy86LsSKgX56St3I=" + }, + "whatwg-url": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-4.8.0.tgz", + "integrity": "sha1-0pgaqRSMHgCkHFphMRZqtGg7vMA=", + "dev": true, + "requires": { + "tr46": "0.0.3", + "webidl-conversions": "3.0.1" + }, + "dependencies": { + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + } + } + }, + "whet.extend": { + "version": "0.9.9", + "resolved": "https://registry.npmjs.org/whet.extend/-/whet.extend-0.9.9.tgz", + "integrity": "sha1-+HfVv2SMl+WqVC+twW1qJZucEaE=", + "dev": true + }, + "which": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/which/-/which-1.2.14.tgz", + "integrity": "sha1-mofEN48D6CfOyvGs31bHNsAcFOU=", + "requires": { + "isexe": "2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" + }, + "wide-align": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", + "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", + "requires": { + "string-width": "1.0.2" + } + }, + "window-size": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", + "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=" + }, + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" + }, + "worker-loader": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/worker-loader/-/worker-loader-0.8.1.tgz", + "integrity": "sha1-6OmVMx6jTfW/aCloJL+38K1XjUM=", + "requires": { + "loader-utils": "1.1.0", + "schema-utils": "0.3.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "requires": { + "big.js": "3.1.3", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1" + } + }, + "wrap-fn": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/wrap-fn/-/wrap-fn-0.1.5.tgz", + "integrity": "sha1-8htuQQFv9KfjFyDbxjoJAWvfmEU=", + "requires": { + "co": "3.1.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "write": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", + "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", + "dev": true, + "requires": { + "mkdirp": "0.5.1" + } + }, + "write-file-atomic": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz", + "integrity": "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=", + "requires": { + "graceful-fs": "4.1.11", + "imurmurhash": "0.1.4", + "slide": "1.1.6" + } + }, + "write-file-stdout": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/write-file-stdout/-/write-file-stdout-0.0.2.tgz", + "integrity": "sha1-wlLXx8WxtAKJdjDjRTx7/mkNnKE=", + "dev": true + }, + "write-json-file": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-1.2.0.tgz", + "integrity": "sha1-LV3+lqvDyIkFfJOXGqQAXvtUgTQ=", + "requires": { + "graceful-fs": "4.1.11", + "mkdirp": "0.5.1", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "sort-keys": "1.1.2", + "write-file-atomic": "1.3.4" + } + }, + "xml-char-classes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/xml-char-classes/-/xml-char-classes-1.0.0.tgz", + "integrity": "sha1-ZGV4SKIP/F31g6Qq2KJ3tFErvE0=", + "dev": true + }, + "xml-name-validator": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz", + "integrity": "sha1-TYuPHszTQZqjYgYb7O9RXh5VljU=", + "dev": true + }, + "xmlhttprequest": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", + "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=" + }, + "xss-filters": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/xss-filters/-/xss-filters-1.2.7.tgz", + "integrity": "sha1-Wfod4gHzby80cNysX1jMwoMLCpo=" + }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" + }, + "yaeti": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", + "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", + "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", + "dev": true, + "requires": { + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "4.2.1" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "yargs-parser": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", + "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", + "dev": true, + "requires": { + "camelcase": "3.0.0" + } + } + } + }, + "yargs-parser": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", + "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=", + "requires": { + "camelcase": "3.0.0", + "lodash.assign": "4.2.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" + } + } + }, + "yarn": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/yarn/-/yarn-0.21.3.tgz", + "integrity": "sha1-jdo6Y8eYs4PPpXdFLCs8s+Sqh+A=", + "requires": { + "babel-runtime": "6.23.0", + "bytes": "2.4.0", + "camelcase": "3.0.0", + "chalk": "1.1.3", + "cmd-shim": "2.0.2", + "commander": "2.11.0", + "death": "1.1.0", + "debug": "2.6.8", + "defaults": "1.0.3", + "detect-indent": "5.0.0", + "ini": "1.3.4", + "inquirer": "3.2.1", + "invariant": "2.2.2", + "is-builtin-module": "1.0.0", + "is-ci": "1.0.10", + "leven": "2.1.0", + "loud-rejection": "1.6.0", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "node-emoji": "1.8.1", + "node-gyp": "3.6.2", + "object-path": "0.11.4", + "proper-lockfile": "2.0.1", + "read": "1.0.7", + "request": "2.81.0", + "request-capture-har": "1.2.2", + "rimraf": "2.6.1", + "roadrunner": "1.1.0", + "semver": "5.4.1", + "strip-bom": "3.0.0", + "tar": "2.2.1", + "tar-stream": "1.5.4", + "validate-npm-package-license": "3.0.1" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" + }, + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" + }, + "detect-indent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", + "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=" + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" + } + } + }, + "yauzl": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.8.0.tgz", + "integrity": "sha1-eUUK/yKyqcWkHvVOAtuQfM+/nuI=", + "requires": { + "buffer-crc32": "0.2.13", + "fd-slicer": "1.0.1" + } + }, + "zxcvbn": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/zxcvbn/-/zxcvbn-4.4.1.tgz", + "integrity": "sha1-I4Gq3X8HiiWoayFTJ1YmR7gKqKw=" + } + } +} diff --git a/js-old/package.json b/js-old/package.json new file mode 100644 index 0000000000000000000000000000000000000000..52415f95ab75ae5788f51507dbff40b44a7a1301 --- /dev/null +++ b/js-old/package.json @@ -0,0 +1,240 @@ +{ + "name": "parity.js", + "version": "1.8.18", + "main": "release/index.js", + "jsnext:main": "src/index.js", + "author": "Parity Team ", + "maintainers": [ + "Jaco Greeff", + "Nicolas Gotchac" + ], + "contributors": [ + "Jannis Redmann" + ], + "license": "GPL-3.0", + "repository": { + "type": "git", + "url": "git+https://github.com/paritytech/parity.git" + }, + "keywords": [ + "Ethereum", + "ABI", + "API", + "Web3", + "RPC", + "Parity", + "Promise" + ], + "scripts": { + "install": "napa", + "analize": "npm run analize:lib && npm run analize:dll && npm run analize:app", + "analize:app": "WPANALIZE=1 webpack --config webpack/app --json > .build/analize.app.json && cat .build/analize.app.json | webpack-bundle-size-analyzer", + "analize:lib": "WPANALIZE=1 webpack --config webpack/libraries --json > .build/analize.lib.json && cat .build/analize.lib.json | webpack-bundle-size-analyzer", + "analize:dll": "WPANALIZE=1 webpack --config webpack/vendor --json > .build/analize.dll.json && cat .build/analize.dll.json | webpack-bundle-size-analyzer", + "build": "npm run build:lib && npm run build:dll && npm run build:app && npm run build:embed", + "build:app": "webpack --config webpack/app", + "build:lib": "webpack --config webpack/libraries", + "build:dll": "webpack --config webpack/vendor", + "build:markdown": "babel-node ./scripts/build-rpc-markdown.js", + "build:json": "babel-node ./scripts/build-rpc-json.js", + "build:embed": "EMBED=1 node webpack/embed", + "build:i18n": "npm run clean && npm run build && babel-node ./scripts/build-i18n.js", + "ci:build": "npm run ci:build:lib && npm run ci:build:dll && npm run ci:build:app && npm run ci:build:embed", + "ci:build:app": "NODE_ENV=production webpack --config webpack/app", + "ci:build:lib": "NODE_ENV=production webpack --config webpack/libraries", + "ci:build:dll": "NODE_ENV=production webpack --config webpack/vendor", + "ci:build:npm": "NODE_ENV=production webpack --config webpack/npm", + "ci:build:jsonrpc": "babel-node ./scripts/build-rpc-json.js --output .npmjs/jsonrpc", + "ci:build:embed": "NODE_ENV=production EMBED=1 node webpack/embed", + "start": "npm run clean && npm install && npm run build:lib && npm run build:dll && npm run start:app", + "start:app": "node webpack/dev.server", + "clean": "rm -rf ./.build ./.coverage ./.happypack ./.npmjs ./build ./node_modules/.cache ./node_modules/@parity", + "coveralls": "npm run testCoverage && coveralls < coverage/lcov.info", + "lint": "npm run lint:css && npm run lint:js", + "lint:cached": "npm run lint:css && npm run lint:js:cached", + "lint:css": "stylelint ./src/**/*.css", + "lint:fix": "npm run lint:js:fix", + "lint:i18n": "babel-node ./scripts/lint-i18n.js", + "lint:js": "eslint --ignore-path .gitignore ./src/", + "lint:js:cached": "eslint --cache --ignore-path .gitignore ./src/", + "lint:js:fix": "eslint --fix --ignore-path .gitignore ./src/", + "test": "NODE_ENV=test mocha --compilers ejs:ejsify 'src/**/*.spec.js'", + "test:coverage": "NODE_ENV=test istanbul cover _mocha -- --compilers ejs:ejsify 'src/**/*.spec.js'", + "test:e2e": "NODE_ENV=test mocha 'src/**/*.e2e.js'", + "test:npm": "(cd .npmjs && npm i) && node test/npmParity && node test/npmJsonRpc && (rm -rf .npmjs/node_modules)", + "prepush": "npm run lint:cached" + }, + "napa": { + "qrcode-generator": "kazuhikoarase/qrcode-generator" + }, + "devDependencies": { + "babel-cli": "6.23.0", + "babel-core": "6.23.1", + "babel-eslint": "7.1.1", + "babel-loader": "6.3.2", + "babel-plugin-lodash": "3.2.11", + "babel-plugin-react-intl": "2.3.1", + "babel-plugin-recharts": "1.1.0", + "babel-plugin-transform-class-properties": "6.23.0", + "babel-plugin-transform-decorators-legacy": "1.3.4", + "babel-plugin-transform-es2015-modules-commonjs": "6.24.1", + "babel-plugin-transform-object-rest-spread": "6.23.0", + "babel-plugin-transform-react-remove-prop-types": "0.3.2", + "babel-plugin-transform-runtime": "6.23.0", + "babel-plugin-webpack-alias": "2.1.2", + "babel-preset-env": "1.1.9", + "babel-preset-es2015": "6.22.0", + "babel-preset-es2016": "6.22.0", + "babel-preset-es2017": "6.22.0", + "babel-preset-react": "6.23.0", + "babel-preset-stage-0": "6.22.0", + "babel-register": "6.23.0", + "babel-runtime": "6.23.0", + "chai": "3.5.0", + "chai-as-promised": "6.0.0", + "chai-enzyme": "0.6.1", + "chalk": "1.1.3", + "circular-dependency-plugin": "2.0.0", + "copy-webpack-plugin": "4.0.1", + "core-js": "2.4.1", + "coveralls": "2.11.16", + "css-loader": "0.26.1", + "ejs-loader": "0.3.0", + "ejsify": "1.0.0", + "empty-module": "0.0.2", + "enzyme": "2.7.1", + "eslint": "3.16.1", + "eslint-config-semistandard": "7.0.0", + "eslint-config-standard": "6.2.1", + "eslint-config-standard-react": "4.2.0", + "eslint-plugin-promise": "3.4.2", + "eslint-plugin-react": "6.10.0", + "eslint-plugin-standard": "2.0.1", + "express": "4.14.1", + "extract-loader": "0.1.0", + "extract-text-webpack-plugin": "2.0.0-beta.4", + "file-loader": "0.10.0", + "happypack": "3.0.3", + "html-loader": "0.4.4", + "html-webpack-plugin": "2.28.0", + "http-proxy-middleware": "0.17.3", + "husky": "0.13.1", + "ignore-styles": "5.0.1", + "image-webpack-loader": "3.2.0", + "istanbul": "1.0.0-alpha.2", + "jsdom": "9.11.0", + "json-loader": "0.5.4", + "markdown-loader": "2.0.0", + "mocha": "3.2.0", + "mock-local-storage": "1.0.2", + "mock-socket": "6.0.4", + "nock": "9.0.7", + "postcss-import": "9.1.0", + "postcss-loader": "1.3.2", + "postcss-nested": "1.0.0", + "postcss-simple-vars": "3.0.0", + "progress": "1.1.8", + "progress-bar-webpack-plugin": "1.9.3", + "raw-loader": "0.5.1", + "react-addons-perf": "15.4.2", + "react-addons-test-utils": "15.4.2", + "react-hot-loader": "3.0.0-beta.6", + "react-intl-aggregate-webpack-plugin": "0.0.1", + "rucksack-css": "0.9.1", + "script-ext-html-webpack-plugin": "1.7.1", + "serviceworker-webpack-plugin": "0.2.0", + "sinon": "1.17.7", + "sinon-as-promised": "4.0.2", + "sinon-chai": "2.8.0", + "style-loader": "0.13.1", + "stylelint": "7.9.0", + "stylelint-config-standard": "16.0.0", + "to-source": "2.0.3", + "url-loader": "0.5.7", + "webpack": "2.2.1", + "webpack-bundle-size-analyzer": "2.5.0", + "webpack-dev-middleware": "1.10.1", + "webpack-error-notification": "0.1.6", + "webpack-hot-middleware": "2.17.1", + "websocket": "1.0.24", + "yargs": "6.6.0" + }, + "dependencies": { + "@parity/wordlist": "1.0.1", + "arraybuffer-loader": "0.2.2", + "babel-runtime": "6.23.0", + "base32.js": "0.1.0", + "bignumber.js": "3.0.1", + "blockies": "0.0.2", + "brace": "0.9.0", + "bytes": "2.4.0", + "date-difference": "1.0.0", + "debounce": "1.0.0", + "es6-error": "4.0.0", + "es6-promise": "4.0.5", + "ethereumjs-tx": "1.2.5", + "eventemitter3": "2.0.2", + "file-saver": "1.3.3", + "flat": "2.0.1", + "format-json": "1.0.3", + "format-number": "2.0.1", + "geopattern": "1.2.3", + "isomorphic-fetch": "2.2.1", + "js-sha3": "0.5.5", + "keythereum": "0.4.6", + "lodash": "4.17.2", + "loglevel": "1.4.1", + "marked": "0.3.6", + "material-ui": "0.16.5", + "material-ui-chip-input": "0.11.1", + "mobx": "2.6.4", + "mobx-react": "4.0.3", + "mobx-react-devtools": "4.2.10", + "moment": "2.17.0", + "napa": "2.3.0", + "phoneformat.js": "1.0.3", + "promise-worker": "1.1.1", + "push.js": "0.0.11", + "qs": "6.3.0", + "react": "15.4.2", + "react-ace": "4.1.0", + "react-addons-css-transition-group": "15.4.2", + "react-codemirror": "^0.3.0", + "react-copy-to-clipboard": "4.2.3", + "react-dom": "15.4.2", + "react-dropzone": "3.7.3", + "react-element-to-jsx-string": "6.0.0", + "react-event-listener": "0.4.1", + "react-inspector": "paritytech/react-inspector", + "react-intl": "2.1.5", + "react-markdown": "2.4.4", + "react-portal": "3.0.0", + "react-qr-reader": "1.1.3", + "react-redux": "4.4.6", + "react-router": "3.0.0", + "react-router-redux": "4.0.7", + "react-tap-event-plugin": "2.0.1", + "react-tooltip": "3.2.2", + "recharts": "0.15.2", + "redux": "3.6.0", + "redux-actions": "1.1.0", + "redux-thunk": "2.1.0", + "rlp": "2.0.0", + "scryptsy": "2.0.0", + "solc": "ngotchac/solc-js", + "store": "1.3.20", + "sw-toolbox": "^3.6.0", + "u2f-api": "0.0.9", + "u2f-api-polyfill": "0.4.3", + "uglify-js": "2.8.16", + "useragent.js": "0.5.6", + "utf8": "2.1.2", + "valid-url": "1.0.9", + "validator": "6.2.0", + "web3": "0.17.0-beta", + "whatwg-fetch": "2.0.1", + "worker-loader": "^0.8.0", + "yarn": "^0.21.3", + "zxcvbn": "4.4.1" + } +} diff --git a/js-old/scripts/build-i18n.js b/js-old/scripts/build-i18n.js new file mode 100644 index 0000000000000000000000000000000000000000..1acf2c852f50c4c369e81009d33f2516ccb9faff --- /dev/null +++ b/js-old/scripts/build-i18n.js @@ -0,0 +1,154 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +const fs = require('fs'); +const _ = require('lodash'); +const path = require('path'); +const toSource = require('to-source'); + +const FILE_HEADER = `// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see .\n\n`; +const SECTION_HEADER = 'export default '; +const SECTION_FOOTER = ';\n'; +const INDENT = ' '; +const DESTPATH = path.join(__dirname, '../src/i18n/_default'); +const ENPATH = path.join(__dirname, '../src/i18n/en'); +const SRCPATH = path.join(__dirname, '../.build/i18n/i18n/en.json'); + +// main entry point +(function main () { + const { sections, sectionNames } = createSectionMap(); + + sectionNames.forEach((name) => outputSection(name, sections[name])); + outputIndex(sectionNames); +})(); + +// sort an object based on its keys +function sortObject (object) { + return Object + .keys(object) + .sort() + .reduce((sorted, key) => { + if (typeof object[key] === 'object') { + sorted[key] = sortObject(object[key]); + } else { + sorted[key] = object[key]; + } + + return sorted; + }, {}); +} + +// create an object map of the actual inputs +function createSectionMap () { + console.log(`Reading strings from ${SRCPATH}`); + + const i18nstrings = require(SRCPATH); + const sections = sortObject( + Object + .keys(i18nstrings) + .reduce((sections, fullKey) => { + const defaultMessage = i18nstrings[fullKey].defaultMessage; + const keys = fullKey.split('.'); + let outputs = sections; + + keys.forEach((key, index) => { + if (index === keys.length - 1) { + outputs[key] = defaultMessage; + } else { + if (!outputs[key]) { + outputs[key] = {}; + } + + outputs = outputs[key]; + } + }); + + return sections; + }, {}) + ); + const sectionNames = Object.keys(sections); + + console.log(`Found ${sectionNames.length} sections`); + + return { + sections, + sectionNames + }; +} + +// load the available deafults (non-exported strings) for a section +function readDefaults (sectionName) { + let defaults = {}; + + try { + defaults = require(path.join(ENPATH, `${sectionName}.js`)).default; + } catch (error) { + defaults = {}; + } + + return defaults; +} + +// create the index.js file +function outputIndex (sectionNames) { + console.log(`Writing index.js to ${DESTPATH}`); + + const defaults = readDefaults('index'); + const dest = path.join(DESTPATH, 'index.js'); + const exports = _.uniq(Object.keys(defaults).concat(sectionNames)) + .sort() + .map((name) => `export ${name} from './${name}';`) + .join('\n'); + + fs.writeFileSync(dest, `${FILE_HEADER}${exports}\n`, 'utf8'); +} + +// export a section as a flatenned JS export string +function createJSSection (section) { + const source = toSource(section, { + enclose: true, + quoteChar: '`', + tabChar: INDENT, + tabDepth: 0 + }); + + return `${SECTION_HEADER}${source}${SECTION_FOOTER}`; +} + +// create the individual section files +function outputSection (sectionName, section) { + console.log(`Writing ${sectionName}.js to ${DESTPATH}`); + + const defaults = readDefaults(sectionName); + const dest = path.join(DESTPATH, `${sectionName}.js`); + const sectionText = createJSSection(_.defaultsDeep(section, defaults)); + + fs.writeFileSync(dest, `${FILE_HEADER}${sectionText}`, 'utf8'); +} diff --git a/js-old/scripts/build-rpc-json.js b/js-old/scripts/build-rpc-json.js new file mode 100644 index 0000000000000000000000000000000000000000..740f96aa104365293fb59ab2f88bff87afe05b6a --- /dev/null +++ b/js-old/scripts/build-rpc-json.js @@ -0,0 +1,70 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import fs from 'fs'; +import path from 'path'; +import yargs from 'yargs'; + +import interfaces from '../src/jsonrpc'; + +const argv = yargs.default('output', 'release').argv; + +const INDEX_JSON = path.join(__dirname, `../${argv.output}/index.json`); +const methods = []; + +function formatDescription (obj) { + const optional = obj.optional ? '(optional) ' : ''; + const defaults = obj.default ? `(default: ${obj.default}) ` : ''; + + return `${obj.type.name} - ${optional}${defaults}${obj.desc}`; +} + +function formatType (obj) { + if (obj.type === Object && obj.details) { + const formatted = {}; + + Object.keys(obj.details).sort().forEach((key) => { + formatted[key] = formatType(obj.details[key]); + }); + + return { + desc: formatDescription(obj), + details: formatted + }; + } else if (obj.type && obj.type.name) { + return formatDescription(obj); + } + + return obj; +} + +Object.keys(interfaces).sort().forEach((group) => { + Object.keys(interfaces[group]).sort().forEach((name) => { + const method = interfaces[group][name]; + const deprecated = method.deprecated ? ' (Deprecated and not supported, to be removed in a future version)' : ''; + + methods.push({ + name: `${group}_${name}`, + desc: `${method.desc}${deprecated}`, + params: method.params.map(formatType), + returns: formatType(method.returns), + inputFormatters: method.params.map((param) => param.format || null), + outputFormatter: method.returns.format || null + }); + }); +}); + +fs.writeFileSync(INDEX_JSON, JSON.stringify({ methods: methods }, null, 2), 'utf8'); diff --git a/js-old/scripts/build-rpc-markdown.js b/js-old/scripts/build-rpc-markdown.js new file mode 100644 index 0000000000000000000000000000000000000000..7a78e1ce96c3c52ae764a6b8899e8b700407811b --- /dev/null +++ b/js-old/scripts/build-rpc-markdown.js @@ -0,0 +1,328 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import fs from 'fs'; +import path from 'path'; +import { isPlainObject } from 'lodash'; + +import { info, warn, error } from './helpers/log'; +import { Dummy } from '../src/jsonrpc/helpers'; +import interfaces from '../src/jsonrpc'; +import rustMethods from './helpers/parsed-rpc-traits'; + +const ROOT_DIR = path.join(__dirname, '../docs'); + +if (!fs.existsSync(ROOT_DIR)) { + fs.mkdirSync(ROOT_DIR); +} + +Object.keys(rustMethods).forEach((group) => { + Object.keys(rustMethods[group]).forEach((method) => { + if (interfaces[group] == null || interfaces[group][method] == null) { + error(`${group}_${method} is defined in Rust traits, but not in js/src/jsonrpc/interfaces`); + } + }); +}); + +function printType (type, obj) { + if (!type) { + throw new Error(`Invalid type in ${JSON.stringify(obj)}`); + } + + return type.print || `\`${type.name}\``; +} + +function formatDescription (obj, prefix = '', indent = '') { + const optional = obj.optional ? '(optional) ' : ''; + const defaults = obj.default ? `(default: \`${obj.default}\`) ` : ''; + + return `${indent}${prefix}${printType(obj.type, obj)} - ${optional}${defaults}${obj.desc}`; +} + +function formatType (obj) { + if (obj == null || obj.type == null) { + return obj; + } + + const details = obj.details || obj.type.details; + + if (details) { + const sub = Object.keys(details).map((key) => { + return formatDescription(details[key], `\`${key}\`: `, ' - '); + }).join('\n'); + + return `${formatDescription(obj)}\n${sub}`; + } else if (obj.type && obj.type.name) { + return formatDescription(obj); + } + + return obj; +} + +const rpcReqTemplate = { + method: 'web3_clientVersion', + params: [], + id: 1, + jsonrpc: '2.0' +}; + +const { isDummy } = Dummy; +const { isArray } = Array; + +// Checks if a field definition has an example, +// or describes an object with fields that recursively have examples of their own, +// or is optional. +function hasExample ({ optional, example, details } = {}) { + if (optional || example !== undefined) { + return true; + } + + if (details !== undefined) { + const values = Object.keys(details).map((key) => details[key]); + + return values.every(hasExample); + } + + return false; +} + +// Remove all optional (trailing) params without examples from an array +function removeOptionalWithoutExamples (arr) { + return arr.filter(({ optional, example, details }) => { + return !optional || example !== undefined || details !== undefined; + }); +} + +// Grabs JSON compatible +function getExample (obj) { + if (isArray(obj)) { + return removeOptionalWithoutExamples(obj).map(getExample); + } + + const { example, details } = obj; + + if (example === undefined && details !== undefined) { + const nested = {}; + + Object.keys(details).forEach((key) => { + nested[key] = getExample(details[key]); + }); + + return nested; + } + + return example; +} + +function stringifyExample (example, dent = '') { + const indent = `${dent} `; + + if (isDummy(example)) { + return example.toString(); + } + + if (isArray(example)) { + const last = example.length - 1; + + // If all elements are dummies, print out a single line. + // Also covers empty arrays. + if (example.every(isDummy)) { + const dummies = example.map(d => d.toString()); + + return `[${dummies.join(', ')}]`; + } + + // For arrays containing just one object or string, don't unwind the array to multiline + if (last === 0 && (isPlainObject(example[0]) || typeof example[0] === 'string')) { + return `[${stringifyExample(example[0], dent)}]`; + } + + const elements = example.map((value, index) => { + const comma = index !== last ? ',' : ''; + const comment = value != null && value._comment ? ` // ${value._comment}` : ''; + + return `${stringifyExample(value, indent)}${comma}${comment}`; + }); + + return `[\n${indent}${elements.join(`\n${indent}`)}\n${dent}]`; + } + + if (isPlainObject(example)) { + const keys = Object.keys(example); + const last = keys.length - 1; + + // print out an empty object + if (last === -1) { + return '{}'; + } + + const elements = keys.map((key, index) => { + const value = example[key]; + const comma = index !== last ? ',' : ''; + const comment = value && value._comment ? ` // ${example[key]._comment}` : ''; + + return `${JSON.stringify(key)}: ${stringifyExample(value, indent)}${comma}${comment}`; + }); + + return `{\n${indent}${elements.join(`\n${indent}`)}\n${dent}}`; + } + + return JSON.stringify(example); +} + +function buildExample (name, method) { + // deprecated, don't care + if (method.deprecated) { + return ''; + } + + const logPostfix = method.subdoc ? ` (${method.subdoc})` : ''; + + const hasReqExample = method.params.every(hasExample); + const hasResExample = hasExample(method.returns); + + if (!hasReqExample && !hasResExample) { + error(`${name} has no examples${logPostfix}`); + + return ''; + } + + const examples = []; + + if (hasReqExample) { + const params = getExample(method.params); + const req = Dummy.stringifyJSON(Object.assign({}, rpcReqTemplate, { method: name, params })); + + examples.push(`Request\n\`\`\`bash\ncurl --data '${req}' -H "Content-Type: application/json" -X POST localhost:8545\n\`\`\``); + } else { + warn(`${name} has a response example but not a request example${logPostfix}`); + } + + if (hasResExample) { + const res = stringifyExample({ + id: 1, + jsonrpc: '2.0', + result: getExample(method.returns) + }); + + examples.push(`Response\n\`\`\`js\n${res}\n\`\`\``); + } else { + if (typeof method.returns === 'string') { + info(`${name} has a request example and only text description for response${logPostfix}`); + } else { + warn(`${name} has a request example but not a response example${logPostfix}`); + } + } + + return `\n\n#### Example\n\n${examples.join('\n\n')}`; +} + +function buildParameters (params) { + if (params.length === 0) { + return ''; + } + + let md = `0. ${params.map(formatType).join('\n0. ')}`; + + if (params.length > 0 && params.every(hasExample) && !isDummy(params[0].example)) { + const example = getExample(params); + + md = `${md}\n\n\`\`\`js\nparams: ${stringifyExample(example)}\n\`\`\``; + } + + return md; +} + +Object.keys(interfaces).sort().forEach((group) => { + const spec = interfaces[group]; + + for (const key in spec) { + const method = spec[key]; + + if (!method || !method.subdoc) { + continue; + } + + const subgroup = `${group}_${method.subdoc}`; + + interfaces[subgroup] = interfaces[subgroup] || {}; + + interfaces[subgroup][key] = method; + delete spec[key]; + } +}); + +Object.keys(interfaces).sort().forEach((group) => { + let preamble = `# The \`${group}\` Module`; + let markdown = `## JSON-RPC methods\n`; + + const spec = interfaces[group]; + + if (spec._preamble) { + preamble = `${preamble}\n\n${spec._preamble}`; + } + + const content = []; + const tocMain = []; + const tocSections = {}; + + // Comparator that will sort by sections first, names second + function methodComparator (a, b) { + const sectionA = spec[a].section || ''; + const sectionB = spec[b].section || ''; + + return sectionA.localeCompare(sectionB) || a.localeCompare(b); + } + + Object.keys(spec).sort(methodComparator).forEach((iname) => { + const method = spec[iname]; + const groupName = group.replace(/_.*$/, ''); + const name = `${groupName}_${iname}`; + + if (method.nodoc || method.deprecated) { + info(`Skipping ${name}: ${method.nodoc || 'Deprecated'}`); + + return; + } + + if (rustMethods[groupName] == null || rustMethods[groupName][iname] == null) { + error(`${name} is defined in js/src/jsonrpc/interfaces, but not in Rust traits`); + } + + const desc = method.desc; + const params = buildParameters(method.params); + const returns = `- ${formatType(method.returns)}`; + const example = buildExample(name, method); + + const { section } = method; + const toc = section ? tocSections[section] = tocSections[section] || [] : tocMain; + + toc.push(`- [${name}](#${name.toLowerCase()})`); + content.push(`### ${name}\n\n${desc}\n\n#### Parameters\n\n${params || 'None'}\n\n#### Returns\n\n${returns || 'None'}${example}`); + }); + + markdown = `${markdown}\n${tocMain.join('\n')}`; + + Object.keys(tocSections).sort().forEach((section) => { + markdown = `${markdown}\n\n#### ${section}\n${tocSections[section].join('\n')}`; + }); + + markdown = `${markdown}\n\n## JSON-RPC API Reference\n\n${content.join('\n\n***\n\n')}\n\n`; + + const mdFile = path.join(ROOT_DIR, `${group}.md`); + + fs.writeFileSync(mdFile, `${preamble}\n\n${markdown}`, 'utf8'); +}); diff --git a/js-old/scripts/build.sh b/js-old/scripts/build.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6f4a913c02b488940066affd7009e10868f9697 --- /dev/null +++ b/js-old/scripts/build.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# change into the js directory (one down from scripts) +pushd `dirname $0` +cd .. + +# run build (production) and store the exit code +EXITCODE=0 +BUILDDIR=./.dist +rm -rf $BUILDDIR +mkdir -p $BUILDDIR/src +BUILD_DEST=$BUILDDIR/build npm run ci:build || EXITCODE=1 + +# Copy rust files +cp Cargo.precompiled.toml $BUILDDIR/Cargo.toml +cp build.rs $BUILDDIR +cp src/lib.rs* $BUILDDIR/src + +# back to root +popd + +# exit with exit code +exit $EXITCODE diff --git a/js-old/scripts/dryrun-npm.sh b/js-old/scripts/dryrun-npm.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf8a151a8b08d6bf8b8f9f87a3eca3a5499b1472 --- /dev/null +++ b/js-old/scripts/dryrun-npm.sh @@ -0,0 +1,36 @@ +#!/bin/bash +set -e + +# variables +PACKAGES=( "parity" "etherscan" "shapeshift" "jsonrpc" ) + +# change into the build directory +BASEDIR=`dirname $0` +cd $BASEDIR/.. + +# build jsonrpc +echo "*** Building JSONRPC .json" +mkdir -p .npmjs/jsonrpc +npm run ci:build:jsonrpc + +# build all packages +echo "*** Building packages for npmjs" +echo "$NPM_TOKEN" >> ~/.npmrc + +for PACKAGE in ${PACKAGES[@]} +do + echo "*** Building $PACKAGE" + LIBRARY=$PACKAGE npm run ci:build:npm + DIRECTORY=.npmjs/$PACKAGE + + cd $DIRECTORY + + echo "*** Publishing $PACKAGE from $DIRECTORY" + echo "npm publish --access public || true" + cd ../.. + +done +cd .. + +# exit with exit code +exit 0 diff --git a/js-old/scripts/helpers/log.js b/js-old/scripts/helpers/log.js new file mode 100644 index 0000000000000000000000000000000000000000..dc495564995c1e8198c06ea4937d846cb2e0a2ad --- /dev/null +++ b/js-old/scripts/helpers/log.js @@ -0,0 +1,32 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import chalk from 'chalk'; + +// INFO Logging helper +export function info (log) { + console.log(chalk.blue(`INFO:\t${log}`)); +} + +// WARN Logging helper +export function warn (log) { + console.warn(chalk.yellow(`WARN:\t${log}`)); +} + +// ERROR Logging helper +export function error (log) { + console.error(chalk.red(`ERROR:\t${log}`)); +} diff --git a/js-old/scripts/helpers/parsed-rpc-traits.js b/js-old/scripts/helpers/parsed-rpc-traits.js new file mode 100644 index 0000000000000000000000000000000000000000..9f2d4ea8a47a07183f8979643d5ad5fda516651d --- /dev/null +++ b/js-old/scripts/helpers/parsed-rpc-traits.js @@ -0,0 +1,81 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import fs from 'fs'; +import path from 'path'; + +// ```js +// rustMethods['eth']['call'] === true +// ``` +const rustMethods = {}; + +export default rustMethods; + +// Get a list of JSON-RPC from Rust trait source code +function parseMethodsFromRust (source) { + // Matching the custom `rpc` attribute with it's doc comment + const attributePattern = /((?:\s*\/\/\/.*$)*)\s*#\[rpc\(([^)]+)\)]/gm; + const commentPattern = /\s*\/\/\/\s*/g; + const separatorPattern = /\s*,\s*/g; + const assignPattern = /([\S]+)\s*=\s*"([^"]*)"/; + const ignorePattern = /@(ignore|deprecated|unimplemented|alias)\b/i; + + const methods = []; + + source.toString().replace(attributePattern, (match, comment, props) => { + comment = comment.replace(commentPattern, '\n').trim(); + + // Skip deprecated methods + if (ignorePattern.test(comment)) { + return match; + } + + props.split(separatorPattern).forEach((prop) => { + const [, key, value] = prop.split(assignPattern) || []; + + if (key === 'name' && value != null) { + methods.push(value); + } + }); + + return match; + }); + + return methods; +} + +// Get a list of all JSON-RPC methods from all defined traits +function getMethodsFromRustTraits () { + const traitsDir = path.join(__dirname, '../../../rpc/src/v1/traits'); + + return fs.readdirSync(traitsDir) + .filter((name) => name !== 'mod.rs' && /\.rs$/.test(name)) + .map((name) => fs.readFileSync(path.join(traitsDir, name))) + .map(parseMethodsFromRust) + .reduce((a, b) => a.concat(b)); +} + +getMethodsFromRustTraits().sort().forEach((method) => { + const [group, name] = method.split('_'); + + // Skip methods with malformed names + if (group == null || name == null) { + return; + } + + rustMethods[group] = rustMethods[group] || {}; + rustMethods[group][name] = true; +}); diff --git a/js-old/scripts/install-deps.sh b/js-old/scripts/install-deps.sh new file mode 100755 index 0000000000000000000000000000000000000000..96c2f36b11cef4e927f5f234d849b27bb983e4e4 --- /dev/null +++ b/js-old/scripts/install-deps.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# change into the js directory (one down from scripts) +pushd `dirname $0` +cd .. + +# install deps and store the exit code +EXITCODE=0 +node --version +npm --version +npm install --progress=false || EXITCODE=1 + +# back to root +popd + +# exit with exit code +exit $EXITCODE diff --git a/js-old/scripts/lint-i18n.js b/js-old/scripts/lint-i18n.js new file mode 100644 index 0000000000000000000000000000000000000000..d392353d0e0ee887f0f30dfe96855e7a57b5f434 --- /dev/null +++ b/js-old/scripts/lint-i18n.js @@ -0,0 +1,53 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import flatten from 'flat'; + +import * as defaults from '../src/i18n/_default'; +import { LANGUAGES, MESSAGES } from '../src/i18n/store'; + +const SKIP_LANG = ['en']; +const defaultKeys = Object.keys(flatten(Object.assign({}, defaults, LANGUAGES))); + +Object + .keys(MESSAGES) + .filter((lang) => !SKIP_LANG.includes(lang)) + .forEach((lang) => { + const messageKeys = Object.keys(MESSAGES[lang]); + let extra = 0; + let found = 0; + let missing = 0; + + console.log(`*** Checking translations for ${lang}`); + + defaultKeys.forEach((key) => { + if (messageKeys.includes(key)) { + found++; + } else { + missing++; + console.log(` Missing ${key}`); + } + }); + + messageKeys.forEach((key) => { + if (!defaultKeys.includes(key)) { + extra++; + console.log(` Extra ${key}`); + } + }); + + console.log(`Found ${found} keys, missing ${missing} keys, ${extra} extraneous keys\n`); + }); diff --git a/js-old/scripts/lint.sh b/js-old/scripts/lint.sh new file mode 100755 index 0000000000000000000000000000000000000000..147bb0a2d01fd36bc94cabba51e3eba947e42824 --- /dev/null +++ b/js-old/scripts/lint.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# change into the js directory (one down from scripts) +pushd `dirname $0` +cd .. + +# run lint & tests and store the exit code +EXITCODE=0 +npm run lint || EXITCODE=1 + +# back to root +popd + +# exit with exit code +exit $EXITCODE diff --git a/js-old/scripts/release.sh b/js-old/scripts/release.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad381eb2c384ebdc2e5815283fb412a48051f1f9 --- /dev/null +++ b/js-old/scripts/release.sh @@ -0,0 +1,79 @@ +#!/bin/bash +set -e + +# variables +UTCDATE=`date -u "+%Y%m%d-%H%M%S"` +PACKAGES=( "parity" "etherscan" "shapeshift" "jsonrpc" ) +BRANCH="v1" +GIT_JS_PRECOMPILED="https://${GITHUB_JS_PRECOMPILED}:@github.com/paritytech/js-precompiled.git" +GIT_PARITY="https://${GITHUB_JS_PRECOMPILED}:@github.com/paritytech/parity.git" + +# setup the git user defaults for the current repo +function setup_git_user { + git config push.default simple + git config merge.ours.driver true + git config user.email "$GITHUB_EMAIL" + git config user.name "GitLab Build Bot" +} + +# change into the build directory +BASEDIR=`dirname $0` +GITLOG=./.git/gitcommand.log +pushd $BASEDIR +cd ../.dist + +# add local files and send it up +echo "*** Setting up GitHub config for js-precompiled" +rm -rf ./.git +git init +setup_git_user + +echo "*** Checking out $BRANCH branch" +git remote add origin $GIT_JS_PRECOMPILED +git fetch origin 2>$GITLOG +git checkout -b $BRANCH + +echo "*** Committing compiled files for $UTCDATE" +mv build ../build.new +git add . +git commit -m "$UTCDATE [update]" +git merge origin/$BRANCH -X ours --commit -m "$UTCDATE [merge]" +git rm -r build +rm -rf build +git commit -m "$UTCDATE [cleanup]" +mv ../build.new build +git add . +git commit -m "$UTCDATE [release]" + +echo "*** Merging remote" +git push origin HEAD:refs/heads/$BRANCH 2>$GITLOG +PRECOMPILED_HASH=`git rev-parse HEAD` + +# move to root +cd ../.. + +echo "*** Setting up GitHub config for parity" +setup_git_user +git remote set-url origin $GIT_PARITY +git reset --hard origin/$BRANCH 2>$GITLOG + +echo "*** Updating cargo parity-ui-old-precompiled#$PRECOMPILED_HASH" +git submodule update +# Not needed since $BRANCH is hardcoded +# sed -i "/^parity-ui-old-precompiled/ { s/branch = \".*\"/branch = \"$BRANCH\"/g; }" dapps/ui/Cargo.toml +cargo update -p parity-ui-old-precompiled +# --precise "$PRECOMPILED_HASH" + +echo "*** Committing updated files" +git add js +git add dapps/ui/Cargo.toml +git add Cargo.lock +git commit -m "[ci skip] js-precompiled $UTCDATE" +git push origin HEAD:refs/heads/$BRANCH 2>$GITLOG + +# back to root +echo "*** Release completed" +popd + +# exit with exit code +exit 0 diff --git a/js-old/scripts/test.js b/js-old/scripts/test.js new file mode 100644 index 0000000000000000000000000000000000000000..e426642db0b0e95332b63cbe52e72feddab150b7 --- /dev/null +++ b/js-old/scripts/test.js @@ -0,0 +1 @@ +// test script 10 diff --git a/js-old/scripts/test.sh b/js-old/scripts/test.sh new file mode 100755 index 0000000000000000000000000000000000000000..6827b243ca64bdacd03691100dafc65a68bc5e65 --- /dev/null +++ b/js-old/scripts/test.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# change into the js directory (one down from scripts) +pushd `dirname $0` +cd .. + +# run lint & tests and store the exit code +EXITCODE=0 +npm run test || EXITCODE=1 + +# back to root +popd + +# exit with exit code +exit $EXITCODE diff --git a/js-old/scripts/update-precompiled.sh b/js-old/scripts/update-precompiled.sh new file mode 100755 index 0000000000000000000000000000000000000000..ebbab50462632a9fb9a53bc83f0e45d9aca49ead --- /dev/null +++ b/js-old/scripts/update-precompiled.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -e + +# change into main dir +pushd `dirname $0` +cd ../../ + +cargo update -p parity-ui-old-precompiled + +popd +exit 0 diff --git a/js/src/3rdparty/email-verification/index.js b/js-old/src/3rdparty/email-verification/index.js similarity index 100% rename from js/src/3rdparty/email-verification/index.js rename to js-old/src/3rdparty/email-verification/index.js diff --git a/js/src/3rdparty/email-verification/terms-of-service.js b/js-old/src/3rdparty/email-verification/terms-of-service.js similarity index 100% rename from js/src/3rdparty/email-verification/terms-of-service.js rename to js-old/src/3rdparty/email-verification/terms-of-service.js diff --git a/js/src/3rdparty/etherscan/account.js b/js-old/src/3rdparty/etherscan/account.js similarity index 100% rename from js/src/3rdparty/etherscan/account.js rename to js-old/src/3rdparty/etherscan/account.js diff --git a/js/src/3rdparty/etherscan/account.spec.js b/js-old/src/3rdparty/etherscan/account.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/account.spec.js rename to js-old/src/3rdparty/etherscan/account.spec.js diff --git a/js/src/3rdparty/etherscan/call.js b/js-old/src/3rdparty/etherscan/call.js similarity index 100% rename from js/src/3rdparty/etherscan/call.js rename to js-old/src/3rdparty/etherscan/call.js diff --git a/js/src/3rdparty/etherscan/helpers.spec.js b/js-old/src/3rdparty/etherscan/helpers.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/helpers.spec.js rename to js-old/src/3rdparty/etherscan/helpers.spec.js diff --git a/js/src/3rdparty/etherscan/index.js b/js-old/src/3rdparty/etherscan/index.js similarity index 100% rename from js/src/3rdparty/etherscan/index.js rename to js-old/src/3rdparty/etherscan/index.js diff --git a/js/src/3rdparty/etherscan/links.js b/js-old/src/3rdparty/etherscan/links.js similarity index 100% rename from js/src/3rdparty/etherscan/links.js rename to js-old/src/3rdparty/etherscan/links.js diff --git a/js/src/3rdparty/etherscan/links.spec.js b/js-old/src/3rdparty/etherscan/links.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/links.spec.js rename to js-old/src/3rdparty/etherscan/links.spec.js diff --git a/js/src/3rdparty/etherscan/stats.js b/js-old/src/3rdparty/etherscan/stats.js similarity index 100% rename from js/src/3rdparty/etherscan/stats.js rename to js-old/src/3rdparty/etherscan/stats.js diff --git a/js/src/3rdparty/etherscan/stats.spec.js b/js-old/src/3rdparty/etherscan/stats.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/stats.spec.js rename to js-old/src/3rdparty/etherscan/stats.spec.js diff --git a/js/src/3rdparty/ledger/index.js b/js-old/src/3rdparty/ledger/index.js similarity index 100% rename from js/src/3rdparty/ledger/index.js rename to js-old/src/3rdparty/ledger/index.js diff --git a/js/src/3rdparty/ledger/ledger.js b/js-old/src/3rdparty/ledger/ledger.js similarity index 100% rename from js/src/3rdparty/ledger/ledger.js rename to js-old/src/3rdparty/ledger/ledger.js diff --git a/js/src/3rdparty/ledger/ledger.spec.js b/js-old/src/3rdparty/ledger/ledger.spec.js similarity index 100% rename from js/src/3rdparty/ledger/ledger.spec.js rename to js-old/src/3rdparty/ledger/ledger.spec.js diff --git a/js/src/3rdparty/ledger/vendor/README.md b/js-old/src/3rdparty/ledger/vendor/README.md similarity index 100% rename from js/src/3rdparty/ledger/vendor/README.md rename to js-old/src/3rdparty/ledger/vendor/README.md diff --git a/js/src/3rdparty/ledger/vendor/ledger-eth.js b/js-old/src/3rdparty/ledger/vendor/ledger-eth.js similarity index 100% rename from js/src/3rdparty/ledger/vendor/ledger-eth.js rename to js-old/src/3rdparty/ledger/vendor/ledger-eth.js diff --git a/js/src/3rdparty/ledger/vendor/ledger3.js b/js-old/src/3rdparty/ledger/vendor/ledger3.js similarity index 100% rename from js/src/3rdparty/ledger/vendor/ledger3.js rename to js-old/src/3rdparty/ledger/vendor/ledger3.js diff --git a/js/src/3rdparty/shapeshift/helpers.spec.js b/js-old/src/3rdparty/shapeshift/helpers.spec.js similarity index 100% rename from js/src/3rdparty/shapeshift/helpers.spec.js rename to js-old/src/3rdparty/shapeshift/helpers.spec.js diff --git a/js/src/3rdparty/shapeshift/index.js b/js-old/src/3rdparty/shapeshift/index.js similarity index 100% rename from js/src/3rdparty/shapeshift/index.js rename to js-old/src/3rdparty/shapeshift/index.js diff --git a/js/src/3rdparty/shapeshift/rpc.js b/js-old/src/3rdparty/shapeshift/rpc.js similarity index 100% rename from js/src/3rdparty/shapeshift/rpc.js rename to js-old/src/3rdparty/shapeshift/rpc.js diff --git a/js/src/3rdparty/shapeshift/rpc.spec.js b/js-old/src/3rdparty/shapeshift/rpc.spec.js similarity index 100% rename from js/src/3rdparty/shapeshift/rpc.spec.js rename to js-old/src/3rdparty/shapeshift/rpc.spec.js diff --git a/js/src/3rdparty/shapeshift/shapeshift.js b/js-old/src/3rdparty/shapeshift/shapeshift.js similarity index 100% rename from js/src/3rdparty/shapeshift/shapeshift.js rename to js-old/src/3rdparty/shapeshift/shapeshift.js diff --git a/js/src/3rdparty/shapeshift/shapeshift.spec.js b/js-old/src/3rdparty/shapeshift/shapeshift.spec.js similarity index 100% rename from js/src/3rdparty/shapeshift/shapeshift.spec.js rename to js-old/src/3rdparty/shapeshift/shapeshift.spec.js diff --git a/js/src/3rdparty/sms-verification/index.js b/js-old/src/3rdparty/sms-verification/index.js similarity index 100% rename from js/src/3rdparty/sms-verification/index.js rename to js-old/src/3rdparty/sms-verification/index.js diff --git a/js/src/3rdparty/sms-verification/terms-of-service.js b/js-old/src/3rdparty/sms-verification/terms-of-service.js similarity index 100% rename from js/src/3rdparty/sms-verification/terms-of-service.js rename to js-old/src/3rdparty/sms-verification/terms-of-service.js diff --git a/js/src/abi/README.md b/js-old/src/abi/README.md similarity index 100% rename from js/src/abi/README.md rename to js-old/src/abi/README.md diff --git a/js/src/abi/abi.js b/js-old/src/abi/abi.js similarity index 100% rename from js/src/abi/abi.js rename to js-old/src/abi/abi.js diff --git a/js/src/abi/decoder/bytesTaken.js b/js-old/src/abi/decoder/bytesTaken.js similarity index 100% rename from js/src/abi/decoder/bytesTaken.js rename to js-old/src/abi/decoder/bytesTaken.js diff --git a/js/src/abi/decoder/bytesTaken.spec.js b/js-old/src/abi/decoder/bytesTaken.spec.js similarity index 100% rename from js/src/abi/decoder/bytesTaken.spec.js rename to js-old/src/abi/decoder/bytesTaken.spec.js diff --git a/js/src/abi/decoder/decodeResult.js b/js-old/src/abi/decoder/decodeResult.js similarity index 100% rename from js/src/abi/decoder/decodeResult.js rename to js-old/src/abi/decoder/decodeResult.js diff --git a/js/src/abi/decoder/decodeResult.spec.js b/js-old/src/abi/decoder/decodeResult.spec.js similarity index 100% rename from js/src/abi/decoder/decodeResult.spec.js rename to js-old/src/abi/decoder/decodeResult.spec.js diff --git a/js/src/abi/decoder/decoder.js b/js-old/src/abi/decoder/decoder.js similarity index 100% rename from js/src/abi/decoder/decoder.js rename to js-old/src/abi/decoder/decoder.js diff --git a/js/src/abi/decoder/decoder.spec.js b/js-old/src/abi/decoder/decoder.spec.js similarity index 100% rename from js/src/abi/decoder/decoder.spec.js rename to js-old/src/abi/decoder/decoder.spec.js diff --git a/js/src/abi/decoder/index.js b/js-old/src/abi/decoder/index.js similarity index 100% rename from js/src/abi/decoder/index.js rename to js-old/src/abi/decoder/index.js diff --git a/js/src/abi/encoder/encoder.js b/js-old/src/abi/encoder/encoder.js similarity index 100% rename from js/src/abi/encoder/encoder.js rename to js-old/src/abi/encoder/encoder.js diff --git a/js/src/abi/encoder/encoder.spec.js b/js-old/src/abi/encoder/encoder.spec.js similarity index 100% rename from js/src/abi/encoder/encoder.spec.js rename to js-old/src/abi/encoder/encoder.spec.js diff --git a/js/src/abi/encoder/index.js b/js-old/src/abi/encoder/index.js similarity index 100% rename from js/src/abi/encoder/index.js rename to js-old/src/abi/encoder/index.js diff --git a/js/src/abi/encoder/mediate.js b/js-old/src/abi/encoder/mediate.js similarity index 100% rename from js/src/abi/encoder/mediate.js rename to js-old/src/abi/encoder/mediate.js diff --git a/js/src/abi/encoder/mediate.spec.js b/js-old/src/abi/encoder/mediate.spec.js similarity index 100% rename from js/src/abi/encoder/mediate.spec.js rename to js-old/src/abi/encoder/mediate.spec.js diff --git a/js/src/abi/index.js b/js-old/src/abi/index.js similarity index 100% rename from js/src/abi/index.js rename to js-old/src/abi/index.js diff --git a/js/src/abi/spec/constructor.js b/js-old/src/abi/spec/constructor.js similarity index 100% rename from js/src/abi/spec/constructor.js rename to js-old/src/abi/spec/constructor.js diff --git a/js/src/abi/spec/constructor.spec.js b/js-old/src/abi/spec/constructor.spec.js similarity index 100% rename from js/src/abi/spec/constructor.spec.js rename to js-old/src/abi/spec/constructor.spec.js diff --git a/js/src/abi/spec/event/decodedLog.js b/js-old/src/abi/spec/event/decodedLog.js similarity index 100% rename from js/src/abi/spec/event/decodedLog.js rename to js-old/src/abi/spec/event/decodedLog.js diff --git a/js/src/abi/spec/event/decodedLog.spec.js b/js-old/src/abi/spec/event/decodedLog.spec.js similarity index 100% rename from js/src/abi/spec/event/decodedLog.spec.js rename to js-old/src/abi/spec/event/decodedLog.spec.js diff --git a/js/src/abi/spec/event/decodedLogParam.js b/js-old/src/abi/spec/event/decodedLogParam.js similarity index 100% rename from js/src/abi/spec/event/decodedLogParam.js rename to js-old/src/abi/spec/event/decodedLogParam.js diff --git a/js/src/abi/spec/event/decodedLogParam.spec.js b/js-old/src/abi/spec/event/decodedLogParam.spec.js similarity index 100% rename from js/src/abi/spec/event/decodedLogParam.spec.js rename to js-old/src/abi/spec/event/decodedLogParam.spec.js diff --git a/js/src/abi/spec/event/event.js b/js-old/src/abi/spec/event/event.js similarity index 100% rename from js/src/abi/spec/event/event.js rename to js-old/src/abi/spec/event/event.js diff --git a/js/src/abi/spec/event/event.spec.js b/js-old/src/abi/spec/event/event.spec.js similarity index 100% rename from js/src/abi/spec/event/event.spec.js rename to js-old/src/abi/spec/event/event.spec.js diff --git a/js/src/abi/spec/event/eventParam.js b/js-old/src/abi/spec/event/eventParam.js similarity index 100% rename from js/src/abi/spec/event/eventParam.js rename to js-old/src/abi/spec/event/eventParam.js diff --git a/js/src/abi/spec/event/eventParam.spec.js b/js-old/src/abi/spec/event/eventParam.spec.js similarity index 100% rename from js/src/abi/spec/event/eventParam.spec.js rename to js-old/src/abi/spec/event/eventParam.spec.js diff --git a/js/src/abi/spec/event/index.js b/js-old/src/abi/spec/event/index.js similarity index 100% rename from js/src/abi/spec/event/index.js rename to js-old/src/abi/spec/event/index.js diff --git a/js/src/abi/spec/function.js b/js-old/src/abi/spec/function.js similarity index 100% rename from js/src/abi/spec/function.js rename to js-old/src/abi/spec/function.js diff --git a/js/src/abi/spec/function.spec.js b/js-old/src/abi/spec/function.spec.js similarity index 100% rename from js/src/abi/spec/function.spec.js rename to js-old/src/abi/spec/function.spec.js diff --git a/js/src/abi/spec/index.js b/js-old/src/abi/spec/index.js similarity index 100% rename from js/src/abi/spec/index.js rename to js-old/src/abi/spec/index.js diff --git a/js/src/abi/spec/interface.js b/js-old/src/abi/spec/interface.js similarity index 100% rename from js/src/abi/spec/interface.js rename to js-old/src/abi/spec/interface.js diff --git a/js/src/abi/spec/interface.spec.js b/js-old/src/abi/spec/interface.spec.js similarity index 100% rename from js/src/abi/spec/interface.spec.js rename to js-old/src/abi/spec/interface.spec.js diff --git a/js/src/abi/spec/param.js b/js-old/src/abi/spec/param.js similarity index 100% rename from js/src/abi/spec/param.js rename to js-old/src/abi/spec/param.js diff --git a/js/src/abi/spec/param.spec.js b/js-old/src/abi/spec/param.spec.js similarity index 100% rename from js/src/abi/spec/param.spec.js rename to js-old/src/abi/spec/param.spec.js diff --git a/js/src/abi/spec/paramType/format.js b/js-old/src/abi/spec/paramType/format.js similarity index 100% rename from js/src/abi/spec/paramType/format.js rename to js-old/src/abi/spec/paramType/format.js diff --git a/js/src/abi/spec/paramType/format.spec.js b/js-old/src/abi/spec/paramType/format.spec.js similarity index 100% rename from js/src/abi/spec/paramType/format.spec.js rename to js-old/src/abi/spec/paramType/format.spec.js diff --git a/js/src/abi/spec/paramType/index.js b/js-old/src/abi/spec/paramType/index.js similarity index 100% rename from js/src/abi/spec/paramType/index.js rename to js-old/src/abi/spec/paramType/index.js diff --git a/js/src/abi/spec/paramType/paramType.js b/js-old/src/abi/spec/paramType/paramType.js similarity index 100% rename from js/src/abi/spec/paramType/paramType.js rename to js-old/src/abi/spec/paramType/paramType.js diff --git a/js/src/abi/spec/paramType/paramType.spec.js b/js-old/src/abi/spec/paramType/paramType.spec.js similarity index 100% rename from js/src/abi/spec/paramType/paramType.spec.js rename to js-old/src/abi/spec/paramType/paramType.spec.js diff --git a/js/src/abi/spec/paramType/types.js b/js-old/src/abi/spec/paramType/types.js similarity index 100% rename from js/src/abi/spec/paramType/types.js rename to js-old/src/abi/spec/paramType/types.js diff --git a/js/src/abi/token/index.js b/js-old/src/abi/token/index.js similarity index 100% rename from js/src/abi/token/index.js rename to js-old/src/abi/token/index.js diff --git a/js/src/abi/token/token.js b/js-old/src/abi/token/token.js similarity index 100% rename from js/src/abi/token/token.js rename to js-old/src/abi/token/token.js diff --git a/js/src/abi/token/token.spec.js b/js-old/src/abi/token/token.spec.js similarity index 100% rename from js/src/abi/token/token.spec.js rename to js-old/src/abi/token/token.spec.js diff --git a/js/src/abi/util/address.js b/js-old/src/abi/util/address.js similarity index 100% rename from js/src/abi/util/address.js rename to js-old/src/abi/util/address.js diff --git a/js/src/abi/util/address.spec.js b/js-old/src/abi/util/address.spec.js similarity index 100% rename from js/src/abi/util/address.spec.js rename to js-old/src/abi/util/address.spec.js diff --git a/js/src/abi/util/pad.js b/js-old/src/abi/util/pad.js similarity index 100% rename from js/src/abi/util/pad.js rename to js-old/src/abi/util/pad.js diff --git a/js/src/abi/util/pad.spec.js b/js-old/src/abi/util/pad.spec.js similarity index 100% rename from js/src/abi/util/pad.spec.js rename to js-old/src/abi/util/pad.spec.js diff --git a/js/src/abi/util/signature.js b/js-old/src/abi/util/signature.js similarity index 100% rename from js/src/abi/util/signature.js rename to js-old/src/abi/util/signature.js diff --git a/js/src/abi/util/signature.spec.js b/js-old/src/abi/util/signature.spec.js similarity index 100% rename from js/src/abi/util/signature.spec.js rename to js-old/src/abi/util/signature.spec.js diff --git a/js/src/abi/util/slice.js b/js-old/src/abi/util/slice.js similarity index 100% rename from js/src/abi/util/slice.js rename to js-old/src/abi/util/slice.js diff --git a/js/src/abi/util/slice.spec.js b/js-old/src/abi/util/slice.spec.js similarity index 100% rename from js/src/abi/util/slice.spec.js rename to js-old/src/abi/util/slice.spec.js diff --git a/js/src/abi/util/sliceAs.js b/js-old/src/abi/util/sliceAs.js similarity index 100% rename from js/src/abi/util/sliceAs.js rename to js-old/src/abi/util/sliceAs.js diff --git a/js/src/abi/util/sliceAs.spec.js b/js-old/src/abi/util/sliceAs.spec.js similarity index 100% rename from js/src/abi/util/sliceAs.spec.js rename to js-old/src/abi/util/sliceAs.spec.js diff --git a/js/src/abi/util/types.js b/js-old/src/abi/util/types.js similarity index 100% rename from js/src/abi/util/types.js rename to js-old/src/abi/util/types.js diff --git a/js/src/abi/util/types.spec.js b/js-old/src/abi/util/types.spec.js similarity index 100% rename from js/src/abi/util/types.spec.js rename to js-old/src/abi/util/types.spec.js diff --git a/js/src/api/README.md b/js-old/src/api/README.md similarity index 100% rename from js/src/api/README.md rename to js-old/src/api/README.md diff --git a/js/src/api/api.js b/js-old/src/api/api.js similarity index 98% rename from js/src/api/api.js rename to js-old/src/api/api.js index 5ba401c33621b5a4e0177259664c408557d22187..220c3be294158d1ba2fcd93c60ab1382a1cece02 100644 --- a/js/src/api/api.js +++ b/js-old/src/api/api.js @@ -47,6 +47,13 @@ export default class Api extends EventEmitter { this._trace = new Trace(transport); this._web3 = new Web3(transport); + if (isFunction(transport.subscribe)) { + this._pubsub = new Pubsub(transport); + } + + if (allowSubscriptions) { + this._subscriptions = new Subscriptions(this); + } // Doing a request here in test env would cause an error if (LocalAccountsMiddleware && process.env.NODE_ENV !== 'test') { const middleware = this.parity @@ -62,25 +69,12 @@ export default class Api extends EventEmitter { transport.addMiddleware(middleware); } - - if (isFunction(transport.subscribe)) { - this._pubsub = new Pubsub(transport); - } - - if (allowSubscriptions) { - this._subscriptions = new Subscriptions(this); - } - } - - get isPubSub () { - return !!this._pubsub; } get pubsub () { - if (!this.isPubSub) { + if (!this._pubsub) { throw Error('Pubsub is only available with a subscribing-supported transport injected!'); } - return this._pubsub; } diff --git a/js/src/api/api.spec.js b/js-old/src/api/api.spec.js similarity index 100% rename from js/src/api/api.spec.js rename to js-old/src/api/api.spec.js diff --git a/js/src/api/contract/contract.js b/js-old/src/api/contract/contract.js similarity index 98% rename from js/src/api/contract/contract.js rename to js-old/src/api/contract/contract.js index b16b92ae6d435a5550de1cb9bb008f25f99a2b51..dee4d6d777b6405ead63261d3db8a24bf8368c14 100644 --- a/js/src/api/contract/contract.js +++ b/js-old/src/api/contract/contract.js @@ -134,10 +134,8 @@ export default class Contract { return this._api.parity .postTransaction(encodedOptions) .then((requestId) => { - if (requestId.length !== 66) { - statecb(null, { state: 'checkRequest', requestId }); - return this._pollCheckRequest(requestId); - } else { return requestId; } + statecb(null, { state: 'checkRequest', requestId }); + return this._pollCheckRequest(requestId); }) .then((txhash) => { statecb(null, { state: 'getTransactionReceipt', txhash }); diff --git a/js/src/api/contract/contract.spec.js b/js-old/src/api/contract/contract.spec.js similarity index 100% rename from js/src/api/contract/contract.spec.js rename to js-old/src/api/contract/contract.spec.js diff --git a/js/src/api/contract/index.js b/js-old/src/api/contract/index.js similarity index 100% rename from js/src/api/contract/index.js rename to js-old/src/api/contract/index.js diff --git a/js/src/api/format/input.js b/js-old/src/api/format/input.js similarity index 100% rename from js/src/api/format/input.js rename to js-old/src/api/format/input.js diff --git a/js/src/api/format/input.spec.js b/js-old/src/api/format/input.spec.js similarity index 100% rename from js/src/api/format/input.spec.js rename to js-old/src/api/format/input.spec.js diff --git a/js/src/api/format/output.js b/js-old/src/api/format/output.js similarity index 100% rename from js/src/api/format/output.js rename to js-old/src/api/format/output.js diff --git a/js/src/api/format/output.spec.js b/js-old/src/api/format/output.spec.js similarity index 100% rename from js/src/api/format/output.spec.js rename to js-old/src/api/format/output.spec.js diff --git a/js/src/api/index.js b/js-old/src/api/index.js similarity index 100% rename from js/src/api/index.js rename to js-old/src/api/index.js diff --git a/js/src/api/local/accounts/account.js b/js-old/src/api/local/accounts/account.js similarity index 100% rename from js/src/api/local/accounts/account.js rename to js-old/src/api/local/accounts/account.js diff --git a/js/src/api/local/accounts/accounts.js b/js-old/src/api/local/accounts/accounts.js similarity index 96% rename from js/src/api/local/accounts/accounts.js rename to js-old/src/api/local/accounts/accounts.js index ec117e25d9134a19f8a0ce000ffe1e34c0e97749..d11ea2badb65c571dea36bb45bda8b4196b5c787 100644 --- a/js/src/api/local/accounts/accounts.js +++ b/js-old/src/api/local/accounts/accounts.js @@ -18,12 +18,11 @@ import Account from './account'; import localStore from 'store'; import { debounce } from 'lodash'; import { decryptPrivateKey } from '../ethkey'; -import EventEmitter from 'eventemitter3'; const NULL_ADDRESS = '0x0000000000000000000000000000000000000000'; const LS_STORE_KEY = '_parity::localAccounts'; -export default class Accounts extends EventEmitter { +export default class Accounts { persist = debounce(() => { this._lastState = JSON.stringify(this); @@ -31,8 +30,6 @@ export default class Accounts extends EventEmitter { }, 100); constructor (data = localStore.get(LS_STORE_KEY) || {}) { - super(); - this._lastState = JSON.stringify(data); window.addEventListener('storage', ({ key, newValue }) => { @@ -133,8 +130,6 @@ export default class Accounts extends EventEmitter { set dappsDefaultAddress (value) { this._dappsDefaultAddress = value.toLowerCase(); - this.emit('dappsDefaultAddressChange', this._dappsDefaultAddress); - this.persist(); } diff --git a/js/src/api/local/accounts/index.js b/js-old/src/api/local/accounts/index.js similarity index 100% rename from js/src/api/local/accounts/index.js rename to js-old/src/api/local/accounts/index.js diff --git a/js/src/api/local/ethkey/ethkey.js b/js-old/src/api/local/ethkey/ethkey.js similarity index 100% rename from js/src/api/local/ethkey/ethkey.js rename to js-old/src/api/local/ethkey/ethkey.js diff --git a/js/src/api/local/ethkey/ethkey.wasm.js b/js-old/src/api/local/ethkey/ethkey.wasm.js similarity index 100% rename from js/src/api/local/ethkey/ethkey.wasm.js rename to js-old/src/api/local/ethkey/ethkey.wasm.js diff --git a/js/src/api/local/ethkey/index.js b/js-old/src/api/local/ethkey/index.js similarity index 100% rename from js/src/api/local/ethkey/index.js rename to js-old/src/api/local/ethkey/index.js diff --git a/js/src/api/local/ethkey/index.spec.js b/js-old/src/api/local/ethkey/index.spec.js similarity index 100% rename from js/src/api/local/ethkey/index.spec.js rename to js-old/src/api/local/ethkey/index.spec.js diff --git a/js/src/api/local/ethkey/worker.js b/js-old/src/api/local/ethkey/worker.js similarity index 100% rename from js/src/api/local/ethkey/worker.js rename to js-old/src/api/local/ethkey/worker.js diff --git a/js/src/api/local/ethkey/workerPool.js b/js-old/src/api/local/ethkey/workerPool.js similarity index 100% rename from js/src/api/local/ethkey/workerPool.js rename to js-old/src/api/local/ethkey/workerPool.js diff --git a/js/src/api/local/index.js b/js-old/src/api/local/index.js similarity index 100% rename from js/src/api/local/index.js rename to js-old/src/api/local/index.js diff --git a/js/src/api/local/localAccountsMiddleware.js b/js-old/src/api/local/localAccountsMiddleware.js similarity index 90% rename from js/src/api/local/localAccountsMiddleware.js rename to js-old/src/api/local/localAccountsMiddleware.js index bc18f21b1b7025577ef384be2a7c3926168ebf75..c452f541afa5fcb332ccb1b465b4ec86908b83f5 100644 --- a/js/src/api/local/localAccountsMiddleware.js +++ b/js-old/src/api/local/localAccountsMiddleware.js @@ -26,9 +26,7 @@ export default class LocalAccountsMiddleware extends Middleware { constructor (transport) { super(transport); - const NOOP = () => {}; const register = this.register.bind(this); - const registerSubscribe = this.registerSubscribe.bind(this); register('eth_accounts', () => { return accounts.accountAddresses(); @@ -78,14 +76,6 @@ export default class LocalAccountsMiddleware extends Middleware { return accounts.dappsDefaultAddress; }); - registerSubscribe('parity_defaultAccount', (_, callback) => { - callback(null, accounts.dappsDefaultAddress); - - accounts.on('dappsDefaultAddressChange', (address) => { - callback(null, accounts.dappsDefaultAddress); - }); - }); - register('parity_exportAccount', ([address, password]) => { const account = accounts.get(address); @@ -119,8 +109,6 @@ export default class LocalAccountsMiddleware extends Middleware { return {}; }); - registerSubscribe('parity_hardwareAccountsInfo', NOOP); - register('parity_newAccountFromPhrase', ([phrase, password]) => { return phraseToWallet(phrase) .then((wallet) => { @@ -200,8 +188,14 @@ export default class LocalAccountsMiddleware extends Middleware { return []; }); - register('parity_lockedHardwareAccountsInfo', () => { - return []; + register('parity_wsUrl', () => { + // This is a hack, will be replaced by a `hostname` setting on the node itself + return `${window.location.hostname}:8546`; + }); + + register('parity_dappsUrl', () => { + // This is a hack, will be replaced by a `hostname` setting on the node itself + return `${window.location.hostname}:8545`; }); register('parity_hashContent', () => { @@ -290,15 +284,5 @@ export default class LocalAccountsMiddleware extends Middleware { register('signer_requestsToConfirm', () => { return transactions.requestsToConfirm(); }); - - registerSubscribe('signer_subscribePending', (_, callback) => { - callback(null, transactions.requestsToConfirm()); - - transactions.on('update', () => { - callback(null, transactions.requestsToConfirm()); - }); - - return false; - }); } } diff --git a/js/src/api/local/localAccountsMiddleware.spec.js b/js-old/src/api/local/localAccountsMiddleware.spec.js similarity index 100% rename from js/src/api/local/localAccountsMiddleware.spec.js rename to js-old/src/api/local/localAccountsMiddleware.spec.js diff --git a/js/src/api/local/transactions.js b/js-old/src/api/local/transactions.js similarity index 93% rename from js/src/api/local/transactions.js rename to js-old/src/api/local/transactions.js index 44cf61f69f4b3e01a7668f4ba6799f51ac4bfa8d..421e730123d9eadb6ecd3d0140a1bc53d1d4e986 100644 --- a/js/src/api/local/transactions.js +++ b/js-old/src/api/local/transactions.js @@ -16,17 +16,14 @@ import { toHex } from '../util/format'; import { TransportError } from '../transport'; -import EventEmitter from 'eventemitter3'; const AWAITING = Symbol('awaiting'); const LOCKED = Symbol('locked'); const CONFIRMED = Symbol('confirmed'); const REJECTED = Symbol('rejected'); -class Transactions extends EventEmitter { +class Transactions { constructor () { - super(); - this.reset(); } @@ -48,8 +45,6 @@ class Transactions extends EventEmitter { transaction: tx }; - this.emit('update'); - return id; } @@ -71,8 +66,6 @@ class Transactions extends EventEmitter { } state.status = LOCKED; - - this.emit('update'); } unlock (id) { @@ -83,8 +76,6 @@ class Transactions extends EventEmitter { } state.status = AWAITING; - - this.emit('update'); } hash (id) { @@ -116,8 +107,6 @@ class Transactions extends EventEmitter { state.hash = hash; state.status = CONFIRMED; - - this.emit('update'); } reject (id) { @@ -129,8 +118,6 @@ class Transactions extends EventEmitter { state.status = REJECTED; - this.emit('update'); - return true; } diff --git a/js/src/api/local/transactions.spec.js b/js-old/src/api/local/transactions.spec.js similarity index 100% rename from js/src/api/local/transactions.spec.js rename to js-old/src/api/local/transactions.spec.js diff --git a/js/src/api/pubsub/eth/eth.js b/js-old/src/api/pubsub/eth/eth.js similarity index 99% rename from js/src/api/pubsub/eth/eth.js rename to js-old/src/api/pubsub/eth/eth.js index 044473ec6313f0b25f09e6801c19bf98886b5359..0bbc85bec395f0fb955c3f9da8ba56dba4676edd 100644 --- a/js/src/api/pubsub/eth/eth.js +++ b/js-old/src/api/pubsub/eth/eth.js @@ -25,7 +25,7 @@ export default class Eth extends PubsubBase { } newHeads (callback) { - return this.addListener('eth', 'newHeads', callback, null); + return this.addListener('eth', 'newHeads', callback); } logs (callback) { diff --git a/js/src/api/pubsub/eth/index.js b/js-old/src/api/pubsub/eth/index.js similarity index 100% rename from js/src/api/pubsub/eth/index.js rename to js-old/src/api/pubsub/eth/index.js diff --git a/js/src/api/pubsub/index.js b/js-old/src/api/pubsub/index.js similarity index 100% rename from js/src/api/pubsub/index.js rename to js-old/src/api/pubsub/index.js diff --git a/js/src/api/pubsub/net/index.js b/js-old/src/api/pubsub/net/index.js similarity index 100% rename from js/src/api/pubsub/net/index.js rename to js-old/src/api/pubsub/net/index.js diff --git a/js/src/api/pubsub/net/net.js b/js-old/src/api/pubsub/net/net.js similarity index 100% rename from js/src/api/pubsub/net/net.js rename to js-old/src/api/pubsub/net/net.js diff --git a/js/src/api/pubsub/parity/index.js b/js-old/src/api/pubsub/parity/index.js similarity index 100% rename from js/src/api/pubsub/parity/index.js rename to js-old/src/api/pubsub/parity/index.js diff --git a/js/src/api/pubsub/parity/parity.js b/js-old/src/api/pubsub/parity/parity.js similarity index 89% rename from js/src/api/pubsub/parity/parity.js rename to js-old/src/api/pubsub/parity/parity.js index 042d8dc8b489ae8f503e68a6b01e2f703a915fb1..6df4a9204769d274b551d987c4957f38bbeefcb0 100644 --- a/js/src/api/pubsub/parity/parity.js +++ b/js-old/src/api/pubsub/parity/parity.js @@ -267,7 +267,7 @@ export default class Parity extends PubsubBase { // parity accounts API (only secure API or configured to be exposed) allAccountsInfo (callback) { - return this.addListener(this._api, 'parity_allAccountsInfo', (error, data) => { + return this._addListener(this._api, 'parity_allAccountsInfo', (error, data) => { error ? callback(error) : callback(null, outAccountInfo(data)); @@ -275,7 +275,7 @@ export default class Parity extends PubsubBase { } getDappAddresses (callback, dappId) { - return this.addListener(this._api, 'parity_getDappAddresses', (error, data) => { + return this._addListener(this._api, 'parity_getDappAddresses', (error, data) => { error ? callback(error) : callback(null, outAddresses(data)); @@ -283,7 +283,7 @@ export default class Parity extends PubsubBase { } getDappDefaultAddress (callback, dappId) { - return this.addListener(this._api, 'parity_getDappDefaultAddress', (error, data) => { + return this._addListener(this._api, 'parity_getDappDefaultAddress', (error, data) => { error ? callback(error) : callback(null, outAddress(data)); @@ -291,7 +291,7 @@ export default class Parity extends PubsubBase { } getNewDappsAddresses (callback) { - return this.addListener(this._api, 'parity_getDappDefaultAddress', (error, addresses) => { + return this._addListener(this._api, 'parity_getDappDefaultAddress', (error, addresses) => { error ? callback(error) : callback(null, addresses ? addresses.map(outAddress) : null); @@ -299,7 +299,7 @@ export default class Parity extends PubsubBase { } getNewDappsDefaultAddress (callback) { - return this.addListener(this._api, 'parity_getNewDappsDefaultAddress', (error, data) => { + return this._addListener(this._api, 'parity_getNewDappsDefaultAddress', (error, data) => { error ? callback(error) : callback(null, outAddress(data)); @@ -307,7 +307,7 @@ export default class Parity extends PubsubBase { } listRecentDapps (callback) { - return this.addListener(this._api, 'parity_listRecentDapps', (error, data) => { + return this._addListener(this._api, 'parity_listRecentDapps', (error, data) => { error ? callback(error) : callback(null, outRecentDapps(data)); @@ -315,7 +315,7 @@ export default class Parity extends PubsubBase { } listGethAccounts (callback) { - return this.addListener(this._api, 'parity_listGethAccounts', (error, data) => { + return this._addListener(this._api, 'parity_listGethAccounts', (error, data) => { error ? callback(error) : callback(null, outAddresses(data)); @@ -323,15 +323,15 @@ export default class Parity extends PubsubBase { } listVaults (callback) { - return this.addListener(this._api, 'parity_listVaults', callback); + return this._addListener(this._api, 'parity_listVaults', callback); } listOpenedVaults (callback) { - return this.addListener(this._api, 'parity_listOpenedVaults', callback); + return this._addListener(this._api, 'parity_listOpenedVaults', callback); } getVaultMeta (callback, vaultName) { - return this.addListener(this._api, 'parity_getVaultMeta', (error, data) => { + return this._addListener(this._api, 'parity_getVaultMeta', (error, data) => { error ? callback(error) : callback(null, outVaultMeta(data)); @@ -339,7 +339,7 @@ export default class Parity extends PubsubBase { } deriveAddressHash (callback, address, password, hash, shouldSave) { - return this.addListener(this._api, 'parity_deriveAddressHash', (error, data) => { + return this._addListener(this._api, 'parity_deriveAddressHash', (error, data) => { error ? callback(error) : callback(null, outAddress(data)); @@ -347,18 +347,10 @@ export default class Parity extends PubsubBase { } deriveAddressIndex (callback, address, password, index, shouldSave) { - return this.addListener(this._api, 'parity_deriveAddressIndex', (error, data) => { + return this._addListener(this._api, 'parity_deriveAddressIndex', (error, data) => { error ? callback(error) : callback(null, outAddress(data)); }, [inAddress(address), password, inDeriveIndex(index), !!shouldSave]); } - - nodeHealth (callback) { - return this.addListener(this._api, 'parity_nodeHealth', (error, data) => { - error - ? callback(error) - : callback(null, data); - }); - } } diff --git a/js/src/api/pubsub/pubsub.js b/js-old/src/api/pubsub/pubsub.js similarity index 69% rename from js/src/api/pubsub/pubsub.js rename to js-old/src/api/pubsub/pubsub.js index 4420967ee7590fb3ec333007e1761b39b9313620..edbc201ae5c3ca1e766349b449a4256dcba1d2d7 100644 --- a/js/src/api/pubsub/pubsub.js +++ b/js-old/src/api/pubsub/pubsub.js @@ -16,7 +16,6 @@ import Eth from './eth'; import Parity from './parity'; -import Signer from './signer'; import Net from './net'; import { isFunction } from '../util/types'; @@ -30,7 +29,6 @@ export default class Pubsub { this._eth = new Eth(transport); this._net = new Net(transport); this._parity = new Parity(transport); - this._signer = new Signer(transport); } get net () { @@ -45,35 +43,8 @@ export default class Pubsub { return this._parity; } - get signer () { - return this._signer; - } - unsubscribe (subscriptionIds) { // subscriptions are namespace independent. Thus we can simply removeListener from any. return this._parity.removeListener(subscriptionIds); } - - subscribeAndGetResult (f, callback) { - return new Promise((resolve, reject) => { - let isFirst = true; - let onSubscription = (error, data) => { - const p1 = error ? Promise.reject(error) : Promise.resolve(data); - const p2 = p1.then(callback); - - if (isFirst) { - isFirst = false; - p2 - .then(resolve) - .catch(reject); - } - }; - - try { - f.call(this, onSubscription).catch(reject); - } catch (err) { - reject(err); - } - }); - } } diff --git a/js/src/api/pubsub/pubsub.spec.js b/js-old/src/api/pubsub/pubsub.spec.js similarity index 100% rename from js/src/api/pubsub/pubsub.spec.js rename to js-old/src/api/pubsub/pubsub.spec.js diff --git a/js/src/api/pubsub/pubsubBase.js b/js-old/src/api/pubsub/pubsubBase.js similarity index 72% rename from js/src/api/pubsub/pubsubBase.js rename to js-old/src/api/pubsub/pubsubBase.js index c50f45775a43b87e6518f5d106387b39894306c9..fcc7525d5b8d5451c797319bc823b1671ff6cd5f 100644 --- a/js/src/api/pubsub/pubsubBase.js +++ b/js-old/src/api/pubsub/pubsubBase.js @@ -20,12 +20,11 @@ export default class PubsubBase { this._transport = transport; } - addListener (module, eventName, callback, eventParams = []) { - if (eventName) { - return this._transport.subscribe(module, callback, eventParams ? [eventName, eventParams] : [eventName]); - } - - return this._transport.subscribe(module, callback, eventParams); + addListener (module, eventName, callback, eventParams) { + return eventParams + ? this._transport.subscribe(module, callback, eventName, eventParams) + : this._transport.subscribe(module, callback, eventName, []); + // this._transport.subscribe(module, callback, eventName); After Patch from tomac is merged to master! => eth_subscribe does not support empty array as params } removeListener (subscriptionIds) { diff --git a/js/src/api/rpc/db/db.js b/js-old/src/api/rpc/db/db.js similarity index 100% rename from js/src/api/rpc/db/db.js rename to js-old/src/api/rpc/db/db.js diff --git a/js/src/api/rpc/db/db.spec.js b/js-old/src/api/rpc/db/db.spec.js similarity index 100% rename from js/src/api/rpc/db/db.spec.js rename to js-old/src/api/rpc/db/db.spec.js diff --git a/js/src/api/rpc/db/index.js b/js-old/src/api/rpc/db/index.js similarity index 100% rename from js/src/api/rpc/db/index.js rename to js-old/src/api/rpc/db/index.js diff --git a/js/src/api/rpc/eth/eth.e2e.js b/js-old/src/api/rpc/eth/eth.e2e.js similarity index 100% rename from js/src/api/rpc/eth/eth.e2e.js rename to js-old/src/api/rpc/eth/eth.e2e.js diff --git a/js/src/api/rpc/eth/eth.js b/js-old/src/api/rpc/eth/eth.js similarity index 100% rename from js/src/api/rpc/eth/eth.js rename to js-old/src/api/rpc/eth/eth.js diff --git a/js/src/api/rpc/eth/eth.spec.js b/js-old/src/api/rpc/eth/eth.spec.js similarity index 100% rename from js/src/api/rpc/eth/eth.spec.js rename to js-old/src/api/rpc/eth/eth.spec.js diff --git a/js/src/api/rpc/eth/index.js b/js-old/src/api/rpc/eth/index.js similarity index 100% rename from js/src/api/rpc/eth/index.js rename to js-old/src/api/rpc/eth/index.js diff --git a/js/src/api/rpc/index.js b/js-old/src/api/rpc/index.js similarity index 100% rename from js/src/api/rpc/index.js rename to js-old/src/api/rpc/index.js diff --git a/js/src/api/rpc/net/index.js b/js-old/src/api/rpc/net/index.js similarity index 100% rename from js/src/api/rpc/net/index.js rename to js-old/src/api/rpc/net/index.js diff --git a/js/src/api/rpc/net/net.e2e.js b/js-old/src/api/rpc/net/net.e2e.js similarity index 100% rename from js/src/api/rpc/net/net.e2e.js rename to js-old/src/api/rpc/net/net.e2e.js diff --git a/js/src/api/rpc/net/net.js b/js-old/src/api/rpc/net/net.js similarity index 100% rename from js/src/api/rpc/net/net.js rename to js-old/src/api/rpc/net/net.js diff --git a/js/src/api/rpc/net/net.spec.js b/js-old/src/api/rpc/net/net.spec.js similarity index 100% rename from js/src/api/rpc/net/net.spec.js rename to js-old/src/api/rpc/net/net.spec.js diff --git a/js/src/api/rpc/parity/index.js b/js-old/src/api/rpc/parity/index.js similarity index 100% rename from js/src/api/rpc/parity/index.js rename to js-old/src/api/rpc/parity/index.js diff --git a/js/src/api/rpc/parity/parity.e2e.js b/js-old/src/api/rpc/parity/parity.e2e.js similarity index 100% rename from js/src/api/rpc/parity/parity.e2e.js rename to js-old/src/api/rpc/parity/parity.e2e.js diff --git a/js/src/api/rpc/parity/parity.js b/js-old/src/api/rpc/parity/parity.js similarity index 96% rename from js/src/api/rpc/parity/parity.js rename to js-old/src/api/rpc/parity/parity.js index d49e75a78d472b1aa88d784e778e5a2a27bf21c6..59ccb58845a68696bfcd8efaf5a860539eba590e 100644 --- a/js/src/api/rpc/parity/parity.js +++ b/js-old/src/api/rpc/parity/parity.js @@ -44,20 +44,6 @@ export default class Parity { .execute('parity_addReservedPeer', enode); } - call (requests, blockNumber = 'latest') { - return this._transport - .execute( - 'parity_call', - requests.map((options) => inOptions(options)), - inBlockNumber(blockNumber) - ); - } - - chainId () { - return this._transport - .execute('parity_chainId'); - } - chainStatus () { return this._transport .execute('parity_chainStatus') @@ -257,16 +243,6 @@ export default class Parity { .then(outHwAccountInfo); } - lockedHardwareAccountsInfo () { - return this._transport - .execute('parity_lockedHardwareAccountsInfo'); - } - - hardwarePinMatrixAck (path, pin) { - return this._transport - .execute('parity_hardwarePinMatrixAck', path, pin); - } - hashContent (url) { return this._transport .execute('parity_hashContent', url); diff --git a/js/src/api/rpc/parity/parity.spec.js b/js-old/src/api/rpc/parity/parity.spec.js similarity index 100% rename from js/src/api/rpc/parity/parity.spec.js rename to js-old/src/api/rpc/parity/parity.spec.js diff --git a/js/src/api/rpc/personal/index.js b/js-old/src/api/rpc/personal/index.js similarity index 100% rename from js/src/api/rpc/personal/index.js rename to js-old/src/api/rpc/personal/index.js diff --git a/js/src/api/rpc/personal/personal.e2e.js b/js-old/src/api/rpc/personal/personal.e2e.js similarity index 100% rename from js/src/api/rpc/personal/personal.e2e.js rename to js-old/src/api/rpc/personal/personal.e2e.js diff --git a/js/src/api/rpc/personal/personal.js b/js-old/src/api/rpc/personal/personal.js similarity index 100% rename from js/src/api/rpc/personal/personal.js rename to js-old/src/api/rpc/personal/personal.js diff --git a/js/src/api/rpc/personal/personal.spec.js b/js-old/src/api/rpc/personal/personal.spec.js similarity index 100% rename from js/src/api/rpc/personal/personal.spec.js rename to js-old/src/api/rpc/personal/personal.spec.js diff --git a/js/src/api/rpc/shh/index.js b/js-old/src/api/rpc/shh/index.js similarity index 100% rename from js/src/api/rpc/shh/index.js rename to js-old/src/api/rpc/shh/index.js diff --git a/js/src/api/rpc/shh/shh.js b/js-old/src/api/rpc/shh/shh.js similarity index 100% rename from js/src/api/rpc/shh/shh.js rename to js-old/src/api/rpc/shh/shh.js diff --git a/js/src/api/rpc/signer/index.js b/js-old/src/api/rpc/signer/index.js similarity index 100% rename from js/src/api/rpc/signer/index.js rename to js-old/src/api/rpc/signer/index.js diff --git a/js/src/api/rpc/signer/signer.js b/js-old/src/api/rpc/signer/signer.js similarity index 100% rename from js/src/api/rpc/signer/signer.js rename to js-old/src/api/rpc/signer/signer.js diff --git a/js/src/api/rpc/trace/index.js b/js-old/src/api/rpc/trace/index.js similarity index 100% rename from js/src/api/rpc/trace/index.js rename to js-old/src/api/rpc/trace/index.js diff --git a/js/src/api/rpc/trace/trace.e2e.js b/js-old/src/api/rpc/trace/trace.e2e.js similarity index 100% rename from js/src/api/rpc/trace/trace.e2e.js rename to js-old/src/api/rpc/trace/trace.e2e.js diff --git a/js/src/api/rpc/trace/trace.js b/js-old/src/api/rpc/trace/trace.js similarity index 100% rename from js/src/api/rpc/trace/trace.js rename to js-old/src/api/rpc/trace/trace.js diff --git a/js/src/api/rpc/trace/trace.spec.js b/js-old/src/api/rpc/trace/trace.spec.js similarity index 100% rename from js/src/api/rpc/trace/trace.spec.js rename to js-old/src/api/rpc/trace/trace.spec.js diff --git a/js/src/api/rpc/web3/index.js b/js-old/src/api/rpc/web3/index.js similarity index 100% rename from js/src/api/rpc/web3/index.js rename to js-old/src/api/rpc/web3/index.js diff --git a/js/src/api/rpc/web3/web3.e2e.js b/js-old/src/api/rpc/web3/web3.e2e.js similarity index 100% rename from js/src/api/rpc/web3/web3.e2e.js rename to js-old/src/api/rpc/web3/web3.e2e.js diff --git a/js/src/api/rpc/web3/web3.js b/js-old/src/api/rpc/web3/web3.js similarity index 100% rename from js/src/api/rpc/web3/web3.js rename to js-old/src/api/rpc/web3/web3.js diff --git a/js/src/api/rpc/web3/web3.spec.js b/js-old/src/api/rpc/web3/web3.spec.js similarity index 100% rename from js/src/api/rpc/web3/web3.spec.js rename to js-old/src/api/rpc/web3/web3.spec.js diff --git a/js/src/api/subscriptions/eth.js b/js-old/src/api/subscriptions/eth.js similarity index 51% rename from js/src/api/subscriptions/eth.js rename to js-old/src/api/subscriptions/eth.js index bbab9567248f6aac608152ae5f2afc96cbb8eff8..8e56f335f7e527a90107efb0efff6ba0a26440ec 100644 --- a/js/src/api/subscriptions/eth.js +++ b/js-old/src/api/subscriptions/eth.js @@ -24,13 +24,6 @@ export default class Eth { this._lastBlock = new BigNumber(-1); this._pollTimerId = null; - - // Try to restart subscription if transport is closed - this._api.transport.on('close', () => { - if (this.isStarted) { - this.start(); - } - }); } get isStarted () { @@ -40,56 +33,31 @@ export default class Eth { start () { this._started = true; - if (this._api.isPubSub) { - return Promise.all([ - this._pollBlockNumber(false), - this._api.pubsub - .subscribeAndGetResult( - callback => this._api.pubsub.eth.newHeads(callback), - () => { - return this._api.eth - .blockNumber() - .then(blockNumber => { - this.updateBlock(blockNumber); - return blockNumber; - }); - } - ) - ]); - } - - // fallback to polling - return this._pollBlockNumber(true); + return this._blockNumber(); } - _pollBlockNumber = (doTimeout) => { - const nextTimeout = (timeout = 1000, forceTimeout = doTimeout) => { - if (forceTimeout) { - this._pollTimerId = setTimeout(() => { - this._pollBlockNumber(doTimeout); - }, timeout); - } + _blockNumber = () => { + const nextTimeout = (timeout = 1000) => { + this._pollTimerId = setTimeout(() => { + this._blockNumber(); + }, timeout); }; if (!this._api.transport.isConnected) { - nextTimeout(500, true); + nextTimeout(500); return; } return this._api.eth .blockNumber() .then((blockNumber) => { - this.updateBlock(blockNumber); + if (!blockNumber.eq(this._lastBlock)) { + this._lastBlock = blockNumber; + this._updateSubscriptions('eth_blockNumber', null, blockNumber); + } nextTimeout(); }) .catch(() => nextTimeout()); } - - updateBlock (blockNumber) { - if (!blockNumber.eq(this._lastBlock)) { - this._lastBlock = blockNumber; - this._updateSubscriptions('eth_blockNumber', null, blockNumber); - } - } } diff --git a/js/src/api/subscriptions/eth.spec.js b/js-old/src/api/subscriptions/eth.spec.js similarity index 98% rename from js/src/api/subscriptions/eth.spec.js rename to js-old/src/api/subscriptions/eth.spec.js index 2893a14dcdc1e3f7573daf5b90feec0ab6deccf3..3f5ee81d66f8a4c51ea67adbf94fd405cf792998 100644 --- a/js/src/api/subscriptions/eth.spec.js +++ b/js-old/src/api/subscriptions/eth.spec.js @@ -29,8 +29,7 @@ function stubApi (blockNumber) { return { _calls, transport: { - isConnected: true, - on: () => {} + isConnected: true }, eth: { blockNumber: () => { diff --git a/js/src/api/subscriptions/index.js b/js-old/src/api/subscriptions/index.js similarity index 100% rename from js/src/api/subscriptions/index.js rename to js-old/src/api/subscriptions/index.js diff --git a/js/src/api/subscriptions/logging.js b/js-old/src/api/subscriptions/logging.js similarity index 100% rename from js/src/api/subscriptions/logging.js rename to js-old/src/api/subscriptions/logging.js diff --git a/js/src/api/subscriptions/logging.spec.js b/js-old/src/api/subscriptions/logging.spec.js similarity index 100% rename from js/src/api/subscriptions/logging.spec.js rename to js-old/src/api/subscriptions/logging.spec.js diff --git a/js/src/api/subscriptions/manager.js b/js-old/src/api/subscriptions/manager.js similarity index 100% rename from js/src/api/subscriptions/manager.js rename to js-old/src/api/subscriptions/manager.js diff --git a/js/src/api/subscriptions/manager.spec.js b/js-old/src/api/subscriptions/manager.spec.js similarity index 98% rename from js/src/api/subscriptions/manager.spec.js rename to js-old/src/api/subscriptions/manager.spec.js index 05d645e6bd326c8b10cf9ad16bb4961d64b65fbb..df708a36dcbb933f23c20185c07ccae3dabb3874 100644 --- a/js/src/api/subscriptions/manager.spec.js +++ b/js-old/src/api/subscriptions/manager.spec.js @@ -23,8 +23,7 @@ function newStub () { const manager = new Manager({ transport: { - isConnected: true, - on: sinon.stub() + isConnected: true } }); diff --git a/js/src/api/subscriptions/personal.js b/js-old/src/api/subscriptions/personal.js similarity index 79% rename from js/src/api/subscriptions/personal.js rename to js-old/src/api/subscriptions/personal.js index 8b2b826d0e38100faa5798dda14b5c9fb57c95d2..fa7ae823ca99a1283a155e778c3453dcb7ebbc01 100644 --- a/js/src/api/subscriptions/personal.js +++ b/js-old/src/api/subscriptions/personal.js @@ -23,13 +23,6 @@ export default class Personal { this._lastDefaultAccount = '0x0'; this._pollTimerId = null; - - // Try to restart subscription if transport is closed - this._api.transport.on('close', () => { - if (this.isStarted) { - this.start(); - } - }); } get isStarted () { @@ -39,42 +32,20 @@ export default class Personal { start () { this._started = true; - let defaultAccount = null; - - if (this._api.isPubSub) { - defaultAccount = this._api.pubsub - .subscribeAndGetResult( - callback => this._api.pubsub.parity.defaultAccount(callback), - (defaultAccount) => { - this.updateDefaultAccount(defaultAccount); - return defaultAccount; - } - ); - } else { - defaultAccount = this._defaultAccount(); - } - return Promise.all([ - defaultAccount, + this._defaultAccount(), this._listAccounts(), this._accountsInfo(), this._loggingSubscribe() ]); } - updateDefaultAccount (defaultAccount) { - if (this._lastDefaultAccount !== defaultAccount) { - this._lastDefaultAccount = defaultAccount; - this._updateSubscriptions('parity_defaultAccount', null, defaultAccount); - } - } - // FIXME: Because of the different API instances, the "wait for valid changes" approach // doesn't work. Since the defaultAccount is critical to operation, we poll in exactly // same way we do in ../eth (ala eth_blockNumber) and update. This should be moved // to pub-sub as it becomes available _defaultAccount = (timerDisabled = false) => { - const nextTimeout = (timeout = 3000) => { + const nextTimeout = (timeout = 1000) => { if (!timerDisabled) { this._pollTimerId = setTimeout(() => { this._defaultAccount(); @@ -90,7 +61,11 @@ export default class Personal { return this._api.parity .defaultAccount() .then((defaultAccount) => { - this.updateDefaultAccount(defaultAccount); + if (this._lastDefaultAccount !== defaultAccount) { + this._lastDefaultAccount = defaultAccount; + this._updateSubscriptions('parity_defaultAccount', null, defaultAccount); + } + nextTimeout(); }) .catch(() => nextTimeout()); diff --git a/js/src/api/subscriptions/personal.spec.js b/js-old/src/api/subscriptions/personal.spec.js similarity index 98% rename from js/src/api/subscriptions/personal.spec.js rename to js-old/src/api/subscriptions/personal.spec.js index 3e950579c5f92889124e39c488381679cf786d8f..ac046d25099dc78af3c4e2b54b191d008e58ab64 100644 --- a/js/src/api/subscriptions/personal.spec.js +++ b/js-old/src/api/subscriptions/personal.spec.js @@ -37,8 +37,7 @@ function stubApi (accounts, info) { return { _calls, transport: { - isConnected: true, - on: sinon.stub() + isConnected: true }, parity: { accountsInfo: () => { diff --git a/js/src/api/subscriptions/signer.js b/js-old/src/api/subscriptions/signer.js similarity index 64% rename from js/src/api/subscriptions/signer.js rename to js-old/src/api/subscriptions/signer.js index 30342cfa73c66e16aa0deecf27d80a0a9f18baab..2215ed7f3df6e312df49446d85ec67879fdea163 100644 --- a/js/src/api/subscriptions/signer.js +++ b/js-old/src/api/subscriptions/signer.js @@ -22,13 +22,6 @@ export default class Signer { this._api = api; this._updateSubscriptions = updateSubscriptions; this._started = false; - - // Try to restart subscription if transport is closed - this._api.transport.on('close', () => { - if (this.isStarted) { - this.start(); - } - }); } get isStarted () { @@ -38,56 +31,30 @@ export default class Signer { start () { this._started = true; - return this - ._api - .transport - .ready - .then(() => { - if (this._api.isPubSub) { - const subscription = this._api.pubsub - .subscribeAndGetResult( - callback => this._api.pubsub.signer.pendingRequests(callback), - requests => { - this.updateSubscriptions(requests); - return requests; - } - ); - - return Promise.all([ - this._listRequests(false), - subscription - ]); - } - - return Promise.all([ - this._listRequests(true), - this._loggingSubscribe() - ]); - }); - } - - updateSubscriptions (requests) { - return this._updateSubscriptions('signer_requestsToConfirm', null, requests); + return Promise.all([ + this._listRequests(true), + this._loggingSubscribe() + ]); } _listRequests = (doTimeout) => { - const nextTimeout = (timeout = 1000, forceTimeout = doTimeout) => { - if (forceTimeout) { + const nextTimeout = (timeout = 1000) => { + if (doTimeout) { setTimeout(() => { - this._listRequests(doTimeout); + this._listRequests(true); }, timeout); } }; if (!this._api.transport.isConnected) { - nextTimeout(500, true); + nextTimeout(500); return; } return this._api.signer .requestsToConfirm() .then((requests) => { - this.updateSubscriptions(requests); + this._updateSubscriptions('signer_requestsToConfirm', null, requests); nextTimeout(); }) .catch(() => nextTimeout()); diff --git a/js/src/api/transport/error.js b/js-old/src/api/transport/error.js similarity index 100% rename from js/src/api/transport/error.js rename to js-old/src/api/transport/error.js diff --git a/js/src/api/transport/http/http.e2e.js b/js-old/src/api/transport/http/http.e2e.js similarity index 100% rename from js/src/api/transport/http/http.e2e.js rename to js-old/src/api/transport/http/http.e2e.js diff --git a/js/src/api/transport/http/http.js b/js-old/src/api/transport/http/http.js similarity index 100% rename from js/src/api/transport/http/http.js rename to js-old/src/api/transport/http/http.js diff --git a/js/src/api/transport/http/http.spec.js b/js-old/src/api/transport/http/http.spec.js similarity index 100% rename from js/src/api/transport/http/http.spec.js rename to js-old/src/api/transport/http/http.spec.js diff --git a/js/src/api/transport/http/index.js b/js-old/src/api/transport/http/index.js similarity index 100% rename from js/src/api/transport/http/index.js rename to js-old/src/api/transport/http/index.js diff --git a/js/src/api/transport/index.js b/js-old/src/api/transport/index.js similarity index 100% rename from js/src/api/transport/index.js rename to js-old/src/api/transport/index.js diff --git a/js/src/api/transport/jsonRpcBase.js b/js-old/src/api/transport/jsonRpcBase.js similarity index 84% rename from js/src/api/transport/jsonRpcBase.js rename to js-old/src/api/transport/jsonRpcBase.js index 9e5e18bfecb4dc66a77a01947da2735b094599b9..819e1f496ff723aea7c2b995c83052d25d0f10a9 100644 --- a/js/src/api/transport/jsonRpcBase.js +++ b/js-old/src/api/transport/jsonRpcBase.js @@ -15,11 +15,7 @@ // along with Parity. If not, see . import EventEmitter from 'eventemitter3'; - import { Logging } from '../subscriptions'; -import logger from './logger'; - -const LOGGER_ENABLED = process.env.NODE_ENV !== 'production'; export default class JsonRpcBase extends EventEmitter { constructor () { @@ -31,10 +27,6 @@ export default class JsonRpcBase extends EventEmitter { this._middlewareList = Promise.resolve([]); } - get ready () { - return this._middlewareList.then(() => true); - } - encode (method, params) { const json = JSON.stringify({ jsonrpc: '2.0', @@ -83,14 +75,6 @@ export default class JsonRpcBase extends EventEmitter { } execute (method, ...params) { - let start; - let logId; - - if (LOGGER_ENABLED) { - start = Date.now(); - logId = logger.log({ method, params }); - } - return this._middlewareList.then((middlewareList) => { for (const middleware of middlewareList) { const res = middleware.handle(method, params); @@ -109,18 +93,7 @@ export default class JsonRpcBase extends EventEmitter { } } - const result = this._execute(method, params); - - if (!LOGGER_ENABLED) { - return result; - } - - return result - .then((result) => { - logger.set(logId, { result, time: Date.now() - start }); - - return result; - }); + return this._execute(method, params); }); } diff --git a/js/src/api/transport/jsonRpcBase.spec.js b/js-old/src/api/transport/jsonRpcBase.spec.js similarity index 100% rename from js/src/api/transport/jsonRpcBase.spec.js rename to js-old/src/api/transport/jsonRpcBase.spec.js diff --git a/js/src/api/transport/middleware.js b/js-old/src/api/transport/middleware.js similarity index 63% rename from js/src/api/transport/middleware.js rename to js-old/src/api/transport/middleware.js index ccdf732a0f3b154df0ea1defef617840cb93fb1e..ef029b1cbc8db9b3ca94c2cd4915e77ec2426a67 100644 --- a/js/src/api/transport/middleware.js +++ b/js-old/src/api/transport/middleware.js @@ -17,20 +17,7 @@ export default class Middleware { constructor (transport) { this._transport = transport; - this._subscribe = transport.subscribe; - - transport.subscribe = this.handleSubscribe.bind(this); - this._handlers = {}; - this._subHandlers = {}; - } - - registerSubscribe (method, handler) { - if (method in this._subHandlers) { - throw new Error(`${method} is already defined in the middleware!`); - } - - this._subHandlers[method] = handler; } register (method, handler) { @@ -41,24 +28,10 @@ export default class Middleware { this._handlers[method] = handler; } - handleSubscribe (api, callback, event) { - // Don't ask - const method = api.subscribe ? api.subscribe : event[0]; - const params = event.length === 2 ? event[1] : event; - - const handler = this._subHandlers[method]; - - if (handler) { - return handler(params, callback); - } - - this._subscribe.call(this._transport, api, callback, event); - } - handle (method, params) { const handler = this._handlers[method]; - if (handler) { + if (handler != null) { return handler(params); } diff --git a/js/src/api/transport/middleware.spec.js b/js-old/src/api/transport/middleware.spec.js similarity index 100% rename from js/src/api/transport/middleware.spec.js rename to js-old/src/api/transport/middleware.spec.js diff --git a/js/src/api/transport/ws/index.js b/js-old/src/api/transport/ws/index.js similarity index 100% rename from js/src/api/transport/ws/index.js rename to js-old/src/api/transport/ws/index.js diff --git a/js/src/api/transport/ws/ws.e2e.js b/js-old/src/api/transport/ws/ws.e2e.js similarity index 100% rename from js/src/api/transport/ws/ws.e2e.js rename to js-old/src/api/transport/ws/ws.e2e.js diff --git a/js/src/api/transport/ws/ws.js b/js-old/src/api/transport/ws/ws.js similarity index 96% rename from js/src/api/transport/ws/ws.js rename to js-old/src/api/transport/ws/ws.js index 63abecb839d9d386426cd6ba8c9b0302546d4889..9c276772dc366cd297110a0f62c9ba0f33b84005 100644 --- a/js/src/api/transport/ws/ws.js +++ b/js-old/src/api/transport/ws/ws.js @@ -29,7 +29,7 @@ export default class Ws extends JsonRpcBase { this._url = url; this._token = token; this._messages = {}; - this._subscriptions = {}; + this._subscriptions = { 'eth_subscription': [], 'parity_subscription': [], 'shh_subscription': [] }; this._sessionHash = null; this._connecting = false; @@ -209,7 +209,6 @@ export default class Ws extends JsonRpcBase { // initial pubsub ACK if (id && msg.subscription) { // save subscription to map subId -> messageId - this._subscriptions[msg.subscription] = this._subscriptions[msg.subscription] || {}; this._subscriptions[msg.subscription][res] = id; // resolve promise with messageId because subId's can collide (eth/parity) msg.resolve(id); @@ -224,7 +223,7 @@ export default class Ws extends JsonRpcBase { } // pubsub format - if (this._subscriptions[method]) { + if (method.includes('subscription')) { const messageId = this._messages[this._subscriptions[method][params.subscription]]; if (messageId) { @@ -303,16 +302,6 @@ export default class Ws extends JsonRpcBase { } _methodsFromApi (api) { - if (api.subscription) { - const { subscribe, unsubscribe, subscription } = api; - - return { - method: subscribe, - uMethod: unsubscribe, - subscription - }; - } - const method = `${api}_subscribe`; const uMethod = `${api}_unsubscribe`; const subscription = `${api}_subscription`; @@ -320,7 +309,7 @@ export default class Ws extends JsonRpcBase { return { method, uMethod, subscription }; } - subscribe (api, callback, params) { + subscribe (api, callback, ...params) { return new Promise((resolve, reject) => { const id = this.id; const { method, uMethod, subscription } = this._methodsFromApi(api); diff --git a/js/src/api/transport/ws/ws.spec.js b/js-old/src/api/transport/ws/ws.spec.js similarity index 100% rename from js/src/api/transport/ws/ws.spec.js rename to js-old/src/api/transport/ws/ws.spec.js diff --git a/js/src/api/util/decode.js b/js-old/src/api/util/decode.js similarity index 100% rename from js/src/api/util/decode.js rename to js-old/src/api/util/decode.js diff --git a/js/src/api/util/decode.spec.js b/js-old/src/api/util/decode.spec.js similarity index 100% rename from js/src/api/util/decode.spec.js rename to js-old/src/api/util/decode.spec.js diff --git a/js/src/api/util/encode.js b/js-old/src/api/util/encode.js similarity index 100% rename from js/src/api/util/encode.js rename to js-old/src/api/util/encode.js diff --git a/js/src/api/util/encode.spec.js b/js-old/src/api/util/encode.spec.js similarity index 100% rename from js/src/api/util/encode.spec.js rename to js-old/src/api/util/encode.spec.js diff --git a/js/src/api/util/format.js b/js-old/src/api/util/format.js similarity index 94% rename from js/src/api/util/format.js rename to js-old/src/api/util/format.js index e981fb06ded4193db5e20f3b38ede5216044b04a..6a4a81d4004dee944817fde894c2eaeb9169269f 100644 --- a/js/src/api/util/format.js +++ b/js-old/src/api/util/format.js @@ -75,13 +75,10 @@ export function bytesToAscii (bytes) { } export function asciiToHex (string) { - let result = '0x'; - - for (let i = 0; i < string.length; ++i) { - result += ('0' + string.charCodeAt(i).toString(16)).substr(-2); - } - - return result; + return '0x' + string.split('') + .map(s => s.charCodeAt(0)) + .map(s => s < 0x10 ? '0' + s.toString(16) : s.toString(16)) + .join(''); } export function padRight (input, length) { diff --git a/js/src/api/util/format.spec.js b/js-old/src/api/util/format.spec.js similarity index 91% rename from js/src/api/util/format.spec.js rename to js-old/src/api/util/format.spec.js index 4058f5364c93e343496563a51763cd2dc2c68453..ba7a3994e049b7762626df5dbca12c599de8bc8c 100644 --- a/js/src/api/util/format.spec.js +++ b/js-old/src/api/util/format.spec.js @@ -69,14 +69,6 @@ describe('api/util/format', () => { expect(asciiToHex('abc')).to.equal('0x616263'); expect(asciiToHex('a\nb')).to.equal('0x610a62'); }); - - it('correctly converts where charCode < 0x10', () => { - expect( - asciiToHex( - [32, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0].map((v) => String.fromCharCode(v)).join('') - ) - ).to.equal('0x20100f0e0d0c0b0a09080706050403020100'); - }); }); describe('hexToAscii', () => { diff --git a/js/src/api/util/identity.js b/js-old/src/api/util/identity.js similarity index 100% rename from js/src/api/util/identity.js rename to js-old/src/api/util/identity.js diff --git a/js/src/api/util/index.js b/js-old/src/api/util/index.js similarity index 100% rename from js/src/api/util/index.js rename to js-old/src/api/util/index.js diff --git a/js/src/api/util/sha3.js b/js-old/src/api/util/sha3.js similarity index 100% rename from js/src/api/util/sha3.js rename to js-old/src/api/util/sha3.js diff --git a/js/src/api/util/sha3.spec.js b/js-old/src/api/util/sha3.spec.js similarity index 100% rename from js/src/api/util/sha3.spec.js rename to js-old/src/api/util/sha3.spec.js diff --git a/js/src/api/util/types.js b/js-old/src/api/util/types.js similarity index 100% rename from js/src/api/util/types.js rename to js-old/src/api/util/types.js diff --git a/js/src/api/util/types.spec.js b/js-old/src/api/util/types.spec.js similarity index 100% rename from js/src/api/util/types.spec.js rename to js-old/src/api/util/types.spec.js diff --git a/js/src/api/util/wei.js b/js-old/src/api/util/wei.js similarity index 100% rename from js/src/api/util/wei.js rename to js-old/src/api/util/wei.js diff --git a/js/src/api/util/wei.spec.js b/js-old/src/api/util/wei.spec.js similarity index 100% rename from js/src/api/util/wei.spec.js rename to js-old/src/api/util/wei.spec.js diff --git a/js/src/config.js b/js-old/src/config.js similarity index 100% rename from js/src/config.js rename to js-old/src/config.js diff --git a/js/src/contracts/abi/badgereg.json b/js-old/src/contracts/abi/badgereg.json similarity index 100% rename from js/src/contracts/abi/badgereg.json rename to js-old/src/contracts/abi/badgereg.json diff --git a/js/src/contracts/abi/basiccoin.json b/js-old/src/contracts/abi/basiccoin.json similarity index 100% rename from js/src/contracts/abi/basiccoin.json rename to js-old/src/contracts/abi/basiccoin.json diff --git a/js/src/contracts/abi/basiccoinmanager.json b/js-old/src/contracts/abi/basiccoinmanager.json similarity index 100% rename from js/src/contracts/abi/basiccoinmanager.json rename to js-old/src/contracts/abi/basiccoinmanager.json diff --git a/js/src/contracts/abi/certifier.json b/js-old/src/contracts/abi/certifier.json similarity index 100% rename from js/src/contracts/abi/certifier.json rename to js-old/src/contracts/abi/certifier.json diff --git a/js/src/contracts/abi/consensys-multisig-wallet.json b/js-old/src/contracts/abi/consensys-multisig-wallet.json similarity index 100% rename from js/src/contracts/abi/consensys-multisig-wallet.json rename to js-old/src/contracts/abi/consensys-multisig-wallet.json diff --git a/js/src/contracts/abi/dappreg.json b/js-old/src/contracts/abi/dappreg.json similarity index 100% rename from js/src/contracts/abi/dappreg.json rename to js-old/src/contracts/abi/dappreg.json diff --git a/js/src/contracts/abi/eip20.json b/js-old/src/contracts/abi/eip20.json similarity index 100% rename from js/src/contracts/abi/eip20.json rename to js-old/src/contracts/abi/eip20.json diff --git a/js/src/contracts/abi/email-verification.json b/js-old/src/contracts/abi/email-verification.json similarity index 100% rename from js/src/contracts/abi/email-verification.json rename to js-old/src/contracts/abi/email-verification.json diff --git a/js/src/contracts/abi/foundation-multisig-wallet.json b/js-old/src/contracts/abi/foundation-multisig-wallet.json similarity index 100% rename from js/src/contracts/abi/foundation-multisig-wallet.json rename to js-old/src/contracts/abi/foundation-multisig-wallet.json diff --git a/js/src/contracts/abi/gavcoin.json b/js-old/src/contracts/abi/gavcoin.json similarity index 100% rename from js/src/contracts/abi/gavcoin.json rename to js-old/src/contracts/abi/gavcoin.json diff --git a/js/src/contracts/abi/githubhint.json b/js-old/src/contracts/abi/githubhint.json similarity index 100% rename from js/src/contracts/abi/githubhint.json rename to js-old/src/contracts/abi/githubhint.json diff --git a/js/src/contracts/abi/index.js b/js-old/src/contracts/abi/index.js similarity index 97% rename from js/src/contracts/abi/index.js rename to js-old/src/contracts/abi/index.js index eac825820b9338d9748954816bf8833fc7c45f7f..f475cce070b8b813008721987ccaa19c3497be0e 100644 --- a/js/src/contracts/abi/index.js +++ b/js-old/src/contracts/abi/index.js @@ -29,4 +29,3 @@ export signaturereg from './signaturereg.json'; export smsverification from './sms-verification.json'; export tokenreg from './tokenreg.json'; export foundationWallet from './foundation-multisig-wallet.json'; -export vouchfor from './vouchfor.json'; diff --git a/js/src/contracts/abi/old-wallet.json b/js-old/src/contracts/abi/old-wallet.json similarity index 100% rename from js/src/contracts/abi/old-wallet.json rename to js-old/src/contracts/abi/old-wallet.json diff --git a/js/src/contracts/abi/owned.json b/js-old/src/contracts/abi/owned.json similarity index 100% rename from js/src/contracts/abi/owned.json rename to js-old/src/contracts/abi/owned.json diff --git a/js/src/contracts/abi/registry.json b/js-old/src/contracts/abi/registry.json similarity index 100% rename from js/src/contracts/abi/registry.json rename to js-old/src/contracts/abi/registry.json diff --git a/js/src/contracts/abi/registry2.json b/js-old/src/contracts/abi/registry2.json similarity index 100% rename from js/src/contracts/abi/registry2.json rename to js-old/src/contracts/abi/registry2.json diff --git a/js/src/contracts/abi/signaturereg.json b/js-old/src/contracts/abi/signaturereg.json similarity index 100% rename from js/src/contracts/abi/signaturereg.json rename to js-old/src/contracts/abi/signaturereg.json diff --git a/js/src/contracts/abi/sms-verification.json b/js-old/src/contracts/abi/sms-verification.json similarity index 100% rename from js/src/contracts/abi/sms-verification.json rename to js-old/src/contracts/abi/sms-verification.json diff --git a/js/src/contracts/abi/tokenreg.json b/js-old/src/contracts/abi/tokenreg.json similarity index 100% rename from js/src/contracts/abi/tokenreg.json rename to js-old/src/contracts/abi/tokenreg.json diff --git a/js/src/contracts/badgereg.js b/js-old/src/contracts/badgereg.js similarity index 98% rename from js/src/contracts/badgereg.js rename to js-old/src/contracts/badgereg.js index 07e740e6d1fab8c350a7af9b0ade40044f8807e9..a1782cb30174443013ffcad17f7b00f9c9dec50c 100644 --- a/js/src/contracts/badgereg.js +++ b/js-old/src/contracts/badgereg.js @@ -105,7 +105,7 @@ export default class BadgeReg { ]); }) .then(([ title, icon ]) => { - title = bytesToHex(title).replace(/(00)+$/, ''); + title = bytesToHex(title); title = title === ZERO32 ? null : hexToAscii(title); if (bytesToHex(icon) === ZERO32) { diff --git a/js/src/contracts/code/index.js b/js-old/src/contracts/code/index.js similarity index 100% rename from js/src/contracts/code/index.js rename to js-old/src/contracts/code/index.js diff --git a/js/src/contracts/code/wallet.js b/js-old/src/contracts/code/wallet.js similarity index 100% rename from js/src/contracts/code/wallet.js rename to js-old/src/contracts/code/wallet.js diff --git a/js/src/contracts/contracts.js b/js-old/src/contracts/contracts.js similarity index 100% rename from js/src/contracts/contracts.js rename to js-old/src/contracts/contracts.js diff --git a/js/src/contracts/dappreg.js b/js-old/src/contracts/dappreg.js similarity index 100% rename from js/src/contracts/dappreg.js rename to js-old/src/contracts/dappreg.js diff --git a/js/src/contracts/githubhint.js b/js-old/src/contracts/githubhint.js similarity index 100% rename from js/src/contracts/githubhint.js rename to js-old/src/contracts/githubhint.js diff --git a/js/src/contracts/githubhint.spec.js b/js-old/src/contracts/githubhint.spec.js similarity index 100% rename from js/src/contracts/githubhint.spec.js rename to js-old/src/contracts/githubhint.spec.js diff --git a/js/src/contracts/index.js b/js-old/src/contracts/index.js similarity index 100% rename from js/src/contracts/index.js rename to js-old/src/contracts/index.js diff --git a/js/src/contracts/registry.js b/js-old/src/contracts/registry.js similarity index 100% rename from js/src/contracts/registry.js rename to js-old/src/contracts/registry.js diff --git a/js/src/contracts/registry.spec.js b/js-old/src/contracts/registry.spec.js similarity index 100% rename from js/src/contracts/registry.spec.js rename to js-old/src/contracts/registry.spec.js diff --git a/js/src/contracts/signaturereg.js b/js-old/src/contracts/signaturereg.js similarity index 100% rename from js/src/contracts/signaturereg.js rename to js-old/src/contracts/signaturereg.js diff --git a/js/src/contracts/snippets/enhanced-wallet.sol b/js-old/src/contracts/snippets/enhanced-wallet.sol similarity index 100% rename from js/src/contracts/snippets/enhanced-wallet.sol rename to js-old/src/contracts/snippets/enhanced-wallet.sol diff --git a/js/src/contracts/snippets/human-standard-token.sol b/js-old/src/contracts/snippets/human-standard-token.sol similarity index 100% rename from js/src/contracts/snippets/human-standard-token.sol rename to js-old/src/contracts/snippets/human-standard-token.sol diff --git a/js/src/contracts/snippets/standard-token.sol b/js-old/src/contracts/snippets/standard-token.sol similarity index 100% rename from js/src/contracts/snippets/standard-token.sol rename to js-old/src/contracts/snippets/standard-token.sol diff --git a/js/src/contracts/snippets/token.sol b/js-old/src/contracts/snippets/token.sol similarity index 100% rename from js/src/contracts/snippets/token.sol rename to js-old/src/contracts/snippets/token.sol diff --git a/js/src/contracts/snippets/wallet.sol b/js-old/src/contracts/snippets/wallet.sol similarity index 100% rename from js/src/contracts/snippets/wallet.sol rename to js-old/src/contracts/snippets/wallet.sol diff --git a/js/src/contracts/tokenreg.js b/js-old/src/contracts/tokenreg.js similarity index 100% rename from js/src/contracts/tokenreg.js rename to js-old/src/contracts/tokenreg.js diff --git a/js/src/contracts/verification.js b/js-old/src/contracts/verification.js similarity index 100% rename from js/src/contracts/verification.js rename to js-old/src/contracts/verification.js diff --git a/js/src/dapps/chaindeploy.js b/js-old/src/dapps/chaindeploy.js similarity index 100% rename from js/src/dapps/chaindeploy.js rename to js-old/src/dapps/chaindeploy.js diff --git a/js/src/dapps/chaindeploy/Application/application.css b/js-old/src/dapps/chaindeploy/Application/application.css similarity index 100% rename from js/src/dapps/chaindeploy/Application/application.css rename to js-old/src/dapps/chaindeploy/Application/application.css diff --git a/js/src/dapps/chaindeploy/Application/application.js b/js-old/src/dapps/chaindeploy/Application/application.js similarity index 100% rename from js/src/dapps/chaindeploy/Application/application.js rename to js-old/src/dapps/chaindeploy/Application/application.js diff --git a/js/src/dapps/chaindeploy/Application/index.js b/js-old/src/dapps/chaindeploy/Application/index.js similarity index 100% rename from js/src/dapps/chaindeploy/Application/index.js rename to js-old/src/dapps/chaindeploy/Application/index.js diff --git a/js/src/dapps/chaindeploy/Contract/contract.js b/js-old/src/dapps/chaindeploy/Contract/contract.js similarity index 100% rename from js/src/dapps/chaindeploy/Contract/contract.js rename to js-old/src/dapps/chaindeploy/Contract/contract.js diff --git a/js/src/dapps/chaindeploy/Contract/index.js b/js-old/src/dapps/chaindeploy/Contract/index.js similarity index 100% rename from js/src/dapps/chaindeploy/Contract/index.js rename to js-old/src/dapps/chaindeploy/Contract/index.js diff --git a/js/src/dapps/chaindeploy/Dapp/dapp.js b/js-old/src/dapps/chaindeploy/Dapp/dapp.js similarity index 100% rename from js/src/dapps/chaindeploy/Dapp/dapp.js rename to js-old/src/dapps/chaindeploy/Dapp/dapp.js diff --git a/js/src/dapps/chaindeploy/Dapp/index.js b/js-old/src/dapps/chaindeploy/Dapp/index.js similarity index 100% rename from js/src/dapps/chaindeploy/Dapp/index.js rename to js-old/src/dapps/chaindeploy/Dapp/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Header/header.js b/js-old/src/dapps/chaindeploy/ListItem/Header/header.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Header/header.js rename to js-old/src/dapps/chaindeploy/ListItem/Header/header.js diff --git a/js/src/dapps/chaindeploy/ListItem/Header/index.js b/js-old/src/dapps/chaindeploy/ListItem/Header/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Header/index.js rename to js-old/src/dapps/chaindeploy/ListItem/Header/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Icon/icon.js b/js-old/src/dapps/chaindeploy/ListItem/Icon/icon.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Icon/icon.js rename to js-old/src/dapps/chaindeploy/ListItem/Icon/icon.js diff --git a/js/src/dapps/chaindeploy/ListItem/Icon/index.js b/js-old/src/dapps/chaindeploy/ListItem/Icon/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Icon/index.js rename to js-old/src/dapps/chaindeploy/ListItem/Icon/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Row/index.js b/js-old/src/dapps/chaindeploy/ListItem/Row/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Row/index.js rename to js-old/src/dapps/chaindeploy/ListItem/Row/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Row/row.js b/js-old/src/dapps/chaindeploy/ListItem/Row/row.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Row/row.js rename to js-old/src/dapps/chaindeploy/ListItem/Row/row.js diff --git a/js/src/dapps/chaindeploy/ListItem/index.js b/js-old/src/dapps/chaindeploy/ListItem/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/index.js rename to js-old/src/dapps/chaindeploy/ListItem/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/listItem.css b/js-old/src/dapps/chaindeploy/ListItem/listItem.css similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/listItem.css rename to js-old/src/dapps/chaindeploy/ListItem/listItem.css diff --git a/js/src/dapps/chaindeploy/ListItem/listItem.js b/js-old/src/dapps/chaindeploy/ListItem/listItem.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/listItem.js rename to js-old/src/dapps/chaindeploy/ListItem/listItem.js diff --git a/js/src/dapps/chaindeploy/_dapps.js b/js-old/src/dapps/chaindeploy/_dapps.js similarity index 100% rename from js/src/dapps/chaindeploy/_dapps.js rename to js-old/src/dapps/chaindeploy/_dapps.js diff --git a/js/src/dapps/chaindeploy/contracts/abi/jg-voting.json b/js-old/src/dapps/chaindeploy/contracts/abi/jg-voting.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/abi/jg-voting.json rename to js-old/src/dapps/chaindeploy/contracts/abi/jg-voting.json diff --git a/js/src/dapps/chaindeploy/contracts/badgereg.js b/js-old/src/dapps/chaindeploy/contracts/badgereg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/badgereg.js rename to js-old/src/dapps/chaindeploy/contracts/badgereg.js diff --git a/js/src/dapps/chaindeploy/contracts/code/badgereg.json b/js-old/src/dapps/chaindeploy/contracts/code/badgereg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/badgereg.json rename to js-old/src/dapps/chaindeploy/contracts/code/badgereg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/dappreg.json b/js-old/src/dapps/chaindeploy/contracts/code/dappreg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/dappreg.json rename to js-old/src/dapps/chaindeploy/contracts/code/dappreg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/gavcoin.json b/js-old/src/dapps/chaindeploy/contracts/code/gavcoin.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/gavcoin.json rename to js-old/src/dapps/chaindeploy/contracts/code/gavcoin.json diff --git a/js/src/dapps/chaindeploy/contracts/code/githubhint.json b/js-old/src/dapps/chaindeploy/contracts/code/githubhint.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/githubhint.json rename to js-old/src/dapps/chaindeploy/contracts/code/githubhint.json diff --git a/js/src/dapps/chaindeploy/contracts/code/jg-voting.json b/js-old/src/dapps/chaindeploy/contracts/code/jg-voting.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/jg-voting.json rename to js-old/src/dapps/chaindeploy/contracts/code/jg-voting.json diff --git a/js/src/dapps/chaindeploy/contracts/code/registry.json b/js-old/src/dapps/chaindeploy/contracts/code/registry.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/registry.json rename to js-old/src/dapps/chaindeploy/contracts/code/registry.json diff --git a/js/src/dapps/chaindeploy/contracts/code/signaturereg.json b/js-old/src/dapps/chaindeploy/contracts/code/signaturereg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/signaturereg.json rename to js-old/src/dapps/chaindeploy/contracts/code/signaturereg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/tokendeploy.json b/js-old/src/dapps/chaindeploy/contracts/code/tokendeploy.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/tokendeploy.json rename to js-old/src/dapps/chaindeploy/contracts/code/tokendeploy.json diff --git a/js/src/dapps/chaindeploy/contracts/code/tokenreg.json b/js-old/src/dapps/chaindeploy/contracts/code/tokenreg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/tokenreg.json rename to js-old/src/dapps/chaindeploy/contracts/code/tokenreg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/verifyEmail.json b/js-old/src/dapps/chaindeploy/contracts/code/verifyEmail.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/verifyEmail.json rename to js-old/src/dapps/chaindeploy/contracts/code/verifyEmail.json diff --git a/js/src/dapps/chaindeploy/contracts/code/verifySms.json b/js-old/src/dapps/chaindeploy/contracts/code/verifySms.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/verifySms.json rename to js-old/src/dapps/chaindeploy/contracts/code/verifySms.json diff --git a/js/src/dapps/chaindeploy/contracts/dappreg.js b/js-old/src/dapps/chaindeploy/contracts/dappreg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/dappreg.js rename to js-old/src/dapps/chaindeploy/contracts/dappreg.js diff --git a/js/src/dapps/chaindeploy/contracts/gavcoin.js b/js-old/src/dapps/chaindeploy/contracts/gavcoin.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/gavcoin.js rename to js-old/src/dapps/chaindeploy/contracts/gavcoin.js diff --git a/js/src/dapps/chaindeploy/contracts/githubhint.js b/js-old/src/dapps/chaindeploy/contracts/githubhint.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/githubhint.js rename to js-old/src/dapps/chaindeploy/contracts/githubhint.js diff --git a/js/src/dapps/chaindeploy/contracts/index.js b/js-old/src/dapps/chaindeploy/contracts/index.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/index.js rename to js-old/src/dapps/chaindeploy/contracts/index.js diff --git a/js/src/dapps/chaindeploy/contracts/jg-voting.js b/js-old/src/dapps/chaindeploy/contracts/jg-voting.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/jg-voting.js rename to js-old/src/dapps/chaindeploy/contracts/jg-voting.js diff --git a/js/src/dapps/chaindeploy/contracts/registry.js b/js-old/src/dapps/chaindeploy/contracts/registry.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/registry.js rename to js-old/src/dapps/chaindeploy/contracts/registry.js diff --git a/js/src/dapps/chaindeploy/contracts/signaturereg.js b/js-old/src/dapps/chaindeploy/contracts/signaturereg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/signaturereg.js rename to js-old/src/dapps/chaindeploy/contracts/signaturereg.js diff --git a/js/src/dapps/chaindeploy/contracts/tokendeployMgr.js b/js-old/src/dapps/chaindeploy/contracts/tokendeployMgr.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/tokendeployMgr.js rename to js-old/src/dapps/chaindeploy/contracts/tokendeployMgr.js diff --git a/js/src/dapps/chaindeploy/contracts/tokendeployReg.js b/js-old/src/dapps/chaindeploy/contracts/tokendeployReg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/tokendeployReg.js rename to js-old/src/dapps/chaindeploy/contracts/tokendeployReg.js diff --git a/js/src/dapps/chaindeploy/contracts/tokenreg.js b/js-old/src/dapps/chaindeploy/contracts/tokenreg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/tokenreg.js rename to js-old/src/dapps/chaindeploy/contracts/tokenreg.js diff --git a/js/src/dapps/chaindeploy/contracts/verifyEmail.js b/js-old/src/dapps/chaindeploy/contracts/verifyEmail.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/verifyEmail.js rename to js-old/src/dapps/chaindeploy/contracts/verifyEmail.js diff --git a/js/src/dapps/chaindeploy/contracts/verifySms.js b/js-old/src/dapps/chaindeploy/contracts/verifySms.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/verifySms.js rename to js-old/src/dapps/chaindeploy/contracts/verifySms.js diff --git a/js/src/dapps/chaindeploy/contracts/wallet.js b/js-old/src/dapps/chaindeploy/contracts/wallet.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/wallet.js rename to js-old/src/dapps/chaindeploy/contracts/wallet.js diff --git a/js/src/dapps/chaindeploy/dapps/console.js b/js-old/src/dapps/chaindeploy/dapps/console.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/console.js rename to js-old/src/dapps/chaindeploy/dapps/console.js diff --git a/js/src/dapps/chaindeploy/dapps/dappreg.js b/js-old/src/dapps/chaindeploy/dapps/dappreg.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/dappreg.js rename to js-old/src/dapps/chaindeploy/dapps/dappreg.js diff --git a/js/src/dapps/chaindeploy/dapps/gavcoin.js b/js-old/src/dapps/chaindeploy/dapps/gavcoin.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/gavcoin.js rename to js-old/src/dapps/chaindeploy/dapps/gavcoin.js diff --git a/js/src/dapps/chaindeploy/dapps/githubhint.js b/js-old/src/dapps/chaindeploy/dapps/githubhint.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/githubhint.js rename to js-old/src/dapps/chaindeploy/dapps/githubhint.js diff --git a/js/src/dapps/chaindeploy/dapps/index.js b/js-old/src/dapps/chaindeploy/dapps/index.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/index.js rename to js-old/src/dapps/chaindeploy/dapps/index.js diff --git a/js/src/dapps/chaindeploy/dapps/jg-voting.js b/js-old/src/dapps/chaindeploy/dapps/jg-voting.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/jg-voting.js rename to js-old/src/dapps/chaindeploy/dapps/jg-voting.js diff --git a/js/src/dapps/chaindeploy/dapps/jg-whenblock.js b/js-old/src/dapps/chaindeploy/dapps/jg-whenblock.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/jg-whenblock.js rename to js-old/src/dapps/chaindeploy/dapps/jg-whenblock.js diff --git a/js/src/dapps/chaindeploy/dapps/localtx.js b/js-old/src/dapps/chaindeploy/dapps/localtx.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/localtx.js rename to js-old/src/dapps/chaindeploy/dapps/localtx.js diff --git a/js/src/dapps/chaindeploy/dapps/registry.js b/js-old/src/dapps/chaindeploy/dapps/registry.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/registry.js rename to js-old/src/dapps/chaindeploy/dapps/registry.js diff --git a/js/src/dapps/chaindeploy/dapps/signaturereg.js b/js-old/src/dapps/chaindeploy/dapps/signaturereg.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/signaturereg.js rename to js-old/src/dapps/chaindeploy/dapps/signaturereg.js diff --git a/js/src/dapps/chaindeploy/dapps/tokendeploy.js b/js-old/src/dapps/chaindeploy/dapps/tokendeploy.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/tokendeploy.js rename to js-old/src/dapps/chaindeploy/dapps/tokendeploy.js diff --git a/js/src/dapps/chaindeploy/dapps/tokenreg.js b/js-old/src/dapps/chaindeploy/dapps/tokenreg.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/tokenreg.js rename to js-old/src/dapps/chaindeploy/dapps/tokenreg.js diff --git a/js/src/dapps/chaindeploy/dapps/web.js b/js-old/src/dapps/chaindeploy/dapps/web.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/web.js rename to js-old/src/dapps/chaindeploy/dapps/web.js diff --git a/js/src/dapps/chaindeploy/parity.js b/js-old/src/dapps/chaindeploy/parity.js similarity index 100% rename from js/src/dapps/chaindeploy/parity.js rename to js-old/src/dapps/chaindeploy/parity.js diff --git a/js/src/dapps/chaindeploy/store.js b/js-old/src/dapps/chaindeploy/store.js similarity index 100% rename from js/src/dapps/chaindeploy/store.js rename to js-old/src/dapps/chaindeploy/store.js diff --git a/js/src/dapps/chaindeploy/utils.js b/js-old/src/dapps/chaindeploy/utils.js similarity index 100% rename from js/src/dapps/chaindeploy/utils.js rename to js-old/src/dapps/chaindeploy/utils.js diff --git a/js/src/dapps/console.js b/js-old/src/dapps/console.js similarity index 100% rename from js/src/dapps/console.js rename to js-old/src/dapps/console.js diff --git a/js/src/dapps/console/Application/application.css b/js-old/src/dapps/console/Application/application.css similarity index 100% rename from js/src/dapps/console/Application/application.css rename to js-old/src/dapps/console/Application/application.css diff --git a/js/src/dapps/console/Application/application.js b/js-old/src/dapps/console/Application/application.js similarity index 100% rename from js/src/dapps/console/Application/application.js rename to js-old/src/dapps/console/Application/application.js diff --git a/js/src/dapps/console/Application/application.store.js b/js-old/src/dapps/console/Application/application.store.js similarity index 100% rename from js/src/dapps/console/Application/application.store.js rename to js-old/src/dapps/console/Application/application.store.js diff --git a/js/src/dapps/console/Application/index.js b/js-old/src/dapps/console/Application/index.js similarity index 100% rename from js/src/dapps/console/Application/index.js rename to js-old/src/dapps/console/Application/index.js diff --git a/js/src/dapps/console/Autocomplete/autocomplete.css b/js-old/src/dapps/console/Autocomplete/autocomplete.css similarity index 100% rename from js/src/dapps/console/Autocomplete/autocomplete.css rename to js-old/src/dapps/console/Autocomplete/autocomplete.css diff --git a/js/src/dapps/console/Autocomplete/autocomplete.js b/js-old/src/dapps/console/Autocomplete/autocomplete.js similarity index 100% rename from js/src/dapps/console/Autocomplete/autocomplete.js rename to js-old/src/dapps/console/Autocomplete/autocomplete.js diff --git a/js/src/dapps/console/Autocomplete/autocomplete.store.js b/js-old/src/dapps/console/Autocomplete/autocomplete.store.js similarity index 100% rename from js/src/dapps/console/Autocomplete/autocomplete.store.js rename to js-old/src/dapps/console/Autocomplete/autocomplete.store.js diff --git a/js/src/dapps/console/Autocomplete/index.js b/js-old/src/dapps/console/Autocomplete/index.js similarity index 100% rename from js/src/dapps/console/Autocomplete/index.js rename to js-old/src/dapps/console/Autocomplete/index.js diff --git a/js/src/dapps/console/Console/console.css b/js-old/src/dapps/console/Console/console.css similarity index 100% rename from js/src/dapps/console/Console/console.css rename to js-old/src/dapps/console/Console/console.css diff --git a/js/src/dapps/console/Console/console.js b/js-old/src/dapps/console/Console/console.js similarity index 100% rename from js/src/dapps/console/Console/console.js rename to js-old/src/dapps/console/Console/console.js diff --git a/js/src/dapps/console/Console/console.store.js b/js-old/src/dapps/console/Console/console.store.js similarity index 100% rename from js/src/dapps/console/Console/console.store.js rename to js-old/src/dapps/console/Console/console.store.js diff --git a/js/src/dapps/console/Console/index.js b/js-old/src/dapps/console/Console/index.js similarity index 100% rename from js/src/dapps/console/Console/index.js rename to js-old/src/dapps/console/Console/index.js diff --git a/js/src/dapps/console/Header/header.css b/js-old/src/dapps/console/Header/header.css similarity index 100% rename from js/src/dapps/console/Header/header.css rename to js-old/src/dapps/console/Header/header.css diff --git a/js/src/dapps/console/Header/header.js b/js-old/src/dapps/console/Header/header.js similarity index 100% rename from js/src/dapps/console/Header/header.js rename to js-old/src/dapps/console/Header/header.js diff --git a/js/src/dapps/console/Header/index.js b/js-old/src/dapps/console/Header/index.js similarity index 100% rename from js/src/dapps/console/Header/index.js rename to js-old/src/dapps/console/Header/index.js diff --git a/js/src/dapps/console/Input/index.js b/js-old/src/dapps/console/Input/index.js similarity index 100% rename from js/src/dapps/console/Input/index.js rename to js-old/src/dapps/console/Input/index.js diff --git a/js/src/dapps/console/Input/input.css b/js-old/src/dapps/console/Input/input.css similarity index 100% rename from js/src/dapps/console/Input/input.css rename to js-old/src/dapps/console/Input/input.css diff --git a/js/src/dapps/console/Input/input.js b/js-old/src/dapps/console/Input/input.js similarity index 100% rename from js/src/dapps/console/Input/input.js rename to js-old/src/dapps/console/Input/input.js diff --git a/js/src/dapps/console/Input/input.store.js b/js-old/src/dapps/console/Input/input.store.js similarity index 100% rename from js/src/dapps/console/Input/input.store.js rename to js-old/src/dapps/console/Input/input.store.js diff --git a/js/src/dapps/console/Settings/index.js b/js-old/src/dapps/console/Settings/index.js similarity index 100% rename from js/src/dapps/console/Settings/index.js rename to js-old/src/dapps/console/Settings/index.js diff --git a/js/src/dapps/console/Settings/settings.css b/js-old/src/dapps/console/Settings/settings.css similarity index 100% rename from js/src/dapps/console/Settings/settings.css rename to js-old/src/dapps/console/Settings/settings.css diff --git a/js/src/dapps/console/Settings/settings.js b/js-old/src/dapps/console/Settings/settings.js similarity index 100% rename from js/src/dapps/console/Settings/settings.js rename to js-old/src/dapps/console/Settings/settings.js diff --git a/js/src/dapps/console/Settings/settings.store.js b/js-old/src/dapps/console/Settings/settings.store.js similarity index 100% rename from js/src/dapps/console/Settings/settings.store.js rename to js-old/src/dapps/console/Settings/settings.store.js diff --git a/js/src/dapps/console/Snippets/index.js b/js-old/src/dapps/console/Snippets/index.js similarity index 100% rename from js/src/dapps/console/Snippets/index.js rename to js-old/src/dapps/console/Snippets/index.js diff --git a/js/src/dapps/console/Snippets/snippets.css b/js-old/src/dapps/console/Snippets/snippets.css similarity index 100% rename from js/src/dapps/console/Snippets/snippets.css rename to js-old/src/dapps/console/Snippets/snippets.css diff --git a/js/src/dapps/console/Snippets/snippets.js b/js-old/src/dapps/console/Snippets/snippets.js similarity index 100% rename from js/src/dapps/console/Snippets/snippets.js rename to js-old/src/dapps/console/Snippets/snippets.js diff --git a/js/src/dapps/console/Snippets/snippets.store.js b/js-old/src/dapps/console/Snippets/snippets.store.js similarity index 100% rename from js/src/dapps/console/Snippets/snippets.store.js rename to js-old/src/dapps/console/Snippets/snippets.store.js diff --git a/js/src/dapps/console/Watches/index.js b/js-old/src/dapps/console/Watches/index.js similarity index 100% rename from js/src/dapps/console/Watches/index.js rename to js-old/src/dapps/console/Watches/index.js diff --git a/js/src/dapps/console/Watches/watches.css b/js-old/src/dapps/console/Watches/watches.css similarity index 100% rename from js/src/dapps/console/Watches/watches.css rename to js-old/src/dapps/console/Watches/watches.css diff --git a/js/src/dapps/console/Watches/watches.js b/js-old/src/dapps/console/Watches/watches.js similarity index 100% rename from js/src/dapps/console/Watches/watches.js rename to js-old/src/dapps/console/Watches/watches.js diff --git a/js/src/dapps/console/Watches/watches.store.js b/js-old/src/dapps/console/Watches/watches.store.js similarity index 100% rename from js/src/dapps/console/Watches/watches.store.js rename to js-old/src/dapps/console/Watches/watches.store.js diff --git a/js/src/dapps/console/codemirror.css b/js-old/src/dapps/console/codemirror.css similarity index 100% rename from js/src/dapps/console/codemirror.css rename to js-old/src/dapps/console/codemirror.css diff --git a/js/src/dapps/console/parity.js b/js-old/src/dapps/console/parity.js similarity index 100% rename from js/src/dapps/console/parity.js rename to js-old/src/dapps/console/parity.js diff --git a/js/src/dapps/console/utils.js b/js-old/src/dapps/console/utils.js similarity index 100% rename from js/src/dapps/console/utils.js rename to js-old/src/dapps/console/utils.js diff --git a/js/src/dapps/dappreg.js b/js-old/src/dapps/dappreg.js similarity index 100% rename from js/src/dapps/dappreg.js rename to js-old/src/dapps/dappreg.js diff --git a/js/src/dapps/dappreg/Application/application.css b/js-old/src/dapps/dappreg/Application/application.css similarity index 100% rename from js/src/dapps/dappreg/Application/application.css rename to js-old/src/dapps/dappreg/Application/application.css diff --git a/js/src/dapps/dappreg/Application/application.js b/js-old/src/dapps/dappreg/Application/application.js similarity index 100% rename from js/src/dapps/dappreg/Application/application.js rename to js-old/src/dapps/dappreg/Application/application.js diff --git a/js/src/dapps/dappreg/Application/index.js b/js-old/src/dapps/dappreg/Application/index.js similarity index 100% rename from js/src/dapps/dappreg/Application/index.js rename to js-old/src/dapps/dappreg/Application/index.js diff --git a/js/src/dapps/dappreg/Button/button.css b/js-old/src/dapps/dappreg/Button/button.css similarity index 100% rename from js/src/dapps/dappreg/Button/button.css rename to js-old/src/dapps/dappreg/Button/button.css diff --git a/js/src/dapps/dappreg/Button/button.js b/js-old/src/dapps/dappreg/Button/button.js similarity index 100% rename from js/src/dapps/dappreg/Button/button.js rename to js-old/src/dapps/dappreg/Button/button.js diff --git a/js/src/dapps/dappreg/Button/index.js b/js-old/src/dapps/dappreg/Button/index.js similarity index 100% rename from js/src/dapps/dappreg/Button/index.js rename to js-old/src/dapps/dappreg/Button/index.js diff --git a/js/src/dapps/dappreg/Card/card.css b/js-old/src/dapps/dappreg/Card/card.css similarity index 100% rename from js/src/dapps/dappreg/Card/card.css rename to js-old/src/dapps/dappreg/Card/card.css diff --git a/js/src/dapps/dappreg/Card/card.js b/js-old/src/dapps/dappreg/Card/card.js similarity index 100% rename from js/src/dapps/dappreg/Card/card.js rename to js-old/src/dapps/dappreg/Card/card.js diff --git a/js/src/dapps/dappreg/Card/index.js b/js-old/src/dapps/dappreg/Card/index.js similarity index 100% rename from js/src/dapps/dappreg/Card/index.js rename to js-old/src/dapps/dappreg/Card/index.js diff --git a/js/src/dapps/dappreg/CreateDappCard/createDappCard.js b/js-old/src/dapps/dappreg/CreateDappCard/createDappCard.js similarity index 100% rename from js/src/dapps/dappreg/CreateDappCard/createDappCard.js rename to js-old/src/dapps/dappreg/CreateDappCard/createDappCard.js diff --git a/js/src/dapps/dappreg/CreateDappCard/index.js b/js-old/src/dapps/dappreg/CreateDappCard/index.js similarity index 100% rename from js/src/dapps/dappreg/CreateDappCard/index.js rename to js-old/src/dapps/dappreg/CreateDappCard/index.js diff --git a/js/src/dapps/dappreg/DappCard/dappCard.css b/js-old/src/dapps/dappreg/DappCard/dappCard.css similarity index 100% rename from js/src/dapps/dappreg/DappCard/dappCard.css rename to js-old/src/dapps/dappreg/DappCard/dappCard.css diff --git a/js/src/dapps/dappreg/DappCard/dappCard.js b/js-old/src/dapps/dappreg/DappCard/dappCard.js similarity index 100% rename from js/src/dapps/dappreg/DappCard/dappCard.js rename to js-old/src/dapps/dappreg/DappCard/dappCard.js diff --git a/js/src/dapps/dappreg/DappCard/index.js b/js-old/src/dapps/dappreg/DappCard/index.js similarity index 100% rename from js/src/dapps/dappreg/DappCard/index.js rename to js-old/src/dapps/dappreg/DappCard/index.js diff --git a/js/src/dapps/dappreg/DappModal/dappModal.css b/js-old/src/dapps/dappreg/DappModal/dappModal.css similarity index 100% rename from js/src/dapps/dappreg/DappModal/dappModal.css rename to js-old/src/dapps/dappreg/DappModal/dappModal.css diff --git a/js/src/dapps/dappreg/DappModal/dappModal.js b/js-old/src/dapps/dappreg/DappModal/dappModal.js similarity index 100% rename from js/src/dapps/dappreg/DappModal/dappModal.js rename to js-old/src/dapps/dappreg/DappModal/dappModal.js diff --git a/js/src/dapps/dappreg/DappModal/index.js b/js-old/src/dapps/dappreg/DappModal/index.js similarity index 100% rename from js/src/dapps/dappreg/DappModal/index.js rename to js-old/src/dapps/dappreg/DappModal/index.js diff --git a/js/src/dapps/dappreg/Dapps/dapps.css b/js-old/src/dapps/dappreg/Dapps/dapps.css similarity index 100% rename from js/src/dapps/dappreg/Dapps/dapps.css rename to js-old/src/dapps/dappreg/Dapps/dapps.css diff --git a/js/src/dapps/dappreg/Dapps/dapps.js b/js-old/src/dapps/dappreg/Dapps/dapps.js similarity index 100% rename from js/src/dapps/dappreg/Dapps/dapps.js rename to js-old/src/dapps/dappreg/Dapps/dapps.js diff --git a/js/src/dapps/dappreg/Dapps/index.js b/js-old/src/dapps/dappreg/Dapps/index.js similarity index 100% rename from js/src/dapps/dappreg/Dapps/index.js rename to js-old/src/dapps/dappreg/Dapps/index.js diff --git a/js/src/dapps/dappreg/Input/index.js b/js-old/src/dapps/dappreg/Input/index.js similarity index 100% rename from js/src/dapps/dappreg/Input/index.js rename to js-old/src/dapps/dappreg/Input/index.js diff --git a/js/src/dapps/dappreg/Input/input.css b/js-old/src/dapps/dappreg/Input/input.css similarity index 100% rename from js/src/dapps/dappreg/Input/input.css rename to js-old/src/dapps/dappreg/Input/input.css diff --git a/js/src/dapps/dappreg/Input/input.js b/js-old/src/dapps/dappreg/Input/input.js similarity index 100% rename from js/src/dapps/dappreg/Input/input.js rename to js-old/src/dapps/dappreg/Input/input.js diff --git a/js/src/dapps/dappreg/Modal/index.js b/js-old/src/dapps/dappreg/Modal/index.js similarity index 100% rename from js/src/dapps/dappreg/Modal/index.js rename to js-old/src/dapps/dappreg/Modal/index.js diff --git a/js/src/dapps/dappreg/Modal/modal.css b/js-old/src/dapps/dappreg/Modal/modal.css similarity index 100% rename from js/src/dapps/dappreg/Modal/modal.css rename to js-old/src/dapps/dappreg/Modal/modal.css diff --git a/js/src/dapps/dappreg/Modal/modal.js b/js-old/src/dapps/dappreg/Modal/modal.js similarity index 100% rename from js/src/dapps/dappreg/Modal/modal.js rename to js-old/src/dapps/dappreg/Modal/modal.js diff --git a/js/src/dapps/dappreg/ModalDelete/index.js b/js-old/src/dapps/dappreg/ModalDelete/index.js similarity index 100% rename from js/src/dapps/dappreg/ModalDelete/index.js rename to js-old/src/dapps/dappreg/ModalDelete/index.js diff --git a/js/src/dapps/dappreg/ModalDelete/modalDelete.js b/js-old/src/dapps/dappreg/ModalDelete/modalDelete.js similarity index 100% rename from js/src/dapps/dappreg/ModalDelete/modalDelete.js rename to js-old/src/dapps/dappreg/ModalDelete/modalDelete.js diff --git a/js/src/dapps/dappreg/ModalRegister/index.js b/js-old/src/dapps/dappreg/ModalRegister/index.js similarity index 100% rename from js/src/dapps/dappreg/ModalRegister/index.js rename to js-old/src/dapps/dappreg/ModalRegister/index.js diff --git a/js/src/dapps/dappreg/ModalRegister/modalRegister.js b/js-old/src/dapps/dappreg/ModalRegister/modalRegister.js similarity index 100% rename from js/src/dapps/dappreg/ModalRegister/modalRegister.js rename to js-old/src/dapps/dappreg/ModalRegister/modalRegister.js diff --git a/js/src/dapps/dappreg/ModalUpdate/index.js b/js-old/src/dapps/dappreg/ModalUpdate/index.js similarity index 100% rename from js/src/dapps/dappreg/ModalUpdate/index.js rename to js-old/src/dapps/dappreg/ModalUpdate/index.js diff --git a/js/src/dapps/dappreg/ModalUpdate/modalUpdate.js b/js-old/src/dapps/dappreg/ModalUpdate/modalUpdate.js similarity index 100% rename from js/src/dapps/dappreg/ModalUpdate/modalUpdate.js rename to js-old/src/dapps/dappreg/ModalUpdate/modalUpdate.js diff --git a/js/src/dapps/dappreg/SelectAccount/index.js b/js-old/src/dapps/dappreg/SelectAccount/index.js similarity index 100% rename from js/src/dapps/dappreg/SelectAccount/index.js rename to js-old/src/dapps/dappreg/SelectAccount/index.js diff --git a/js/src/dapps/dappreg/SelectAccount/selectAccount.js b/js-old/src/dapps/dappreg/SelectAccount/selectAccount.js similarity index 100% rename from js/src/dapps/dappreg/SelectAccount/selectAccount.js rename to js-old/src/dapps/dappreg/SelectAccount/selectAccount.js diff --git a/js/src/dapps/dappreg/Transactions/index.js b/js-old/src/dapps/dappreg/Transactions/index.js similarity index 100% rename from js/src/dapps/dappreg/Transactions/index.js rename to js-old/src/dapps/dappreg/Transactions/index.js diff --git a/js/src/dapps/dappreg/Transactions/transactions.css b/js-old/src/dapps/dappreg/Transactions/transactions.css similarity index 100% rename from js/src/dapps/dappreg/Transactions/transactions.css rename to js-old/src/dapps/dappreg/Transactions/transactions.css diff --git a/js/src/dapps/dappreg/Transactions/transactions.js b/js-old/src/dapps/dappreg/Transactions/transactions.js similarity index 100% rename from js/src/dapps/dappreg/Transactions/transactions.js rename to js-old/src/dapps/dappreg/Transactions/transactions.js diff --git a/js/src/dapps/dappreg/Warning/index.js b/js-old/src/dapps/dappreg/Warning/index.js similarity index 100% rename from js/src/dapps/dappreg/Warning/index.js rename to js-old/src/dapps/dappreg/Warning/index.js diff --git a/js/src/dapps/dappreg/Warning/warning.css b/js-old/src/dapps/dappreg/Warning/warning.css similarity index 100% rename from js/src/dapps/dappreg/Warning/warning.css rename to js-old/src/dapps/dappreg/Warning/warning.css diff --git a/js/src/dapps/dappreg/Warning/warning.js b/js-old/src/dapps/dappreg/Warning/warning.js similarity index 100% rename from js/src/dapps/dappreg/Warning/warning.js rename to js-old/src/dapps/dappreg/Warning/warning.js diff --git a/js/src/dapps/dappreg/_colors.css b/js-old/src/dapps/dappreg/_colors.css similarity index 100% rename from js/src/dapps/dappreg/_colors.css rename to js-old/src/dapps/dappreg/_colors.css diff --git a/js/src/dapps/dappreg/_utils.css b/js-old/src/dapps/dappreg/_utils.css similarity index 100% rename from js/src/dapps/dappreg/_utils.css rename to js-old/src/dapps/dappreg/_utils.css diff --git a/js/src/dapps/dappreg/dappStore.js b/js-old/src/dapps/dappreg/dappStore.js similarity index 100% rename from js/src/dapps/dappreg/dappStore.js rename to js-old/src/dapps/dappreg/dappStore.js diff --git a/js/src/dapps/dappreg/dappsStore.js b/js-old/src/dapps/dappreg/dappsStore.js similarity index 100% rename from js/src/dapps/dappreg/dappsStore.js rename to js-old/src/dapps/dappreg/dappsStore.js diff --git a/js/src/dapps/dappreg/parity.js b/js-old/src/dapps/dappreg/parity.js similarity index 100% rename from js/src/dapps/dappreg/parity.js rename to js-old/src/dapps/dappreg/parity.js diff --git a/js/src/dapps/dappreg/utils.js b/js-old/src/dapps/dappreg/utils.js similarity index 100% rename from js/src/dapps/dappreg/utils.js rename to js-old/src/dapps/dappreg/utils.js diff --git a/js/src/dapps/dappreg/utils.spec.js b/js-old/src/dapps/dappreg/utils.spec.js similarity index 100% rename from js/src/dapps/dappreg/utils.spec.js rename to js-old/src/dapps/dappreg/utils.spec.js diff --git a/js/src/dapps/githubhint.js b/js-old/src/dapps/githubhint.js similarity index 100% rename from js/src/dapps/githubhint.js rename to js-old/src/dapps/githubhint.js diff --git a/js/src/dapps/githubhint/Application/application.css b/js-old/src/dapps/githubhint/Application/application.css similarity index 100% rename from js/src/dapps/githubhint/Application/application.css rename to js-old/src/dapps/githubhint/Application/application.css diff --git a/js/src/dapps/githubhint/Application/application.js b/js-old/src/dapps/githubhint/Application/application.js similarity index 100% rename from js/src/dapps/githubhint/Application/application.js rename to js-old/src/dapps/githubhint/Application/application.js diff --git a/js/src/dapps/githubhint/Application/index.js b/js-old/src/dapps/githubhint/Application/index.js similarity index 100% rename from js/src/dapps/githubhint/Application/index.js rename to js-old/src/dapps/githubhint/Application/index.js diff --git a/js/src/dapps/githubhint/Button/button.css b/js-old/src/dapps/githubhint/Button/button.css similarity index 100% rename from js/src/dapps/githubhint/Button/button.css rename to js-old/src/dapps/githubhint/Button/button.css diff --git a/js/src/dapps/githubhint/Button/button.js b/js-old/src/dapps/githubhint/Button/button.js similarity index 100% rename from js/src/dapps/githubhint/Button/button.js rename to js-old/src/dapps/githubhint/Button/button.js diff --git a/js/src/dapps/githubhint/Button/index.js b/js-old/src/dapps/githubhint/Button/index.js similarity index 100% rename from js/src/dapps/githubhint/Button/index.js rename to js-old/src/dapps/githubhint/Button/index.js diff --git a/js/src/dapps/githubhint/Events/events.css b/js-old/src/dapps/githubhint/Events/events.css similarity index 100% rename from js/src/dapps/githubhint/Events/events.css rename to js-old/src/dapps/githubhint/Events/events.css diff --git a/js/src/dapps/githubhint/Events/events.js b/js-old/src/dapps/githubhint/Events/events.js similarity index 100% rename from js/src/dapps/githubhint/Events/events.js rename to js-old/src/dapps/githubhint/Events/events.js diff --git a/js/src/dapps/githubhint/Events/index.js b/js-old/src/dapps/githubhint/Events/index.js similarity index 100% rename from js/src/dapps/githubhint/Events/index.js rename to js-old/src/dapps/githubhint/Events/index.js diff --git a/js/src/dapps/githubhint/Loading/index.js b/js-old/src/dapps/githubhint/Loading/index.js similarity index 100% rename from js/src/dapps/githubhint/Loading/index.js rename to js-old/src/dapps/githubhint/Loading/index.js diff --git a/js/src/dapps/githubhint/Loading/loading.css b/js-old/src/dapps/githubhint/Loading/loading.css similarity index 100% rename from js/src/dapps/githubhint/Loading/loading.css rename to js-old/src/dapps/githubhint/Loading/loading.css diff --git a/js/src/dapps/githubhint/Loading/loading.js b/js-old/src/dapps/githubhint/Loading/loading.js similarity index 100% rename from js/src/dapps/githubhint/Loading/loading.js rename to js-old/src/dapps/githubhint/Loading/loading.js diff --git a/js/src/dapps/githubhint/parity.js b/js-old/src/dapps/githubhint/parity.js similarity index 100% rename from js/src/dapps/githubhint/parity.js rename to js-old/src/dapps/githubhint/parity.js diff --git a/js/src/dapps/githubhint/services.js b/js-old/src/dapps/githubhint/services.js similarity index 100% rename from js/src/dapps/githubhint/services.js rename to js-old/src/dapps/githubhint/services.js diff --git a/js/src/dapps/index.ejs b/js-old/src/dapps/index.ejs similarity index 100% rename from js/src/dapps/index.ejs rename to js-old/src/dapps/index.ejs diff --git a/js/src/dapps/localtx.js b/js-old/src/dapps/localtx.js similarity index 100% rename from js/src/dapps/localtx.js rename to js-old/src/dapps/localtx.js diff --git a/js/src/dapps/localtx/Application/application.css b/js-old/src/dapps/localtx/Application/application.css similarity index 100% rename from js/src/dapps/localtx/Application/application.css rename to js-old/src/dapps/localtx/Application/application.css diff --git a/js/src/dapps/localtx/Application/application.js b/js-old/src/dapps/localtx/Application/application.js similarity index 100% rename from js/src/dapps/localtx/Application/application.js rename to js-old/src/dapps/localtx/Application/application.js diff --git a/js/src/dapps/localtx/Application/application.spec.js b/js-old/src/dapps/localtx/Application/application.spec.js similarity index 100% rename from js/src/dapps/localtx/Application/application.spec.js rename to js-old/src/dapps/localtx/Application/application.spec.js diff --git a/js/src/dapps/localtx/Application/index.js b/js-old/src/dapps/localtx/Application/index.js similarity index 100% rename from js/src/dapps/localtx/Application/index.js rename to js-old/src/dapps/localtx/Application/index.js diff --git a/js/src/dapps/localtx/IdentityIcon/identityIcon.css b/js-old/src/dapps/localtx/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/localtx/IdentityIcon/identityIcon.css rename to js-old/src/dapps/localtx/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/localtx/IdentityIcon/identityIcon.js b/js-old/src/dapps/localtx/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/localtx/IdentityIcon/identityIcon.js rename to js-old/src/dapps/localtx/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/localtx/IdentityIcon/index.js b/js-old/src/dapps/localtx/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/localtx/IdentityIcon/index.js rename to js-old/src/dapps/localtx/IdentityIcon/index.js diff --git a/js/src/dapps/localtx/Transaction/index.js b/js-old/src/dapps/localtx/Transaction/index.js similarity index 100% rename from js/src/dapps/localtx/Transaction/index.js rename to js-old/src/dapps/localtx/Transaction/index.js diff --git a/js/src/dapps/localtx/Transaction/transaction.css b/js-old/src/dapps/localtx/Transaction/transaction.css similarity index 100% rename from js/src/dapps/localtx/Transaction/transaction.css rename to js-old/src/dapps/localtx/Transaction/transaction.css diff --git a/js/src/dapps/localtx/Transaction/transaction.js b/js-old/src/dapps/localtx/Transaction/transaction.js similarity index 100% rename from js/src/dapps/localtx/Transaction/transaction.js rename to js-old/src/dapps/localtx/Transaction/transaction.js diff --git a/js/src/dapps/localtx/Transaction/transaction.spec.js b/js-old/src/dapps/localtx/Transaction/transaction.spec.js similarity index 100% rename from js/src/dapps/localtx/Transaction/transaction.spec.js rename to js-old/src/dapps/localtx/Transaction/transaction.spec.js diff --git a/js/src/dapps/localtx/parity.js b/js-old/src/dapps/localtx/parity.js similarity index 100% rename from js/src/dapps/localtx/parity.js rename to js-old/src/dapps/localtx/parity.js diff --git a/js/src/dapps/registry.js b/js-old/src/dapps/registry.js similarity index 100% rename from js/src/dapps/registry.js rename to js-old/src/dapps/registry.js diff --git a/js/src/dapps/registry/Accounts/accounts.css b/js-old/src/dapps/registry/Accounts/accounts.css similarity index 100% rename from js/src/dapps/registry/Accounts/accounts.css rename to js-old/src/dapps/registry/Accounts/accounts.css diff --git a/js/src/dapps/registry/Accounts/accounts.js b/js-old/src/dapps/registry/Accounts/accounts.js similarity index 100% rename from js/src/dapps/registry/Accounts/accounts.js rename to js-old/src/dapps/registry/Accounts/accounts.js diff --git a/js/src/dapps/registry/Accounts/actions.js b/js-old/src/dapps/registry/Accounts/actions.js similarity index 100% rename from js/src/dapps/registry/Accounts/actions.js rename to js-old/src/dapps/registry/Accounts/actions.js diff --git a/js/src/dapps/registry/Accounts/index.js b/js-old/src/dapps/registry/Accounts/index.js similarity index 100% rename from js/src/dapps/registry/Accounts/index.js rename to js-old/src/dapps/registry/Accounts/index.js diff --git a/js/src/dapps/registry/Application/application.css b/js-old/src/dapps/registry/Application/application.css similarity index 100% rename from js/src/dapps/registry/Application/application.css rename to js-old/src/dapps/registry/Application/application.css diff --git a/js/src/dapps/registry/Application/application.js b/js-old/src/dapps/registry/Application/application.js similarity index 100% rename from js/src/dapps/registry/Application/application.js rename to js-old/src/dapps/registry/Application/application.js diff --git a/js/src/dapps/registry/Application/index.js b/js-old/src/dapps/registry/Application/index.js similarity index 100% rename from js/src/dapps/registry/Application/index.js rename to js-old/src/dapps/registry/Application/index.js diff --git a/js/src/dapps/registry/Container.js b/js-old/src/dapps/registry/Container.js similarity index 100% rename from js/src/dapps/registry/Container.js rename to js-old/src/dapps/registry/Container.js diff --git a/js/src/dapps/registry/Events/actions.js b/js-old/src/dapps/registry/Events/actions.js similarity index 100% rename from js/src/dapps/registry/Events/actions.js rename to js-old/src/dapps/registry/Events/actions.js diff --git a/js/src/dapps/registry/Events/events.css b/js-old/src/dapps/registry/Events/events.css similarity index 100% rename from js/src/dapps/registry/Events/events.css rename to js-old/src/dapps/registry/Events/events.css diff --git a/js/src/dapps/registry/Events/events.js b/js-old/src/dapps/registry/Events/events.js similarity index 100% rename from js/src/dapps/registry/Events/events.js rename to js-old/src/dapps/registry/Events/events.js diff --git a/js/src/dapps/registry/Events/index.js b/js-old/src/dapps/registry/Events/index.js similarity index 100% rename from js/src/dapps/registry/Events/index.js rename to js-old/src/dapps/registry/Events/index.js diff --git a/js/src/dapps/registry/Events/reducers.js b/js-old/src/dapps/registry/Events/reducers.js similarity index 100% rename from js/src/dapps/registry/Events/reducers.js rename to js-old/src/dapps/registry/Events/reducers.js diff --git a/js/src/dapps/registry/IdentityIcon/identityIcon.css b/js-old/src/dapps/registry/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/registry/IdentityIcon/identityIcon.css rename to js-old/src/dapps/registry/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/registry/IdentityIcon/identityIcon.js b/js-old/src/dapps/registry/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/registry/IdentityIcon/identityIcon.js rename to js-old/src/dapps/registry/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/registry/IdentityIcon/index.js b/js-old/src/dapps/registry/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/registry/IdentityIcon/index.js rename to js-old/src/dapps/registry/IdentityIcon/index.js diff --git a/js/src/dapps/registry/Lookup/actions.js b/js-old/src/dapps/registry/Lookup/actions.js similarity index 100% rename from js/src/dapps/registry/Lookup/actions.js rename to js-old/src/dapps/registry/Lookup/actions.js diff --git a/js/src/dapps/registry/Lookup/index.js b/js-old/src/dapps/registry/Lookup/index.js similarity index 100% rename from js/src/dapps/registry/Lookup/index.js rename to js-old/src/dapps/registry/Lookup/index.js diff --git a/js/src/dapps/registry/Lookup/lookup.css b/js-old/src/dapps/registry/Lookup/lookup.css similarity index 100% rename from js/src/dapps/registry/Lookup/lookup.css rename to js-old/src/dapps/registry/Lookup/lookup.css diff --git a/js/src/dapps/registry/Lookup/lookup.js b/js-old/src/dapps/registry/Lookup/lookup.js similarity index 100% rename from js/src/dapps/registry/Lookup/lookup.js rename to js-old/src/dapps/registry/Lookup/lookup.js diff --git a/js/src/dapps/registry/Lookup/reducers.js b/js-old/src/dapps/registry/Lookup/reducers.js similarity index 100% rename from js/src/dapps/registry/Lookup/reducers.js rename to js-old/src/dapps/registry/Lookup/reducers.js diff --git a/js/src/dapps/registry/Names/actions.js b/js-old/src/dapps/registry/Names/actions.js similarity index 100% rename from js/src/dapps/registry/Names/actions.js rename to js-old/src/dapps/registry/Names/actions.js diff --git a/js/src/dapps/registry/Names/index.js b/js-old/src/dapps/registry/Names/index.js similarity index 100% rename from js/src/dapps/registry/Names/index.js rename to js-old/src/dapps/registry/Names/index.js diff --git a/js/src/dapps/registry/Names/names.css b/js-old/src/dapps/registry/Names/names.css similarity index 100% rename from js/src/dapps/registry/Names/names.css rename to js-old/src/dapps/registry/Names/names.css diff --git a/js/src/dapps/registry/Names/names.js b/js-old/src/dapps/registry/Names/names.js similarity index 100% rename from js/src/dapps/registry/Names/names.js rename to js-old/src/dapps/registry/Names/names.js diff --git a/js/src/dapps/registry/Names/reducers.js b/js-old/src/dapps/registry/Names/reducers.js similarity index 100% rename from js/src/dapps/registry/Names/reducers.js rename to js-old/src/dapps/registry/Names/reducers.js diff --git a/js/src/dapps/registry/Records/actions.js b/js-old/src/dapps/registry/Records/actions.js similarity index 100% rename from js/src/dapps/registry/Records/actions.js rename to js-old/src/dapps/registry/Records/actions.js diff --git a/js/src/dapps/registry/Records/index.js b/js-old/src/dapps/registry/Records/index.js similarity index 100% rename from js/src/dapps/registry/Records/index.js rename to js-old/src/dapps/registry/Records/index.js diff --git a/js/src/dapps/registry/Records/records.css b/js-old/src/dapps/registry/Records/records.css similarity index 100% rename from js/src/dapps/registry/Records/records.css rename to js-old/src/dapps/registry/Records/records.css diff --git a/js/src/dapps/registry/Records/records.js b/js-old/src/dapps/registry/Records/records.js similarity index 100% rename from js/src/dapps/registry/Records/records.js rename to js-old/src/dapps/registry/Records/records.js diff --git a/js/src/dapps/registry/Records/reducers.js b/js-old/src/dapps/registry/Records/reducers.js similarity index 100% rename from js/src/dapps/registry/Records/reducers.js rename to js-old/src/dapps/registry/Records/reducers.js diff --git a/js/src/dapps/registry/Reverse/actions.js b/js-old/src/dapps/registry/Reverse/actions.js similarity index 100% rename from js/src/dapps/registry/Reverse/actions.js rename to js-old/src/dapps/registry/Reverse/actions.js diff --git a/js/src/dapps/registry/Reverse/index.js b/js-old/src/dapps/registry/Reverse/index.js similarity index 100% rename from js/src/dapps/registry/Reverse/index.js rename to js-old/src/dapps/registry/Reverse/index.js diff --git a/js/src/dapps/registry/Reverse/reducers.js b/js-old/src/dapps/registry/Reverse/reducers.js similarity index 100% rename from js/src/dapps/registry/Reverse/reducers.js rename to js-old/src/dapps/registry/Reverse/reducers.js diff --git a/js/src/dapps/registry/Reverse/reverse.css b/js-old/src/dapps/registry/Reverse/reverse.css similarity index 100% rename from js/src/dapps/registry/Reverse/reverse.css rename to js-old/src/dapps/registry/Reverse/reverse.css diff --git a/js/src/dapps/registry/Reverse/reverse.js b/js-old/src/dapps/registry/Reverse/reverse.js similarity index 100% rename from js/src/dapps/registry/Reverse/reverse.js rename to js-old/src/dapps/registry/Reverse/reverse.js diff --git a/js/src/dapps/registry/actions.js b/js-old/src/dapps/registry/actions.js similarity index 100% rename from js/src/dapps/registry/actions.js rename to js-old/src/dapps/registry/actions.js diff --git a/js/src/dapps/registry/addresses/accounts-reducer.js b/js-old/src/dapps/registry/addresses/accounts-reducer.js similarity index 100% rename from js/src/dapps/registry/addresses/accounts-reducer.js rename to js-old/src/dapps/registry/addresses/accounts-reducer.js diff --git a/js/src/dapps/registry/addresses/actions.js b/js-old/src/dapps/registry/addresses/actions.js similarity index 100% rename from js/src/dapps/registry/addresses/actions.js rename to js-old/src/dapps/registry/addresses/actions.js diff --git a/js/src/dapps/registry/addresses/contacts-reducer.js b/js-old/src/dapps/registry/addresses/contacts-reducer.js similarity index 100% rename from js/src/dapps/registry/addresses/contacts-reducer.js rename to js-old/src/dapps/registry/addresses/contacts-reducer.js diff --git a/js/src/dapps/registry/parity.js b/js-old/src/dapps/registry/parity.js similarity index 100% rename from js/src/dapps/registry/parity.js rename to js-old/src/dapps/registry/parity.js diff --git a/js/src/dapps/registry/reducers.js b/js-old/src/dapps/registry/reducers.js similarity index 100% rename from js/src/dapps/registry/reducers.js rename to js-old/src/dapps/registry/reducers.js diff --git a/js/src/dapps/registry/store.js b/js-old/src/dapps/registry/store.js similarity index 100% rename from js/src/dapps/registry/store.js rename to js-old/src/dapps/registry/store.js diff --git a/js/src/dapps/registry/ui/address.css b/js-old/src/dapps/registry/ui/address.css similarity index 100% rename from js/src/dapps/registry/ui/address.css rename to js-old/src/dapps/registry/ui/address.css diff --git a/js/src/dapps/registry/ui/address.js b/js-old/src/dapps/registry/ui/address.js similarity index 100% rename from js/src/dapps/registry/ui/address.js rename to js-old/src/dapps/registry/ui/address.js diff --git a/js/src/dapps/registry/ui/hash.css b/js-old/src/dapps/registry/ui/hash.css similarity index 100% rename from js/src/dapps/registry/ui/hash.css rename to js-old/src/dapps/registry/ui/hash.css diff --git a/js/src/dapps/registry/ui/hash.js b/js-old/src/dapps/registry/ui/hash.js similarity index 100% rename from js/src/dapps/registry/ui/hash.js rename to js-old/src/dapps/registry/ui/hash.js diff --git a/js/src/dapps/registry/ui/image.js b/js-old/src/dapps/registry/ui/image.js similarity index 100% rename from js/src/dapps/registry/ui/image.js rename to js-old/src/dapps/registry/ui/image.js diff --git a/js/src/dapps/registry/util/actions.js b/js-old/src/dapps/registry/util/actions.js similarity index 100% rename from js/src/dapps/registry/util/actions.js rename to js-old/src/dapps/registry/util/actions.js diff --git a/js/src/dapps/registry/util/etherscan-url.js b/js-old/src/dapps/registry/util/etherscan-url.js similarity index 100% rename from js/src/dapps/registry/util/etherscan-url.js rename to js-old/src/dapps/registry/util/etherscan-url.js diff --git a/js/src/dapps/registry/util/post-tx.js b/js-old/src/dapps/registry/util/post-tx.js similarity index 100% rename from js/src/dapps/registry/util/post-tx.js rename to js-old/src/dapps/registry/util/post-tx.js diff --git a/js/src/dapps/registry/util/registry.js b/js-old/src/dapps/registry/util/registry.js similarity index 100% rename from js/src/dapps/registry/util/registry.js rename to js-old/src/dapps/registry/util/registry.js diff --git a/js/src/dapps/signaturereg.js b/js-old/src/dapps/signaturereg.js similarity index 100% rename from js/src/dapps/signaturereg.js rename to js-old/src/dapps/signaturereg.js diff --git a/js/src/dapps/signaturereg/Application/application.css b/js-old/src/dapps/signaturereg/Application/application.css similarity index 100% rename from js/src/dapps/signaturereg/Application/application.css rename to js-old/src/dapps/signaturereg/Application/application.css diff --git a/js/src/dapps/signaturereg/Application/application.js b/js-old/src/dapps/signaturereg/Application/application.js similarity index 100% rename from js/src/dapps/signaturereg/Application/application.js rename to js-old/src/dapps/signaturereg/Application/application.js diff --git a/js/src/dapps/signaturereg/Application/index.js b/js-old/src/dapps/signaturereg/Application/index.js similarity index 100% rename from js/src/dapps/signaturereg/Application/index.js rename to js-old/src/dapps/signaturereg/Application/index.js diff --git a/js/src/dapps/signaturereg/Button/button.css b/js-old/src/dapps/signaturereg/Button/button.css similarity index 100% rename from js/src/dapps/signaturereg/Button/button.css rename to js-old/src/dapps/signaturereg/Button/button.css diff --git a/js/src/dapps/signaturereg/Button/button.js b/js-old/src/dapps/signaturereg/Button/button.js similarity index 100% rename from js/src/dapps/signaturereg/Button/button.js rename to js-old/src/dapps/signaturereg/Button/button.js diff --git a/js/src/dapps/signaturereg/Button/index.js b/js-old/src/dapps/signaturereg/Button/index.js similarity index 100% rename from js/src/dapps/signaturereg/Button/index.js rename to js-old/src/dapps/signaturereg/Button/index.js diff --git a/js/src/dapps/signaturereg/Events/events.css b/js-old/src/dapps/signaturereg/Events/events.css similarity index 100% rename from js/src/dapps/signaturereg/Events/events.css rename to js-old/src/dapps/signaturereg/Events/events.css diff --git a/js/src/dapps/signaturereg/Events/events.js b/js-old/src/dapps/signaturereg/Events/events.js similarity index 100% rename from js/src/dapps/signaturereg/Events/events.js rename to js-old/src/dapps/signaturereg/Events/events.js diff --git a/js/src/dapps/signaturereg/Events/index.js b/js-old/src/dapps/signaturereg/Events/index.js similarity index 100% rename from js/src/dapps/signaturereg/Events/index.js rename to js-old/src/dapps/signaturereg/Events/index.js diff --git a/js/src/dapps/signaturereg/Header/header.css b/js-old/src/dapps/signaturereg/Header/header.css similarity index 100% rename from js/src/dapps/signaturereg/Header/header.css rename to js-old/src/dapps/signaturereg/Header/header.css diff --git a/js/src/dapps/signaturereg/Header/header.js b/js-old/src/dapps/signaturereg/Header/header.js similarity index 100% rename from js/src/dapps/signaturereg/Header/header.js rename to js-old/src/dapps/signaturereg/Header/header.js diff --git a/js/src/dapps/signaturereg/Header/index.js b/js-old/src/dapps/signaturereg/Header/index.js similarity index 100% rename from js/src/dapps/signaturereg/Header/index.js rename to js-old/src/dapps/signaturereg/Header/index.js diff --git a/js/src/dapps/signaturereg/IdentityIcon/identityIcon.css b/js-old/src/dapps/signaturereg/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/signaturereg/IdentityIcon/identityIcon.css rename to js-old/src/dapps/signaturereg/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/signaturereg/IdentityIcon/identityIcon.js b/js-old/src/dapps/signaturereg/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/signaturereg/IdentityIcon/identityIcon.js rename to js-old/src/dapps/signaturereg/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/signaturereg/IdentityIcon/index.js b/js-old/src/dapps/signaturereg/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/signaturereg/IdentityIcon/index.js rename to js-old/src/dapps/signaturereg/IdentityIcon/index.js diff --git a/js/src/dapps/signaturereg/Import/import.css b/js-old/src/dapps/signaturereg/Import/import.css similarity index 100% rename from js/src/dapps/signaturereg/Import/import.css rename to js-old/src/dapps/signaturereg/Import/import.css diff --git a/js/src/dapps/signaturereg/Import/import.js b/js-old/src/dapps/signaturereg/Import/import.js similarity index 100% rename from js/src/dapps/signaturereg/Import/import.js rename to js-old/src/dapps/signaturereg/Import/import.js diff --git a/js/src/dapps/signaturereg/Import/index.js b/js-old/src/dapps/signaturereg/Import/index.js similarity index 100% rename from js/src/dapps/signaturereg/Import/index.js rename to js-old/src/dapps/signaturereg/Import/index.js diff --git a/js/src/dapps/signaturereg/Loading/index.js b/js-old/src/dapps/signaturereg/Loading/index.js similarity index 100% rename from js/src/dapps/signaturereg/Loading/index.js rename to js-old/src/dapps/signaturereg/Loading/index.js diff --git a/js/src/dapps/signaturereg/Loading/loading.css b/js-old/src/dapps/signaturereg/Loading/loading.css similarity index 100% rename from js/src/dapps/signaturereg/Loading/loading.css rename to js-old/src/dapps/signaturereg/Loading/loading.css diff --git a/js/src/dapps/signaturereg/Loading/loading.js b/js-old/src/dapps/signaturereg/Loading/loading.js similarity index 100% rename from js/src/dapps/signaturereg/Loading/loading.js rename to js-old/src/dapps/signaturereg/Loading/loading.js diff --git a/js/src/dapps/signaturereg/format.js b/js-old/src/dapps/signaturereg/format.js similarity index 100% rename from js/src/dapps/signaturereg/format.js rename to js-old/src/dapps/signaturereg/format.js diff --git a/js/src/dapps/signaturereg/parity.js b/js-old/src/dapps/signaturereg/parity.js similarity index 100% rename from js/src/dapps/signaturereg/parity.js rename to js-old/src/dapps/signaturereg/parity.js diff --git a/js/src/dapps/signaturereg/services.js b/js-old/src/dapps/signaturereg/services.js similarity index 100% rename from js/src/dapps/signaturereg/services.js rename to js-old/src/dapps/signaturereg/services.js diff --git a/js/src/dapps/static/.gitkeep b/js-old/src/dapps/static/.gitkeep similarity index 100% rename from js/src/dapps/static/.gitkeep rename to js-old/src/dapps/static/.gitkeep diff --git a/js/src/dapps/style.css b/js-old/src/dapps/style.css similarity index 100% rename from js/src/dapps/style.css rename to js-old/src/dapps/style.css diff --git a/js/src/dapps/tokendeploy.js b/js-old/src/dapps/tokendeploy.js similarity index 100% rename from js/src/dapps/tokendeploy.js rename to js-old/src/dapps/tokendeploy.js diff --git a/js/src/dapps/tokendeploy/AddressSelect/addressSelect.css b/js-old/src/dapps/tokendeploy/AddressSelect/addressSelect.css similarity index 100% rename from js/src/dapps/tokendeploy/AddressSelect/addressSelect.css rename to js-old/src/dapps/tokendeploy/AddressSelect/addressSelect.css diff --git a/js/src/dapps/tokendeploy/AddressSelect/addressSelect.js b/js-old/src/dapps/tokendeploy/AddressSelect/addressSelect.js similarity index 100% rename from js/src/dapps/tokendeploy/AddressSelect/addressSelect.js rename to js-old/src/dapps/tokendeploy/AddressSelect/addressSelect.js diff --git a/js/src/dapps/tokendeploy/AddressSelect/index.js b/js-old/src/dapps/tokendeploy/AddressSelect/index.js similarity index 100% rename from js/src/dapps/tokendeploy/AddressSelect/index.js rename to js-old/src/dapps/tokendeploy/AddressSelect/index.js diff --git a/js/src/dapps/tokendeploy/Application/Header/header.css b/js-old/src/dapps/tokendeploy/Application/Header/header.css similarity index 100% rename from js/src/dapps/tokendeploy/Application/Header/header.css rename to js-old/src/dapps/tokendeploy/Application/Header/header.css diff --git a/js/src/dapps/tokendeploy/Application/Header/header.js b/js-old/src/dapps/tokendeploy/Application/Header/header.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Header/header.js rename to js-old/src/dapps/tokendeploy/Application/Header/header.js diff --git a/js/src/dapps/tokendeploy/Application/Header/index.js b/js-old/src/dapps/tokendeploy/Application/Header/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Header/index.js rename to js-old/src/dapps/tokendeploy/Application/Header/index.js diff --git a/js/src/dapps/tokendeploy/Application/Loading/index.js b/js-old/src/dapps/tokendeploy/Application/Loading/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Loading/index.js rename to js-old/src/dapps/tokendeploy/Application/Loading/index.js diff --git a/js/src/dapps/tokendeploy/Application/Loading/loading.css b/js-old/src/dapps/tokendeploy/Application/Loading/loading.css similarity index 100% rename from js/src/dapps/tokendeploy/Application/Loading/loading.css rename to js-old/src/dapps/tokendeploy/Application/Loading/loading.css diff --git a/js/src/dapps/tokendeploy/Application/Loading/loading.js b/js-old/src/dapps/tokendeploy/Application/Loading/loading.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Loading/loading.js rename to js-old/src/dapps/tokendeploy/Application/Loading/loading.js diff --git a/js/src/dapps/tokendeploy/Application/application.css b/js-old/src/dapps/tokendeploy/Application/application.css similarity index 100% rename from js/src/dapps/tokendeploy/Application/application.css rename to js-old/src/dapps/tokendeploy/Application/application.css diff --git a/js/src/dapps/tokendeploy/Application/application.js b/js-old/src/dapps/tokendeploy/Application/application.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/application.js rename to js-old/src/dapps/tokendeploy/Application/application.js diff --git a/js/src/dapps/tokendeploy/Application/index.js b/js-old/src/dapps/tokendeploy/Application/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/index.js rename to js-old/src/dapps/tokendeploy/Application/index.js diff --git a/js/src/dapps/tokendeploy/Application/pages.js b/js-old/src/dapps/tokendeploy/Application/pages.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/pages.js rename to js-old/src/dapps/tokendeploy/Application/pages.js diff --git a/js/src/dapps/tokendeploy/Container/container.css b/js-old/src/dapps/tokendeploy/Container/container.css similarity index 100% rename from js/src/dapps/tokendeploy/Container/container.css rename to js-old/src/dapps/tokendeploy/Container/container.css diff --git a/js/src/dapps/tokendeploy/Container/container.js b/js-old/src/dapps/tokendeploy/Container/container.js similarity index 100% rename from js/src/dapps/tokendeploy/Container/container.js rename to js-old/src/dapps/tokendeploy/Container/container.js diff --git a/js/src/dapps/tokendeploy/Container/index.js b/js-old/src/dapps/tokendeploy/Container/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Container/index.js rename to js-old/src/dapps/tokendeploy/Container/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/Deployment/deployment.css b/js-old/src/dapps/tokendeploy/Deploy/Deployment/deployment.css similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Deployment/deployment.css rename to js-old/src/dapps/tokendeploy/Deploy/Deployment/deployment.css diff --git a/js/src/dapps/tokendeploy/Deploy/Deployment/deployment.js b/js-old/src/dapps/tokendeploy/Deploy/Deployment/deployment.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Deployment/deployment.js rename to js-old/src/dapps/tokendeploy/Deploy/Deployment/deployment.js diff --git a/js/src/dapps/tokendeploy/Deploy/Deployment/index.js b/js-old/src/dapps/tokendeploy/Deploy/Deployment/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Deployment/index.js rename to js-old/src/dapps/tokendeploy/Deploy/Deployment/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/Event/event.css b/js-old/src/dapps/tokendeploy/Deploy/Event/event.css similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Event/event.css rename to js-old/src/dapps/tokendeploy/Deploy/Event/event.css diff --git a/js/src/dapps/tokendeploy/Deploy/Event/event.js b/js-old/src/dapps/tokendeploy/Deploy/Event/event.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Event/event.js rename to js-old/src/dapps/tokendeploy/Deploy/Event/event.js diff --git a/js/src/dapps/tokendeploy/Deploy/Event/index.js b/js-old/src/dapps/tokendeploy/Deploy/Event/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Event/index.js rename to js-old/src/dapps/tokendeploy/Deploy/Event/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/Events/events.css b/js-old/src/dapps/tokendeploy/Deploy/Events/events.css similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Events/events.css rename to js-old/src/dapps/tokendeploy/Deploy/Events/events.css diff --git a/js/src/dapps/tokendeploy/Deploy/Events/events.js b/js-old/src/dapps/tokendeploy/Deploy/Events/events.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Events/events.js rename to js-old/src/dapps/tokendeploy/Deploy/Events/events.js diff --git a/js/src/dapps/tokendeploy/Deploy/Events/index.js b/js-old/src/dapps/tokendeploy/Deploy/Events/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Events/index.js rename to js-old/src/dapps/tokendeploy/Deploy/Events/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/deploy.js b/js-old/src/dapps/tokendeploy/Deploy/deploy.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/deploy.js rename to js-old/src/dapps/tokendeploy/Deploy/deploy.js diff --git a/js/src/dapps/tokendeploy/Deploy/index.js b/js-old/src/dapps/tokendeploy/Deploy/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/index.js rename to js-old/src/dapps/tokendeploy/Deploy/index.js diff --git a/js/src/dapps/tokendeploy/IdentityIcon/identityIcon.css b/js-old/src/dapps/tokendeploy/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/tokendeploy/IdentityIcon/identityIcon.css rename to js-old/src/dapps/tokendeploy/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/tokendeploy/IdentityIcon/identityIcon.js b/js-old/src/dapps/tokendeploy/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/tokendeploy/IdentityIcon/identityIcon.js rename to js-old/src/dapps/tokendeploy/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/tokendeploy/IdentityIcon/index.js b/js-old/src/dapps/tokendeploy/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/tokendeploy/IdentityIcon/index.js rename to js-old/src/dapps/tokendeploy/IdentityIcon/index.js diff --git a/js/src/dapps/tokendeploy/Overview/Owner/index.js b/js-old/src/dapps/tokendeploy/Overview/Owner/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Owner/index.js rename to js-old/src/dapps/tokendeploy/Overview/Owner/index.js diff --git a/js/src/dapps/tokendeploy/Overview/Owner/owner.css b/js-old/src/dapps/tokendeploy/Overview/Owner/owner.css similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Owner/owner.css rename to js-old/src/dapps/tokendeploy/Overview/Owner/owner.css diff --git a/js/src/dapps/tokendeploy/Overview/Owner/owner.js b/js-old/src/dapps/tokendeploy/Overview/Owner/owner.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Owner/owner.js rename to js-old/src/dapps/tokendeploy/Overview/Owner/owner.js diff --git a/js/src/dapps/tokendeploy/Overview/Token/index.js b/js-old/src/dapps/tokendeploy/Overview/Token/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Token/index.js rename to js-old/src/dapps/tokendeploy/Overview/Token/index.js diff --git a/js/src/dapps/tokendeploy/Overview/Token/token.css b/js-old/src/dapps/tokendeploy/Overview/Token/token.css similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Token/token.css rename to js-old/src/dapps/tokendeploy/Overview/Token/token.css diff --git a/js/src/dapps/tokendeploy/Overview/Token/token.js b/js-old/src/dapps/tokendeploy/Overview/Token/token.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Token/token.js rename to js-old/src/dapps/tokendeploy/Overview/Token/token.js diff --git a/js/src/dapps/tokendeploy/Overview/index.js b/js-old/src/dapps/tokendeploy/Overview/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/index.js rename to js-old/src/dapps/tokendeploy/Overview/index.js diff --git a/js/src/dapps/tokendeploy/Overview/overview.css b/js-old/src/dapps/tokendeploy/Overview/overview.css similarity index 100% rename from js/src/dapps/tokendeploy/Overview/overview.css rename to js-old/src/dapps/tokendeploy/Overview/overview.css diff --git a/js/src/dapps/tokendeploy/Overview/overview.js b/js-old/src/dapps/tokendeploy/Overview/overview.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/overview.js rename to js-old/src/dapps/tokendeploy/Overview/overview.js diff --git a/js/src/dapps/tokendeploy/Transfer/Event/event.js b/js-old/src/dapps/tokendeploy/Transfer/Event/event.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Event/event.js rename to js-old/src/dapps/tokendeploy/Transfer/Event/event.js diff --git a/js/src/dapps/tokendeploy/Transfer/Event/index.js b/js-old/src/dapps/tokendeploy/Transfer/Event/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Event/index.js rename to js-old/src/dapps/tokendeploy/Transfer/Event/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/Events/events.js b/js-old/src/dapps/tokendeploy/Transfer/Events/events.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Events/events.js rename to js-old/src/dapps/tokendeploy/Transfer/Events/events.js diff --git a/js/src/dapps/tokendeploy/Transfer/Events/index.js b/js-old/src/dapps/tokendeploy/Transfer/Events/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Events/index.js rename to js-old/src/dapps/tokendeploy/Transfer/Events/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/Send/index.js b/js-old/src/dapps/tokendeploy/Transfer/Send/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Send/index.js rename to js-old/src/dapps/tokendeploy/Transfer/Send/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/Send/send.css b/js-old/src/dapps/tokendeploy/Transfer/Send/send.css similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Send/send.css rename to js-old/src/dapps/tokendeploy/Transfer/Send/send.css diff --git a/js/src/dapps/tokendeploy/Transfer/Send/send.js b/js-old/src/dapps/tokendeploy/Transfer/Send/send.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Send/send.js rename to js-old/src/dapps/tokendeploy/Transfer/Send/send.js diff --git a/js/src/dapps/tokendeploy/Transfer/index.js b/js-old/src/dapps/tokendeploy/Transfer/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/index.js rename to js-old/src/dapps/tokendeploy/Transfer/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/transfer.js b/js-old/src/dapps/tokendeploy/Transfer/transfer.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/transfer.js rename to js-old/src/dapps/tokendeploy/Transfer/transfer.js diff --git a/js/src/dapps/tokendeploy/_form.css b/js-old/src/dapps/tokendeploy/_form.css similarity index 100% rename from js/src/dapps/tokendeploy/_form.css rename to js-old/src/dapps/tokendeploy/_form.css diff --git a/js/src/dapps/tokendeploy/_status.css b/js-old/src/dapps/tokendeploy/_status.css similarity index 100% rename from js/src/dapps/tokendeploy/_status.css rename to js-old/src/dapps/tokendeploy/_status.css diff --git a/js/src/dapps/tokendeploy/background.jpg b/js-old/src/dapps/tokendeploy/background.jpg similarity index 100% rename from js/src/dapps/tokendeploy/background.jpg rename to js-old/src/dapps/tokendeploy/background.jpg diff --git a/js/src/dapps/tokendeploy/parity.js b/js-old/src/dapps/tokendeploy/parity.js similarity index 100% rename from js/src/dapps/tokendeploy/parity.js rename to js-old/src/dapps/tokendeploy/parity.js diff --git a/js/src/dapps/tokendeploy/services.js b/js-old/src/dapps/tokendeploy/services.js similarity index 100% rename from js/src/dapps/tokendeploy/services.js rename to js-old/src/dapps/tokendeploy/services.js diff --git a/js/src/dapps/tokenreg.js b/js-old/src/dapps/tokenreg.js similarity index 100% rename from js/src/dapps/tokenreg.js rename to js-old/src/dapps/tokenreg.js diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.css b/js-old/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.css similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.css rename to js-old/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.css diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.js b/js-old/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.js rename to js-old/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.js diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/container.js b/js-old/src/dapps/tokenreg/Accounts/AccountSelector/container.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/container.js rename to js-old/src/dapps/tokenreg/Accounts/AccountSelector/container.js diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/index.js b/js-old/src/dapps/tokenreg/Accounts/AccountSelector/index.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/index.js rename to js-old/src/dapps/tokenreg/Accounts/AccountSelector/index.js diff --git a/js/src/dapps/tokenreg/Accounts/actions.js b/js-old/src/dapps/tokenreg/Accounts/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/actions.js rename to js-old/src/dapps/tokenreg/Accounts/actions.js diff --git a/js/src/dapps/tokenreg/Accounts/reducer.js b/js-old/src/dapps/tokenreg/Accounts/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/reducer.js rename to js-old/src/dapps/tokenreg/Accounts/reducer.js diff --git a/js/src/dapps/tokenreg/Actions/Query/index.js b/js-old/src/dapps/tokenreg/Actions/Query/index.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Query/index.js rename to js-old/src/dapps/tokenreg/Actions/Query/index.js diff --git a/js/src/dapps/tokenreg/Actions/Query/query.js b/js-old/src/dapps/tokenreg/Actions/Query/query.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Query/query.js rename to js-old/src/dapps/tokenreg/Actions/Query/query.js diff --git a/js/src/dapps/tokenreg/Actions/Register/index.js b/js-old/src/dapps/tokenreg/Actions/Register/index.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Register/index.js rename to js-old/src/dapps/tokenreg/Actions/Register/index.js diff --git a/js/src/dapps/tokenreg/Actions/Register/register.js b/js-old/src/dapps/tokenreg/Actions/Register/register.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Register/register.js rename to js-old/src/dapps/tokenreg/Actions/Register/register.js diff --git a/js/src/dapps/tokenreg/Actions/actions.css b/js-old/src/dapps/tokenreg/Actions/actions.css similarity index 100% rename from js/src/dapps/tokenreg/Actions/actions.css rename to js-old/src/dapps/tokenreg/Actions/actions.css diff --git a/js/src/dapps/tokenreg/Actions/actions.js b/js-old/src/dapps/tokenreg/Actions/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/actions.js rename to js-old/src/dapps/tokenreg/Actions/actions.js diff --git a/js/src/dapps/tokenreg/Actions/component.js b/js-old/src/dapps/tokenreg/Actions/component.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/component.js rename to js-old/src/dapps/tokenreg/Actions/component.js diff --git a/js/src/dapps/tokenreg/Actions/container.js b/js-old/src/dapps/tokenreg/Actions/container.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/container.js rename to js-old/src/dapps/tokenreg/Actions/container.js diff --git a/js/src/dapps/tokenreg/Actions/index.js b/js-old/src/dapps/tokenreg/Actions/index.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/index.js rename to js-old/src/dapps/tokenreg/Actions/index.js diff --git a/js/src/dapps/tokenreg/Actions/reducer.js b/js-old/src/dapps/tokenreg/Actions/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/reducer.js rename to js-old/src/dapps/tokenreg/Actions/reducer.js diff --git a/js/src/dapps/tokenreg/Application/application.css b/js-old/src/dapps/tokenreg/Application/application.css similarity index 98% rename from js/src/dapps/tokenreg/Application/application.css rename to js-old/src/dapps/tokenreg/Application/application.css index d855b6388a04b80d9ce359daa193ac2b6f1dfa09..b1eef22e45b3977c440165568b1dfe3c476c7558 100644 --- a/js/src/dapps/tokenreg/Application/application.css +++ b/js-old/src/dapps/tokenreg/Application/application.css @@ -29,7 +29,6 @@ left: 0; opacity: 1; padding: 1.5em; - cursor: pointer; position: fixed; right: 50%; z-index: 100; diff --git a/js/src/dapps/tokenreg/Application/application.js b/js-old/src/dapps/tokenreg/Application/application.js similarity index 73% rename from js/src/dapps/tokenreg/Application/application.js rename to js-old/src/dapps/tokenreg/Application/application.js index df4a53ff102b32ddb57406b2a1694808058d013e..71081c7ee57a3a15d7a19d09dce8dc58c626b3f0 100644 --- a/js/src/dapps/tokenreg/Application/application.js +++ b/js-old/src/dapps/tokenreg/Application/application.js @@ -43,13 +43,8 @@ export default class Application extends Component { contract: PropTypes.object }; - state = { - hideWarning: false - }; - render () { const { isLoading, contract } = this.props; - const { hideWarning } = this.state; if (isLoading) { return ( @@ -67,15 +62,9 @@ export default class Application extends Component { - { - hideWarning - ? null - : ( -
- WARNING: The token registry is experimental. Please ensure that you understand the steps, risks, benefits & consequences of registering a token before doing so. A non-refundable fee of { api.util.fromWei(contract.fee).toFormat(3) }ETH is required for all registrations. -
- ) - } +
+ WARNING: The token registry is experimental. Please ensure that you understand the steps, risks, benefits & consequences of registering a token before doing so. A non-refundable fee of { api.util.fromWei(contract.fee).toFormat(3) }ETH is required for all registrations. +
); } @@ -85,8 +74,4 @@ export default class Application extends Component { muiTheme }; } - - handleHideWarning = () => { - this.setState({ hideWarning: true }); - } } diff --git a/js/src/dapps/tokenreg/Application/index.js b/js-old/src/dapps/tokenreg/Application/index.js similarity index 100% rename from js/src/dapps/tokenreg/Application/index.js rename to js-old/src/dapps/tokenreg/Application/index.js diff --git a/js/src/dapps/tokenreg/Chip/chip.css b/js-old/src/dapps/tokenreg/Chip/chip.css similarity index 100% rename from js/src/dapps/tokenreg/Chip/chip.css rename to js-old/src/dapps/tokenreg/Chip/chip.css diff --git a/js/src/dapps/tokenreg/Chip/chip.js b/js-old/src/dapps/tokenreg/Chip/chip.js similarity index 100% rename from js/src/dapps/tokenreg/Chip/chip.js rename to js-old/src/dapps/tokenreg/Chip/chip.js diff --git a/js/src/dapps/tokenreg/Chip/index.js b/js-old/src/dapps/tokenreg/Chip/index.js similarity index 100% rename from js/src/dapps/tokenreg/Chip/index.js rename to js-old/src/dapps/tokenreg/Chip/index.js diff --git a/js/src/dapps/tokenreg/Container.js b/js-old/src/dapps/tokenreg/Container.js similarity index 100% rename from js/src/dapps/tokenreg/Container.js rename to js-old/src/dapps/tokenreg/Container.js diff --git a/js/src/dapps/tokenreg/IdentityIcon/identityIcon.css b/js-old/src/dapps/tokenreg/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/tokenreg/IdentityIcon/identityIcon.css rename to js-old/src/dapps/tokenreg/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/tokenreg/IdentityIcon/identityIcon.js b/js-old/src/dapps/tokenreg/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/tokenreg/IdentityIcon/identityIcon.js rename to js-old/src/dapps/tokenreg/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/tokenreg/IdentityIcon/index.js b/js-old/src/dapps/tokenreg/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/tokenreg/IdentityIcon/index.js rename to js-old/src/dapps/tokenreg/IdentityIcon/index.js diff --git a/js/src/dapps/tokenreg/Inputs/Text/container.js b/js-old/src/dapps/tokenreg/Inputs/Text/container.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/Text/container.js rename to js-old/src/dapps/tokenreg/Inputs/Text/container.js diff --git a/js/src/dapps/tokenreg/Inputs/Text/index.js b/js-old/src/dapps/tokenreg/Inputs/Text/index.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/Text/index.js rename to js-old/src/dapps/tokenreg/Inputs/Text/index.js diff --git a/js/src/dapps/tokenreg/Inputs/Text/input-text.js b/js-old/src/dapps/tokenreg/Inputs/Text/input-text.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/Text/input-text.js rename to js-old/src/dapps/tokenreg/Inputs/Text/input-text.js diff --git a/js/src/dapps/tokenreg/Inputs/inputs.css b/js-old/src/dapps/tokenreg/Inputs/inputs.css similarity index 100% rename from js/src/dapps/tokenreg/Inputs/inputs.css rename to js-old/src/dapps/tokenreg/Inputs/inputs.css diff --git a/js/src/dapps/tokenreg/Inputs/validation.js b/js-old/src/dapps/tokenreg/Inputs/validation.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/validation.js rename to js-old/src/dapps/tokenreg/Inputs/validation.js diff --git a/js/src/dapps/tokenreg/Loading/index.js b/js-old/src/dapps/tokenreg/Loading/index.js similarity index 100% rename from js/src/dapps/tokenreg/Loading/index.js rename to js-old/src/dapps/tokenreg/Loading/index.js diff --git a/js/src/dapps/tokenreg/Loading/loading.css b/js-old/src/dapps/tokenreg/Loading/loading.css similarity index 100% rename from js/src/dapps/tokenreg/Loading/loading.css rename to js-old/src/dapps/tokenreg/Loading/loading.css diff --git a/js/src/dapps/tokenreg/Loading/loading.js b/js-old/src/dapps/tokenreg/Loading/loading.js similarity index 100% rename from js/src/dapps/tokenreg/Loading/loading.js rename to js-old/src/dapps/tokenreg/Loading/loading.js diff --git a/js/src/dapps/tokenreg/Status/actions.js b/js-old/src/dapps/tokenreg/Status/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Status/actions.js rename to js-old/src/dapps/tokenreg/Status/actions.js diff --git a/js/src/dapps/tokenreg/Status/index.js b/js-old/src/dapps/tokenreg/Status/index.js similarity index 100% rename from js/src/dapps/tokenreg/Status/index.js rename to js-old/src/dapps/tokenreg/Status/index.js diff --git a/js/src/dapps/tokenreg/Status/reducer.js b/js-old/src/dapps/tokenreg/Status/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Status/reducer.js rename to js-old/src/dapps/tokenreg/Status/reducer.js diff --git a/js/src/dapps/tokenreg/Status/status.css b/js-old/src/dapps/tokenreg/Status/status.css similarity index 100% rename from js/src/dapps/tokenreg/Status/status.css rename to js-old/src/dapps/tokenreg/Status/status.css diff --git a/js/src/dapps/tokenreg/Status/status.js b/js-old/src/dapps/tokenreg/Status/status.js similarity index 100% rename from js/src/dapps/tokenreg/Status/status.js rename to js-old/src/dapps/tokenreg/Status/status.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/add-meta.js b/js-old/src/dapps/tokenreg/Tokens/Token/add-meta.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/add-meta.js rename to js-old/src/dapps/tokenreg/Tokens/Token/add-meta.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/index.js b/js-old/src/dapps/tokenreg/Tokens/Token/index.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/index.js rename to js-old/src/dapps/tokenreg/Tokens/Token/index.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/token.css b/js-old/src/dapps/tokenreg/Tokens/Token/token.css similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/token.css rename to js-old/src/dapps/tokenreg/Tokens/Token/token.css diff --git a/js/src/dapps/tokenreg/Tokens/Token/token.js b/js-old/src/dapps/tokenreg/Tokens/Token/token.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/token.js rename to js-old/src/dapps/tokenreg/Tokens/Token/token.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/tokenContainer.js b/js-old/src/dapps/tokenreg/Tokens/Token/tokenContainer.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/tokenContainer.js rename to js-old/src/dapps/tokenreg/Tokens/Token/tokenContainer.js diff --git a/js/src/dapps/tokenreg/Tokens/actions.js b/js-old/src/dapps/tokenreg/Tokens/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/actions.js rename to js-old/src/dapps/tokenreg/Tokens/actions.js diff --git a/js/src/dapps/tokenreg/Tokens/container.js b/js-old/src/dapps/tokenreg/Tokens/container.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/container.js rename to js-old/src/dapps/tokenreg/Tokens/container.js diff --git a/js/src/dapps/tokenreg/Tokens/index.js b/js-old/src/dapps/tokenreg/Tokens/index.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/index.js rename to js-old/src/dapps/tokenreg/Tokens/index.js diff --git a/js/src/dapps/tokenreg/Tokens/reducer.js b/js-old/src/dapps/tokenreg/Tokens/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/reducer.js rename to js-old/src/dapps/tokenreg/Tokens/reducer.js diff --git a/js/src/dapps/tokenreg/Tokens/tokens.css b/js-old/src/dapps/tokenreg/Tokens/tokens.css similarity index 100% rename from js/src/dapps/tokenreg/Tokens/tokens.css rename to js-old/src/dapps/tokenreg/Tokens/tokens.css diff --git a/js/src/dapps/tokenreg/Tokens/tokens.js b/js-old/src/dapps/tokenreg/Tokens/tokens.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/tokens.js rename to js-old/src/dapps/tokenreg/Tokens/tokens.js diff --git a/js/src/dapps/tokenreg/constants.js b/js-old/src/dapps/tokenreg/constants.js similarity index 100% rename from js/src/dapps/tokenreg/constants.js rename to js-old/src/dapps/tokenreg/constants.js diff --git a/js/src/dapps/tokenreg/parity.js b/js-old/src/dapps/tokenreg/parity.js similarity index 100% rename from js/src/dapps/tokenreg/parity.js rename to js-old/src/dapps/tokenreg/parity.js diff --git a/js/src/dapps/tokenreg/reducers.js b/js-old/src/dapps/tokenreg/reducers.js similarity index 100% rename from js/src/dapps/tokenreg/reducers.js rename to js-old/src/dapps/tokenreg/reducers.js diff --git a/js/src/dapps/tokenreg/store.js b/js-old/src/dapps/tokenreg/store.js similarity index 100% rename from js/src/dapps/tokenreg/store.js rename to js-old/src/dapps/tokenreg/store.js diff --git a/js/src/dapps/tokenreg/utils.js b/js-old/src/dapps/tokenreg/utils.js similarity index 100% rename from js/src/dapps/tokenreg/utils.js rename to js-old/src/dapps/tokenreg/utils.js diff --git a/js-old/src/dev.parity.html b/js-old/src/dev.parity.html new file mode 100644 index 0000000000000000000000000000000000000000..504dfbb7079d4a2f4ccbde46b021b7b5e2a8040a --- /dev/null +++ b/js-old/src/dev.parity.html @@ -0,0 +1,36 @@ + + + + + + + + dev::Parity.js + + + + +
+ best block #unknown +
+ + + diff --git a/js-old/src/dev.web3.html b/js-old/src/dev.web3.html new file mode 100644 index 0000000000000000000000000000000000000000..f4006160a039d192e0083ef83a5edc0c88998343 --- /dev/null +++ b/js-old/src/dev.web3.html @@ -0,0 +1,38 @@ + + + + + + + + dev::Web3 + + + + +
+ best block #unknown +
+ + + diff --git a/js-old/src/embed.js b/js-old/src/embed.js new file mode 100644 index 0000000000000000000000000000000000000000..0413fb4663bc942f17f1979c4a634ae046d0cef2 --- /dev/null +++ b/js-old/src/embed.js @@ -0,0 +1,132 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import 'whatwg-fetch'; + +import es6Promise from 'es6-promise'; +es6Promise.polyfill(); + +import React from 'react'; +import ReactDOM from 'react-dom'; +import { AppContainer } from 'react-hot-loader'; + +import injectTapEventPlugin from 'react-tap-event-plugin'; + +import SecureApi from '~/secureApi'; +import ContractInstances from '~/contracts'; + +import { initStore } from '~/redux'; +import ContextProvider from '~/ui/ContextProvider'; +import muiTheme from '~/ui/Theme'; + +import { patchApi } from '~/util/tx'; +import { setApi } from '~/redux/providers/apiActions'; + +import '~/environment'; + +import '../assets/fonts/Roboto/font.css'; +import '../assets/fonts/RobotoMono/font.css'; + +injectTapEventPlugin(); + +import ParityBar from '~/views/ParityBar'; + +// Test transport (std transport should be provided as global object) +class FakeTransport { + constructor () { + console.warn('Secure Transport not provided. Falling back to FakeTransport'); + } + + execute (method, ...params) { + console.log('Calling', method, params); + return Promise.reject('not connected'); + } + + addMiddleware () { + } + + on () { + } +} + +class FrameSecureApi extends SecureApi { + constructor (transport) { + super( + transport.uiUrl, + null, + () => transport, + () => 'http:' + ); + } + + connect () { + // Do nothing - this API does not need connecting + this.emit('connecting'); + // Fetch settings + this._fetchSettings(); + // Fire connected event with some delay. + setTimeout(() => { + this.emit('connected'); + }); + } + + needsToken () { + return false; + } + + isConnecting () { + return false; + } + + isConnected () { + return true; + } +} + +const transport = window.secureTransport || new FakeTransport(); +const uiUrl = transport.uiUrl || 'http://127.0.0.1:8180'; + +transport.uiUrlWithProtocol = uiUrl; +transport.uiUrl = uiUrl.replace('http://', '').replace('https://', ''); +const api = new FrameSecureApi(transport); + +patchApi(api); +ContractInstances.create(api); + +const store = initStore(api, null, true); + +store.dispatch({ type: 'initAll', api }); +store.dispatch(setApi(api)); + +window.secureApi = api; + +const app = ( + +); +const container = document.querySelector('#container'); + +ReactDOM.render( + + + { app } + + , + container +); diff --git a/js/src/environment/empty.js b/js-old/src/environment/empty.js similarity index 100% rename from js/src/environment/empty.js rename to js-old/src/environment/empty.js diff --git a/js/src/environment/index.js b/js-old/src/environment/index.js similarity index 100% rename from js/src/environment/index.js rename to js-old/src/environment/index.js diff --git a/js/src/environment/integration-tests/fake-backend.js b/js-old/src/environment/integration-tests/fake-backend.js similarity index 100% rename from js/src/environment/integration-tests/fake-backend.js rename to js-old/src/environment/integration-tests/fake-backend.js diff --git a/js/src/environment/integration-tests/index.js b/js-old/src/environment/integration-tests/index.js similarity index 100% rename from js/src/environment/integration-tests/index.js rename to js-old/src/environment/integration-tests/index.js diff --git a/js/src/environment/perf-debug/index.js b/js-old/src/environment/perf-debug/index.js similarity index 100% rename from js/src/environment/perf-debug/index.js rename to js-old/src/environment/perf-debug/index.js diff --git a/js/src/environment/perf-debug/why-update.js b/js-old/src/environment/perf-debug/why-update.js similarity index 100% rename from js/src/environment/perf-debug/why-update.js rename to js-old/src/environment/perf-debug/why-update.js diff --git a/js/src/environment/tests/index.js b/js-old/src/environment/tests/index.js similarity index 100% rename from js/src/environment/tests/index.js rename to js-old/src/environment/tests/index.js diff --git a/js/src/environment/tests/test-utils.js b/js-old/src/environment/tests/test-utils.js similarity index 100% rename from js/src/environment/tests/test-utils.js rename to js-old/src/environment/tests/test-utils.js diff --git a/js-old/src/error_pages.css b/js-old/src/error_pages.css new file mode 100644 index 0000000000000000000000000000000000000000..305f9caaadc7229e2730237a8fee9d81ebe710e5 --- /dev/null +++ b/js-old/src/error_pages.css @@ -0,0 +1,113 @@ +/* Copyright 2015-2017 Parity Technologies (UK) Ltd. +/* This file is part of Parity. +/* +/* Parity is free software: you can redistribute it and/or modify +/* it under the terms of the GNU General Public License as published by +/* the Free Software Foundation, either version 3 of the License, or +/* (at your option) any later version. +/* +/* Parity is distributed in the hope that it will be useful, +/* but WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU General Public License for more details. +/* +/* You should have received a copy of the GNU General Public License +/* along with Parity. If not, see . +*/ + +@font-face { + font-family: "Roboto"; + src: url('~roboto-font/fonts/Roboto/roboto-light-webfont.eot'); + src: url('~roboto-font/fonts/Roboto/roboto-light-webfont.eot?#iefix') format('embedded-opentype'), url('~roboto-font/fonts/Roboto/roboto-light-webfont.woff') format('woff'), url('~roboto-font/fonts/Roboto/roboto-light-webfont.ttf') format('truetype'); + font-weight: 300; + font-style: normal; +} + +@font-face { + font-family: 'Roboto Mono'; + src: url('~roboto-mono-webfont/fonts/RobotoMono-Light.ttf') format('truetype'); + font-style: normal; + font-weight: 300; + text-rendering: optimizeLegibility; +} + +:root, :root body { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; + background: rgb(95, 95, 95); + color: rgba(255, 255, 255, 0.75); + font-size: 16px; + font-family: 'Roboto', sans-serif; + font-weight: 300; +} + +:root a, :root a:visited { + text-decoration: none; + cursor: pointer; + color: rgb(0, 151, 167); /* #f80 */ +} + +:root a:hover { + color: rgb(0, 174, 193); +} + +h1,h2,h3,h4,h5,h6 { + font-weight: 300; + text-transform: uppercase; + text-decoration: none; +} + +h1 { + font-size: 24px; + line-height: 36px; + color: rgb(0, 151, 167); +} + +h2 { + font-size: 20px; + line-height: 34px; +} + +code,kbd,pre,samp { + font-family: 'Roboto Mono', monospace; +} + +.parity-navbar { + background: rgb(65, 65, 65); + height: 72px; + padding: 0 1rem; + display: flex; + justify-content: space-between; +} + +.parity-status { + clear: both; + padding: 1rem; + margin: 1rem 0; + text-align: right; + opacity: 0.75; +} + +.parity-box { + margin: 1rem; + padding: 1rem; + background-color: rgb(48, 48, 48); + box-sizing: border-box; + box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.117647) 0px 1px 4px; + border-radius: 2px; + z-index: 1; + color: #aaa; +} + +.parity-box h1, +.parity-box h2, +.parity-box h3, +.parity-box h4, +.parity-box h5, +.parity-box h6 { + margin: 0; +} diff --git a/js-old/src/i18n/_default/account.js b/js-old/src/i18n/_default/account.js new file mode 100644 index 0000000000000000000000000000000000000000..7c9d255204317327e7380484f7918991b4c0b950 --- /dev/null +++ b/js-old/src/i18n/_default/account.js @@ -0,0 +1,39 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + button: { + delete: `delete`, + edit: `edit`, + faucet: `Kovan ETH`, + password: `password`, + shapeshift: `shapeshift`, + transfer: `transfer`, + verify: `verify` + }, + hardware: { + confirmDelete: `Are you sure you want to remove the following hardware address from your account list?` + }, + header: { + outgoingTransactions: `{count} outgoing transactions`, + uuid: `uuid: {uuid}` + }, + title: `Account Management`, + transactions: { + poweredBy: `Transaction list powered by {etherscan}`, + title: `transactions` + } +}; diff --git a/js-old/src/i18n/_default/accounts.js b/js-old/src/i18n/_default/accounts.js new file mode 100644 index 0000000000000000000000000000000000000000..2db3d5fd983860ef10bbb5d33d4db927a2343206 --- /dev/null +++ b/js-old/src/i18n/_default/accounts.js @@ -0,0 +1,34 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + button: { + newAccount: `account`, + newWallet: `wallet`, + vaults: `vaults` + }, + summary: { + minedBlock: `Mined at block #{blockNumber}` + }, + title: `Accounts Overview`, + tooltip: { + actions: `actions relating to the current view are available on the toolbar for quick access, be it for performing actions or creating a new item`, + overview: `your accounts are visible for easy access, allowing you to edit the meta information, make transfers, view transactions and fund the account` + }, + tooltips: { + owner: `{name} (owner)` + } +}; diff --git a/js/src/i18n/_default/addAddress.js b/js-old/src/i18n/_default/addAddress.js similarity index 100% rename from js/src/i18n/_default/addAddress.js rename to js-old/src/i18n/_default/addAddress.js diff --git a/js/src/i18n/_default/addContract.js b/js-old/src/i18n/_default/addContract.js similarity index 100% rename from js/src/i18n/_default/addContract.js rename to js-old/src/i18n/_default/addContract.js diff --git a/js/src/i18n/_default/address.js b/js-old/src/i18n/_default/address.js similarity index 100% rename from js/src/i18n/_default/address.js rename to js-old/src/i18n/_default/address.js diff --git a/js/src/i18n/_default/addressSelect.js b/js-old/src/i18n/_default/addressSelect.js similarity index 100% rename from js/src/i18n/_default/addressSelect.js rename to js-old/src/i18n/_default/addressSelect.js diff --git a/js/src/i18n/_default/addresses.js b/js-old/src/i18n/_default/addresses.js similarity index 100% rename from js/src/i18n/_default/addresses.js rename to js-old/src/i18n/_default/addresses.js diff --git a/js-old/src/i18n/_default/application.js b/js-old/src/i18n/_default/application.js new file mode 100644 index 0000000000000000000000000000000000000000..f2e6be1ee1900e2d16e12ff6790e58c4c27a1d59 --- /dev/null +++ b/js-old/src/i18n/_default/application.js @@ -0,0 +1,30 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + frame: { + error: `ERROR: This application cannot and should not be loaded in an embedded iFrame` + }, + status: { + consensus: { + capable: `Upgrade not required.`, + capableUntil: `Upgrade required before #{blockNumber}`, + incapableSince: `Upgrade required since #{blockNumber}`, + unknown: `Upgrade status is unknown.` + }, + upgrade: `Upgrade` + } +}; diff --git a/js-old/src/i18n/_default/connection.js b/js-old/src/i18n/_default/connection.js new file mode 100644 index 0000000000000000000000000000000000000000..e51943178e738e974ab10e5533b3a97c7f92a251 --- /dev/null +++ b/js-old/src/i18n/_default/connection.js @@ -0,0 +1,26 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + connectingAPI: `Connecting to the Parity Secure API.`, + connectingNode: `Connecting to the Parity Node. If this informational message persists, please ensure that your Parity node is running and reachable on the network.`, + invalidToken: `invalid signer token`, + noConnection: `Unable to make a connection to the Parity Secure API. To update your secure token or to generate a new one, run {newToken} and paste the generated token into the space below.`, + token: { + hint: `a generated token from Parity`, + label: `secure token` + } +}; diff --git a/js/src/i18n/_default/contract.js b/js-old/src/i18n/_default/contract.js similarity index 100% rename from js/src/i18n/_default/contract.js rename to js-old/src/i18n/_default/contract.js diff --git a/js/src/i18n/_default/contracts.js b/js-old/src/i18n/_default/contracts.js similarity index 100% rename from js/src/i18n/_default/contracts.js rename to js-old/src/i18n/_default/contracts.js diff --git a/js-old/src/i18n/_default/createAccount.js b/js-old/src/i18n/_default/createAccount.js new file mode 100644 index 0000000000000000000000000000000000000000..8930fc7b40a7c43bd84c3a61548d2b2f02b863c6 --- /dev/null +++ b/js-old/src/i18n/_default/createAccount.js @@ -0,0 +1,160 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + accountDetails: { + address: { + hint: `the network address for the account`, + label: `address` + }, + phrase: { + hint: `the account recovery phrase`, + label: `owner recovery phrase (keep private and secure, it allows full and unlimited access to the account)` + } + }, + accountDetailsGeth: { + imported: `You have completed the import of {number} addresses from the Geth keystore. These will now be available in your accounts list as a normal account, along with their associated balances on the network.` + }, + button: { + back: `Back`, + cancel: `Cancel`, + create: `Create`, + done: `Done`, + import: `Import`, + next: `Next`, + print: `Print Phrase` + }, + creationType: { + fromGeth: { + description: `Import accounts from the Geth keystore with the original password`, + label: `Geth keystore` + }, + fromJSON: { + description: `Import an industry-standard JSON keyfile with the original password`, + label: `JSON file` + }, + fromNew: { + description: `Selecting your identity icon and specifying the password`, + label: `New Account` + }, + fromPhrase: { + description: `Recover using a previously stored recovery phrase and new password`, + label: `Recovery phrase` + }, + fromPresale: { + description: `Import an Ethereum presale wallet file with the original password`, + label: `Presale wallet` + }, + fromRaw: { + description: `Enter a previously created raw private key with a new password`, + label: `Private key` + }, + info: `Please select the type of account you want to create. Either create an account via name & password, or import it from a variety of existing sources. From here the wizard will guide you through the process of completing your account creation.` + }, + newAccount: { + hint: { + hint: `(optional) a hint to help with remembering the password`, + label: `password hint` + }, + name: { + hint: `a descriptive name for the account`, + label: `account name` + }, + password: { + hint: `a strong, unique password`, + label: `password` + }, + password2: { + hint: `verify your password`, + label: `password (repeat)` + } + }, + newGeth: { + available: `There are currently {count} importable keys available from the Geth keystore which are not already available on your Parity instance. Select the accounts you wish to import and move to the next step to complete the import.`, + noKeys: `There are currently no importable keys available from the Geth keystore, which are not already available on your Parity instance` + }, + newImport: { + file: { + hint: `the wallet file for import`, + label: `wallet file` + }, + hint: { + hint: `(optional) a hint to help with remembering the password`, + label: `password hint` + }, + name: { + hint: `a descriptive name for the account`, + label: `account name` + }, + password: { + hint: `the password to unlock the wallet`, + label: `password` + } + }, + rawKey: { + hint: { + hint: `(optional) a hint to help with remembering the password`, + label: `password hint` + }, + name: { + hint: `a descriptive name for the account`, + label: `account name` + }, + password: { + hint: `a strong, unique password`, + label: `password` + }, + password2: { + hint: `verify your password`, + label: `password (repeat)` + }, + private: { + hint: `the raw hex encoded private key`, + label: `private key` + } + }, + recoveryPhrase: { + hint: { + hint: `(optional) a hint to help with remembering the password`, + label: `password hint` + }, + name: { + hint: `a descriptive name for the account`, + label: `account name` + }, + password: { + hint: `a strong, unique password`, + label: `password` + }, + password2: { + hint: `verify your password`, + label: `password (repeat)` + }, + phrase: { + hint: `the account recovery phrase`, + label: `account recovery phrase` + }, + windowsKey: { + label: `Key was created with Parity <1.4.5 on Windows` + } + }, + title: { + accountInfo: `account information`, + createAccount: `create account`, + createType: `creation type`, + importWallet: `import wallet` + } +}; diff --git a/js-old/src/i18n/_default/createWallet.js b/js-old/src/i18n/_default/createWallet.js new file mode 100644 index 0000000000000000000000000000000000000000..eeb9e9a9832494d1a8a9c05f513de71ceaa72749 --- /dev/null +++ b/js-old/src/i18n/_default/createWallet.js @@ -0,0 +1,106 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + button: { + add: `Add`, + cancel: `Cancel`, + close: `Close`, + create: `Create`, + done: `Done`, + next: `Next`, + sending: `Sending...` + }, + deployment: { + message: `The deployment is currently in progress` + }, + details: { + address: { + hint: `the wallet contract address`, + label: `wallet address` + }, + dayLimitMulti: { + hint: `amount of ETH spendable without confirmations`, + label: `wallet day limit` + }, + description: { + hint: `the local description for this wallet`, + label: `wallet description (optional)` + }, + descriptionMulti: { + hint: `the local description for this wallet`, + label: `wallet description (optional)` + }, + name: { + hint: `the local name for this wallet`, + label: `wallet name` + }, + nameMulti: { + hint: `the local name for this wallet`, + label: `wallet name` + }, + ownerMulti: { + hint: `the owner account for this contract`, + label: `from account (contract owner)` + }, + ownersMulti: { + label: `other wallet owners` + }, + ownersMultiReq: { + hint: `number of required owners to accept a transaction`, + label: `required owners` + } + }, + info: { + added: `added`, + copyAddress: `copy address to clipboard`, + created: `{name} has been {deployedOrAdded} at`, + dayLimit: `The daily limit is set to {dayLimit} ETH.`, + deployed: `deployed`, + numOwners: `{numOwners} owners are required to confirm a transaction.`, + owners: `The following are wallet owners` + }, + rejected: { + message: `The deployment has been rejected`, + state: `The wallet will not be created. You can safely close this window.`, + title: `rejected` + }, + states: { + completed: `The contract deployment has been completed`, + confirmationNeeded: `The contract deployment needs confirmations from other owners of the Wallet`, + preparing: `Preparing transaction for network transmission`, + validatingCode: `Validating the deployed contract code`, + waitingConfirm: `Waiting for confirmation of the transaction in the Parity Secure Signer`, + waitingReceipt: `Waiting for the contract deployment transaction receipt` + }, + steps: { + deployment: `wallet deployment`, + details: `wallet details`, + info: `wallet informaton`, + type: `wallet type` + }, + type: { + multisig: { + description: `Create/Deploy a {link} Wallet`, + label: `Multi-Sig wallet`, + link: `standard multi-signature` + }, + watch: { + description: `Add an existing wallet to your accounts`, + label: `Watch a wallet` + } + } +}; diff --git a/js/src/i18n/_default/dapp.js b/js-old/src/i18n/_default/dapp.js similarity index 100% rename from js/src/i18n/_default/dapp.js rename to js-old/src/i18n/_default/dapp.js diff --git a/js-old/src/i18n/_default/dapps.js b/js-old/src/i18n/_default/dapps.js new file mode 100644 index 0000000000000000000000000000000000000000..9ed3415d16842ef143b0cdd30ef800a5526da703 --- /dev/null +++ b/js-old/src/i18n/_default/dapps.js @@ -0,0 +1,45 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + add: { + builtin: { + desc: `Experimental applications developed by the Parity team to show off dapp capabilities, integration, experimental features and to control certain network-wide client behaviour.`, + label: `Applications bundled with Parity` + }, + label: `visible applications`, + local: { + desc: `All applications installed locally on the machine by the user for access by the Parity client.`, + label: `Applications locally available` + }, + network: { + desc: `These applications are not affiliated with Parity nor are they published by Parity. Each remain under the control of their respective authors. Please ensure that you understand the goals for each application before interacting.`, + label: `Applications on the global network` + } + }, + button: { + edit: `edit`, + permissions: `permissions` + }, + external: { + accept: `I understand that these applications are not affiliated with Parity`, + warning: `Applications made available on the network by 3rd-party authors are not affiliated with Parity nor are they published by Parity. Each remain under the control of their respective authors. Please ensure that you understand the goals for each before interacting.` + }, + label: `Decentralized Applications`, + permissions: { + label: `visible dapp accounts` + } +}; diff --git a/js/src/i18n/_default/deleteAccount.js b/js-old/src/i18n/_default/deleteAccount.js similarity index 100% rename from js/src/i18n/_default/deleteAccount.js rename to js-old/src/i18n/_default/deleteAccount.js diff --git a/js-old/src/i18n/_default/deployContract.js b/js-old/src/i18n/_default/deployContract.js new file mode 100644 index 0000000000000000000000000000000000000000..0b5a05503c6729891ce5ea8ebe1855c6c9b2d810 --- /dev/null +++ b/js-old/src/i18n/_default/deployContract.js @@ -0,0 +1,90 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + busy: { + title: `The deployment is currently in progress` + }, + button: { + cancel: `Cancel`, + close: `Close`, + create: `Create`, + done: `Done`, + next: `Next` + }, + completed: { + description: `Your contract has been deployed at` + }, + details: { + abi: { + hint: `the abi of the contract to deploy or solc combined-output`, + label: `abi / solc combined-output` + }, + address: { + hint: `the owner account for this contract`, + label: `from account (contract owner)` + }, + advanced: { + label: `advanced sending options` + }, + amount: { + hint: `the amount to transfer to the contract`, + label: `amount to transfer (in {tag})` + }, + code: { + hint: `the compiled code of the contract to deploy`, + label: `code` + }, + contract: { + label: `select a contract` + }, + description: { + hint: `a description for the contract`, + label: `contract description (optional)` + }, + name: { + hint: `a name for the deployed contract`, + label: `contract name` + } + }, + owner: { + noneSelected: `a valid account as the contract owner needs to be selected` + }, + parameters: { + choose: `Choose the contract parameters` + }, + rejected: { + description: `You can safely close this window, the contract deployment will not occur.`, + title: `The deployment has been rejected` + }, + state: { + completed: `The contract deployment has been completed`, + confirmationNeeded: `The operation needs confirmations from the other owners of the contract`, + preparing: `Preparing transaction for network transmission`, + validatingCode: `Validating the deployed contract code`, + waitReceipt: `Waiting for the contract deployment transaction receipt`, + waitSigner: `Waiting for confirmation of the transaction in the Parity Secure Signer` + }, + title: { + completed: `completed`, + deployment: `deployment`, + details: `contract details`, + extras: `extra information`, + failed: `deployment failed`, + parameters: `contract parameters`, + rejected: `rejected` + } +}; diff --git a/js/src/i18n/nl/details_windows.js b/js-old/src/i18n/_default/details_windows.js similarity index 100% rename from js/src/i18n/nl/details_windows.js rename to js-old/src/i18n/_default/details_windows.js diff --git a/js/src/i18n/_default/editMeta.js b/js-old/src/i18n/_default/editMeta.js similarity index 100% rename from js/src/i18n/_default/editMeta.js rename to js-old/src/i18n/_default/editMeta.js diff --git a/js-old/src/i18n/_default/errors.js b/js-old/src/i18n/_default/errors.js new file mode 100644 index 0000000000000000000000000000000000000000..76fed24cd61ab0b6628a105b28ac6f0b477adaa6 --- /dev/null +++ b/js-old/src/i18n/_default/errors.js @@ -0,0 +1,24 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + duplicateName: `the name already exists`, + invalidKey: `the raw key needs to be hex, 64 characters in length and contain the prefix "0x"`, + noFile: `select a valid wallet file to import`, + noKey: `you need to provide the raw private key`, + noMatchPassword: `the supplied passwords does not match`, + noName: `you need to specify a valid name` +}; diff --git a/js-old/src/i18n/_default/executeContract.js b/js-old/src/i18n/_default/executeContract.js new file mode 100644 index 0000000000000000000000000000000000000000..011264d3fe6cb1b2e265568f6ecf0943670ac95b --- /dev/null +++ b/js-old/src/i18n/_default/executeContract.js @@ -0,0 +1,58 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + busy: { + posted: `Your transaction has been posted to the network`, + title: `The function execution is in progress`, + waitAuth: `Waiting for authorization in the Parity Signer` + }, + button: { + cancel: `cancel`, + done: `done`, + next: `next`, + post: `post transaction`, + prev: `prev` + }, + details: { + address: { + hint: `from account`, + label: `the account to transact with` + }, + advancedCheck: { + label: `advanced sending options` + }, + amount: { + hint: `the amount to send to with the transaction`, + label: `transaction value (in ETH)` + }, + function: { + hint: `the function to call on the contract`, + label: `function to execute` + } + }, + rejected: { + state: `You can safely close this window, the function execution will not occur.`, + title: `The execution has been rejected` + }, + steps: { + advanced: `advanced options`, + complete: `complete`, + rejected: `rejected`, + sending: `sending`, + transfer: `function details` + } +}; diff --git a/js/src/i18n/_default/extension.js b/js-old/src/i18n/_default/extension.js similarity index 100% rename from js/src/i18n/_default/extension.js rename to js-old/src/i18n/_default/extension.js diff --git a/js/src/i18n/_default/faucet.js b/js-old/src/i18n/_default/faucet.js similarity index 100% rename from js/src/i18n/_default/faucet.js rename to js-old/src/i18n/_default/faucet.js diff --git a/js-old/src/i18n/_default/firstRun.js b/js-old/src/i18n/_default/firstRun.js new file mode 100644 index 0000000000000000000000000000000000000000..5f41fa9c4487e710f6a756958087f733d1123cf3 --- /dev/null +++ b/js-old/src/i18n/_default/firstRun.js @@ -0,0 +1,49 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + button: { + close: `Close`, + create: `Create`, + next: `Next`, + print: `Print Phrase`, + skip: `Skip` + }, + completed: { + congrats: `Congratulations! Your node setup has been completed successfully and you are ready to use the application.`, + next: `Next you will receive a walk-through of the available functions and the general application interface to get you up and running in record time.` + }, + title: { + completed: `completed`, + newAccount: `new account`, + recovery: `recovery`, + terms: `terms`, + welcome: `welcome` + }, + tnc: { + accept: `I accept these terms and conditions` + }, + welcome: { + description: `As part of a new installation, the next few steps will guide you through the process of setting up your Parity instance and your associated accounts. Our aim is to make it as simple as possible and to get you up and running in record-time, so please bear with us. Once completed you will have -`, + greeting: `Welcome to Parity, the fastest and simplest way to run your node.`, + next: `Click Next to continue your journey.`, + step: { + account: `Created your first Parity account`, + privacy: `Understood our privacy policy & terms of operation`, + recovery: `Have the ability to recover your account` + } + } +}; diff --git a/js/src/i18n/_default/home.js b/js-old/src/i18n/_default/home.js similarity index 100% rename from js/src/i18n/_default/home.js rename to js-old/src/i18n/_default/home.js diff --git a/js-old/src/i18n/_default/index.js b/js-old/src/i18n/_default/index.js new file mode 100644 index 0000000000000000000000000000000000000000..687e558dc170a0c5b495e3b36ceba4ba379f110f --- /dev/null +++ b/js-old/src/i18n/_default/index.js @@ -0,0 +1,59 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export account from './account'; +export accounts from './accounts'; +export addAddress from './addAddress'; +export addContract from './addContract'; +export address from './address'; +export addressSelect from './addressSelect'; +export addresses from './addresses'; +export application from './application'; +export connection from './connection'; +export contract from './contract'; +export contracts from './contracts'; +export createAccount from './createAccount'; +export createWallet from './createWallet'; +export dapp from './dapp'; +export dapps from './dapps'; +export deleteAccount from './deleteAccount'; +export deployContract from './deployContract'; +export editMeta from './editMeta'; +export errors from './errors'; +export executeContract from './executeContract'; +export extension from './extension'; +export faucet from './faucet'; +export firstRun from './firstRun'; +export home from './home'; +export loadContract from './loadContract'; +export parityBar from './parityBar'; +export passwordChange from './passwordChange'; +export saveContract from './saveContract'; +export settings from './settings'; +export shapeshift from './shapeshift'; +export signer from './signer'; +export status from './status'; +export tabBar from './tabBar'; +export transfer from './transfer'; +export txEditor from './txEditor'; +export ui from './ui'; +export upgradeParity from './upgradeParity'; +export vaults from './vaults'; +export verification from './verification'; +export wallet from './wallet'; +export walletSettings from './walletSettings'; +export web from './web'; +export writeContract from './writeContract'; diff --git a/js/src/i18n/_default/loadContract.js b/js-old/src/i18n/_default/loadContract.js similarity index 100% rename from js/src/i18n/_default/loadContract.js rename to js-old/src/i18n/_default/loadContract.js diff --git a/js/src/i18n/_default/parityBar.js b/js-old/src/i18n/_default/parityBar.js similarity index 100% rename from js/src/i18n/_default/parityBar.js rename to js-old/src/i18n/_default/parityBar.js diff --git a/js/src/i18n/_default/passwordChange.js b/js-old/src/i18n/_default/passwordChange.js similarity index 100% rename from js/src/i18n/_default/passwordChange.js rename to js-old/src/i18n/_default/passwordChange.js diff --git a/js/src/i18n/_default/saveContract.js b/js-old/src/i18n/_default/saveContract.js similarity index 100% rename from js/src/i18n/_default/saveContract.js rename to js-old/src/i18n/_default/saveContract.js diff --git a/js-old/src/i18n/_default/settings.js b/js-old/src/i18n/_default/settings.js new file mode 100644 index 0000000000000000000000000000000000000000..ea447e4a99db4fe284d6b4ac50d46685e1381daa --- /dev/null +++ b/js-old/src/i18n/_default/settings.js @@ -0,0 +1,101 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + background: { + button_more: `generate more`, + overview_0: `The background pattern you can see right now is unique to your Parity installation. It will change every time you create a new Signer token. This is so that decentralized applications cannot pretend to be trustworthy.`, + overview_1: `Pick a pattern you like and memorize it. This Pattern will always be shown from now on, unless you clear your browser cache or use a new Signer token.`, + label: `background` + }, + parity: { + chains: { + chain_classic: `Parity syncs to the Ethereum Classic network`, + chain_dev: `Parity uses a local development chain`, + chain_expanse: `Parity syncs to the Expanse network`, + chain_foundation: `Parity syncs to the Ethereum network launched by the Ethereum Foundation`, + chain_kovan: `Parity syncs to the Kovan test network`, + chain_olympic: `Parity syncs to the Olympic test network`, + chain_ropsten: `Parity syncs to the Ropsten test network`, + cmorden_kovan: `Parity syncs to Morden (Classic) test network`, + hint: `the chain for the Parity node to sync to`, + label: `chain/network to sync` + }, + languages: { + hint: `the language this interface is displayed with`, + label: `UI language` + }, + loglevels: `Choose the different logs level.`, + modes: { + hint: `the syncing mode for the Parity node`, + label: `mode of operation`, + mode_active: `Parity continuously syncs the chain`, + mode_dark: `Parity syncs only when the RPC is active`, + mode_offline: `Parity doesn't sync`, + mode_passive: `Parity syncs initially, then sleeps and wakes regularly to resync` + }, + overview_0: `Control the Parity node settings and nature of syncing via this interface.`, + label: `parity` + }, + proxy: { + details_0: `Instead of accessing Parity via the IP address and port, you will be able to access it via the .parity subdomain, by visiting {homeProxy}. To setup subdomain-based routing, you need to add the relevant proxy entries to your browser,`, + details_1: `To learn how to configure the proxy, instructions are provided for {windowsLink}, {macOSLink} or {ubuntuLink}.`, + details_macos: `macOS`, + details_ubuntu: `Ubuntu`, + details_windows: `Windows`, + overview_0: `The proxy setup allows you to access Parity and all associated decentralized applications via memorable addresses.`, + label: `proxy` + }, + views: { + accounts: { + description: `A list of all the accounts associated with and imported into this Parity instance. Send transactions, receive incoming values, manage your balances and fund your accounts.`, + label: `Accounts` + }, + addresses: { + description: `A list of all contacts and address book entries managed by this Parity instance. Watch accounts and have the details available at the click of a button when transacting.`, + label: `Addressbook` + }, + apps: { + description: `Decentralized applications that interact with the underlying network. Add applications, manage you application portfolio and interact with application from around the network.`, + label: `Applications` + }, + contracts: { + description: `Watch and interact with specific contracts that have been deployed on the network. This is a more technically-focused environment, specifically for advanced users that understand the inner working of certain contracts.`, + label: `Contracts` + }, + overview_0: `Manage the available application views using only the parts of the application applicable to you.`, + overview_1: `Are you an end-user? The defaults are setup for both beginner and advanced users alike.`, + overview_2: `Are you a developer? Add some features to manage contracts and interact with application deployments.`, + overview_3: `Are you a miner or run a large-scale node? Add the features to give you all the information needed to watch the node operation.`, + settings: { + description: `This view. Allows you to customize the application in term of options, operation and look and feel.`, + label: `Settings` + }, + signer: { + description: `The secure transaction management area of the application where you can approve any outgoing transactions made from the application as well as those placed into the queue by decentralized applications.`, + label: `Signer` + }, + status: { + description: `See how the Parity node is performing in terms of connections to the network, logs from the actual running instance and details of mining (if enabled and configured).`, + label: `Status` + }, + label: `views`, + home: { + label: `Home` + } + }, + label: `settings` +}; diff --git a/js/src/i18n/_default/shapeshift.js b/js-old/src/i18n/_default/shapeshift.js similarity index 100% rename from js/src/i18n/_default/shapeshift.js rename to js-old/src/i18n/_default/shapeshift.js diff --git a/js-old/src/i18n/_default/signer.js b/js-old/src/i18n/_default/signer.js new file mode 100644 index 0000000000000000000000000000000000000000..3f8615c52be9d6e4851ec86065032a57ff63bfcb --- /dev/null +++ b/js-old/src/i18n/_default/signer.js @@ -0,0 +1,103 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + embedded: { + noPending: `There are currently no pending requests awaiting your confirmation` + }, + mainDetails: { + editTx: `Edit conditions/gas/gasPrice`, + tooltips: { + total1: `The value of the transaction including the mining fee is {total} {type}.`, + total2: `(This includes a mining fee of {fee} {token})`, + value1: `The value of the transaction.` + } + }, + requestOrigin: { + dapp: `by a dapp at {url}`, + ipc: `via IPC session`, + rpc: `via RPC {rpc}`, + signerCurrent: `via current tab`, + signerUI: `via UI session`, + unknownInterface: `via unknown interface`, + unknownRpc: `unidentified`, + unknownUrl: `unknown URL` + }, + requestsPage: { + noPending: `There are no requests requiring your confirmation.`, + pendingTitle: `Pending Requests`, + queueTitle: `Local Transactions` + }, + sending: { + hardware: { + confirm: `Please confirm the transaction on your attached hardware device`, + connect: `Please attach your hardware device before confirming the transaction` + } + }, + signRequest: { + request: `A request to sign data using your account:`, + state: { + confirmed: `Confirmed`, + rejected: `Rejected` + }, + unknownBinary: `(Unknown binary data)`, + warning: `WARNING: This consequences of doing this may be grave. Confirm the request only if you are sure.` + }, + title: `Trusted Signer`, + txPending: { + buttons: { + viewToggle: `view transaction` + } + }, + txPendingConfirm: { + buttons: { + confirmBusy: `Confirming...`, + confirmRequest: `Confirm Request` + }, + errors: { + invalidWallet: `Given wallet file is invalid.` + }, + password: { + decrypt: { + hint: `decrypt the key`, + label: `Key Password` + }, + unlock: { + hint: `unlock the account`, + label: `Account Password` + } + }, + passwordHint: `(hint) {passwordHint}`, + selectKey: { + hint: `The keyfile to use for this account`, + label: `Select Local Key` + }, + tooltips: { + password: `Please provide a password for this account` + } + }, + txPendingForm: { + changedMind: `I've changed my mind`, + reject: `reject request` + }, + txPendingReject: { + buttons: { + reject: `Reject Request` + }, + info: `Are you sure you want to reject request?`, + undone: `This cannot be undone` + } +}; diff --git a/js-old/src/i18n/_default/status.js b/js-old/src/i18n/_default/status.js new file mode 100644 index 0000000000000000000000000000000000000000..536c0ff909b102b8bca21631566c0307fc8a1a7e --- /dev/null +++ b/js-old/src/i18n/_default/status.js @@ -0,0 +1,66 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + debug: { + reverse: `Reverse Order`, + stopped: `Refresh and display of logs from Parity is currently stopped via the UI, start it to see the latest updates.`, + title: `Node Logs` + }, + miningSettings: { + input: { + author: { + hint: `the mining author`, + label: `author` + }, + extradata: { + hint: `extra data for mined blocks`, + label: `extradata` + }, + gasFloor: { + hint: `the gas floor target for mining`, + label: `gas floor target` + }, + gasPrice: { + hint: `the minimum gas price for mining`, + label: `minimal gas price` + } + }, + title: `mining settings` + }, + status: { + hashrate: `{hashrate} H/s`, + input: { + chain: `chain`, + enode: `enode`, + no: `no`, + peers: `peers`, + port: `network port`, + rpcEnabled: `rpc enabled`, + rpcInterface: `rpc interface`, + rpcPort: `rpc port`, + yes: `yes` + }, + title: { + bestBlock: `best block`, + hashRate: `hash rate`, + network: `network settings`, + node: `Node`, + peers: `peers` + } + }, + title: `Status` +}; diff --git a/js/src/i18n/_default/tabBar.js b/js-old/src/i18n/_default/tabBar.js similarity index 100% rename from js/src/i18n/_default/tabBar.js rename to js-old/src/i18n/_default/tabBar.js diff --git a/js-old/src/i18n/_default/transfer.js b/js-old/src/i18n/_default/transfer.js new file mode 100644 index 0000000000000000000000000000000000000000..3207f5b067bae12e8d1ab47fc8e699769c8f5b7d --- /dev/null +++ b/js-old/src/i18n/_default/transfer.js @@ -0,0 +1,61 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + advanced: { + data: { + hint: `the data to pass through with the transaction`, + label: `transaction data` + } + }, + buttons: { + back: `Back`, + cancel: `Cancel`, + close: `Close`, + next: `Next`, + send: `Send` + }, + details: { + advanced: { + label: `advanced sending options` + }, + amount: { + hint: `the amount to transfer to the recipient`, + label: `amount to transfer (in {tag})` + }, + fullBalance: { + label: `full account balance` + }, + recipient: { + hint: `the recipient address`, + label: `recipient address` + }, + sender: { + hint: `the sender address`, + label: `sender address` + }, + total: { + label: `total transaction amount` + } + }, + wallet: { + confirmation: `This transaction needs confirmation from other owners.`, + operationHash: `operation hash` + }, + warning: { + wallet_spent_limit: `This transaction value is above the remaining daily limit. It will need to be confirmed by other owners.` + } +}; diff --git a/js/src/i18n/_default/txEditor.js b/js-old/src/i18n/_default/txEditor.js similarity index 100% rename from js/src/i18n/_default/txEditor.js rename to js-old/src/i18n/_default/txEditor.js diff --git a/js-old/src/i18n/_default/ui.js b/js-old/src/i18n/_default/ui.js new file mode 100644 index 0000000000000000000000000000000000000000..d84e7bd13bbe6bc413074bdd8bbec6548a92201c --- /dev/null +++ b/js-old/src/i18n/_default/ui.js @@ -0,0 +1,163 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + actionbar: { + export: { + button: { + export: `export` + } + }, + import: { + button: { + cancel: `Cancel`, + confirm: `Confirm`, + import: `import` + }, + confirm: `Confirm that this is what was intended to import.`, + error: `An error occured: {errorText}`, + step: { + error: `error`, + select: `select a file`, + validate: `validate` + }, + title: `Import from a file` + }, + search: { + hint: `Enter search input...` + }, + sort: { + sortBy: `Sort by {label}`, + typeDefault: `Default`, + typeEth: `Sort by ETH`, + typeName: `Sort by name`, + typeTags: `Sort by tags` + } + }, + balance: { + none: `No balances associated with this account` + }, + blockStatus: { + bestBlock: `{blockNumber} best block`, + syncStatus: `{currentBlock}/{highestBlock} syncing`, + warpRestore: `{percentage}% warp restore`, + warpStatus: `, {percentage}% historic` + }, + confirmDialog: { + no: `no`, + yes: `yes` + }, + copyToClipboard: { + copied: `copied {data} to clipboard` + }, + errors: { + close: `close` + }, + fileSelect: { + defaultLabel: `Drop a file here, or click to select a file to upload` + }, + gasPriceSelector: { + customTooltip: { + transactions: `{number} {number, plural, one {transaction} other {transactions}} with gas price set from {minPrice} to {maxPrice}` + } + }, + identityName: { + null: `NULL`, + unnamed: `UNNAMED` + }, + methodDecoding: { + condition: { + block: `, {historic, select, true {Submitted} false {Submission}} at block {blockNumber}`, + time: `, {historic, select, true {Submitted} false {Submission}} at {timestamp}` + }, + deploy: { + address: `Deployed a contract at address`, + params: `with the following parameters:`, + willDeploy: `Will deploy a contract`, + withValue: `, sending {value}` + }, + gasUsed: `({gas} gas used)`, + gasValues: `{gas} gas ({gasPrice}M/{tag})`, + input: { + data: `data`, + input: `input`, + withInput: `with the {inputDesc} {inputValue}` + }, + receive: { + contract: `the contract`, + info: `{historic, select, true {Received} false {Will receive}} {valueEth} from {aContract}{address}` + }, + signature: { + info: `{historic, select, true {Executed} false {Will execute}} the {method} function on the contract {address} trsansferring {ethValue}{inputLength, plural, zero {,} other {passing the following {inputLength, plural, one {parameter} other {parameters}}}}` + }, + token: { + transfer: `{historic, select, true {Transferred} false {Will transfer}} {value} to {address}` + }, + transfer: { + contract: `the contract`, + info: `{historic, select, true {Transferred} false {Will transfer}} {valueEth} to {aContract}{address}` + }, + txValues: `{historic, select, true {Provided} false {Provides}} {gasProvided}{gasUsed} for a total transaction value of {totalEthValue}`, + unknown: { + info: `{historic, select, true {Executed} false {Will execute}} the {method} on the contract {address} transferring {ethValue}.` + } + }, + passwordStrength: { + label: `password strength` + }, + tooltips: { + button: { + done: `Done`, + next: `Next`, + skip: `Skip` + } + }, + txHash: { + confirmations: `{count} {value, plural, one {confirmation} other {confirmations}}`, + oog: `The transaction might have gone out of gas. Try again with more gas.`, + posted: `The transaction has been posted to the network with a hash of {hashLink}`, + waiting: `waiting for confirmations` + }, + vaultSelect: { + hint: `the vault this account is attached to`, + label: `associated vault` + }, + verification: { + gatherData: { + accountHasRequested: { + false: `You did not request verification from this account yet.`, + pending: `Checking if you requested verification…`, + true: `You already requested verification from this account.` + }, + accountIsVerified: { + false: `Your account is not verified yet.`, + pending: `Checking if your account is verified…`, + true: `Your account is already verified.` + }, + fee: `The additional fee is {amount} ETH.`, + isAbleToRequest: { + pending: `Validating your input…` + }, + isServerRunning: { + false: `The verification server is not running.`, + pending: `Checking if the verification server is running…`, + true: `The verification server is running.` + }, + nofee: `There is no additional fee.`, + termsOfService: `I agree to the terms and conditions below.` + } + } +}; diff --git a/js/src/i18n/_default/upgradeParity.js b/js-old/src/i18n/_default/upgradeParity.js similarity index 100% rename from js/src/i18n/_default/upgradeParity.js rename to js-old/src/i18n/_default/upgradeParity.js diff --git a/js/src/i18n/_default/vaults.js b/js-old/src/i18n/_default/vaults.js similarity index 100% rename from js/src/i18n/_default/vaults.js rename to js-old/src/i18n/_default/vaults.js diff --git a/js/src/i18n/_default/verification.js b/js-old/src/i18n/_default/verification.js similarity index 100% rename from js/src/i18n/_default/verification.js rename to js-old/src/i18n/_default/verification.js diff --git a/js/src/i18n/_default/wallet.js b/js-old/src/i18n/_default/wallet.js similarity index 100% rename from js/src/i18n/_default/wallet.js rename to js-old/src/i18n/_default/wallet.js diff --git a/js-old/src/i18n/_default/walletSettings.js b/js-old/src/i18n/_default/walletSettings.js new file mode 100644 index 0000000000000000000000000000000000000000..ddeae3798a736373d00bf923079d9518b8131545 --- /dev/null +++ b/js-old/src/i18n/_default/walletSettings.js @@ -0,0 +1,69 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + addOwner: { + title: `Add Owner` + }, + buttons: { + cancel: `Cancel`, + close: `Close`, + next: `Next`, + send: `Send`, + sending: `Sending...` + }, + changes: { + modificationString: `For your modifications to be taken into account, + other owners have to send the same modifications. They can paste + this string to make it easier:`, + none: `No modifications have been made to the Wallet settings.`, + overview: `You are about to make the following modifications` + }, + edit: { + message: `In order to edit this contract's settings, at + least {owners, number} {owners, plural, one {owner } other {owners }} have to + send the very same modifications. You can paste a stringified version + of the modifications here.` + }, + modifications: { + daylimit: { + hint: `amount of ETH spendable without confirmations`, + label: `wallet day limit` + }, + fromString: { + label: `modifications` + }, + owners: { + label: `other wallet owners` + }, + required: { + hint: `number of required owners to accept a transaction`, + label: `required owners` + }, + sender: { + hint: `send modifications as this owner`, + label: `from account (wallet owner)` + } + }, + ownersChange: { + details: `from {from} to {to}`, + title: `Change Required Owners` + }, + rejected: `The transaction #{txid} has been rejected`, + removeOwner: { + title: `Remove Owner` + } +}; diff --git a/js/src/i18n/_default/web.js b/js-old/src/i18n/_default/web.js similarity index 100% rename from js/src/i18n/_default/web.js rename to js-old/src/i18n/_default/web.js diff --git a/js-old/src/i18n/_default/writeContract.js b/js-old/src/i18n/_default/writeContract.js new file mode 100644 index 0000000000000000000000000000000000000000..fc1100b7786ad303dd56fa6ff745da56490145b2 --- /dev/null +++ b/js-old/src/i18n/_default/writeContract.js @@ -0,0 +1,62 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + buttons: { + autoCompile: `Auto-Compile`, + compile: `Compile`, + deploy: `Deploy`, + import: `Import Solidity`, + load: `Load`, + new: `New`, + optimise: `Optimise`, + save: `Save` + }, + compiling: { + action: `Please compile the source code.`, + busy: `Compiling...` + }, + details: { + saved: `(saved {timestamp})` + }, + error: { + noContract: `No contract has been found.`, + params: `An error occurred with the following description` + }, + input: { + abi: `ABI Interface`, + code: `Bytecode`, + metadata: `Metadata`, + swarm: `Swarm Metadata Hash` + }, + title: { + contract: `Select a contract`, + loading: `Loading...`, + main: `Write a Contract`, + messages: `Compiler messages`, + new: `New Solidity Contract`, + parameters: `Parameters`, + saved: `saved @ {timestamp}`, + selectSolidity: `Select a Solidity version`, + solidity: `Loading Solidity {version}` + }, + type: { + humanErc20: `Implementation of the Human Token Contract`, + implementErc20: `Implementation of ERC20 Token Contract`, + multisig: `Implementation of a multisig Wallet`, + standardErc20: `Standard ERC20 Token Contract` + } +}; diff --git a/js/src/i18n/constants.js b/js-old/src/i18n/constants.js similarity index 100% rename from js/src/i18n/constants.js rename to js-old/src/i18n/constants.js diff --git a/js/src/i18n/de/index.js b/js-old/src/i18n/de/index.js similarity index 100% rename from js/src/i18n/de/index.js rename to js-old/src/i18n/de/index.js diff --git a/js/src/i18n/de/settings.js b/js-old/src/i18n/de/settings.js similarity index 100% rename from js/src/i18n/de/settings.js rename to js-old/src/i18n/de/settings.js diff --git a/js/src/i18n/en/index.js b/js-old/src/i18n/en/index.js similarity index 100% rename from js/src/i18n/en/index.js rename to js-old/src/i18n/en/index.js diff --git a/js/src/i18n/en/settings.js b/js-old/src/i18n/en/settings.js similarity index 100% rename from js/src/i18n/en/settings.js rename to js-old/src/i18n/en/settings.js diff --git a/js/src/i18n/index.js b/js-old/src/i18n/index.js similarity index 100% rename from js/src/i18n/index.js rename to js-old/src/i18n/index.js diff --git a/js/src/i18n/languages.js b/js-old/src/i18n/languages.js similarity index 100% rename from js/src/i18n/languages.js rename to js-old/src/i18n/languages.js diff --git a/js/src/i18n/languages.spec.js b/js-old/src/i18n/languages.spec.js similarity index 100% rename from js/src/i18n/languages.spec.js rename to js-old/src/i18n/languages.spec.js diff --git a/js/src/i18n/nl/account.js b/js-old/src/i18n/nl/account.js similarity index 100% rename from js/src/i18n/nl/account.js rename to js-old/src/i18n/nl/account.js diff --git a/js/src/i18n/nl/accounts.js b/js-old/src/i18n/nl/accounts.js similarity index 100% rename from js/src/i18n/nl/accounts.js rename to js-old/src/i18n/nl/accounts.js diff --git a/js/src/i18n/nl/addAddress.js b/js-old/src/i18n/nl/addAddress.js similarity index 100% rename from js/src/i18n/nl/addAddress.js rename to js-old/src/i18n/nl/addAddress.js diff --git a/js/src/i18n/nl/addContract.js b/js-old/src/i18n/nl/addContract.js similarity index 100% rename from js/src/i18n/nl/addContract.js rename to js-old/src/i18n/nl/addContract.js diff --git a/js/src/i18n/nl/address.js b/js-old/src/i18n/nl/address.js similarity index 100% rename from js/src/i18n/nl/address.js rename to js-old/src/i18n/nl/address.js diff --git a/js/src/i18n/nl/addressSelect.js b/js-old/src/i18n/nl/addressSelect.js similarity index 100% rename from js/src/i18n/nl/addressSelect.js rename to js-old/src/i18n/nl/addressSelect.js diff --git a/js/src/i18n/nl/addresses.js b/js-old/src/i18n/nl/addresses.js similarity index 100% rename from js/src/i18n/nl/addresses.js rename to js-old/src/i18n/nl/addresses.js diff --git a/js/src/i18n/nl/application.js b/js-old/src/i18n/nl/application.js similarity index 100% rename from js/src/i18n/nl/application.js rename to js-old/src/i18n/nl/application.js diff --git a/js/src/i18n/nl/connection.js b/js-old/src/i18n/nl/connection.js similarity index 100% rename from js/src/i18n/nl/connection.js rename to js-old/src/i18n/nl/connection.js diff --git a/js/src/i18n/nl/contract.js b/js-old/src/i18n/nl/contract.js similarity index 100% rename from js/src/i18n/nl/contract.js rename to js-old/src/i18n/nl/contract.js diff --git a/js/src/i18n/nl/contracts.js b/js-old/src/i18n/nl/contracts.js similarity index 100% rename from js/src/i18n/nl/contracts.js rename to js-old/src/i18n/nl/contracts.js diff --git a/js/src/i18n/nl/createAccount.js b/js-old/src/i18n/nl/createAccount.js similarity index 100% rename from js/src/i18n/nl/createAccount.js rename to js-old/src/i18n/nl/createAccount.js diff --git a/js/src/i18n/nl/createWallet.js b/js-old/src/i18n/nl/createWallet.js similarity index 100% rename from js/src/i18n/nl/createWallet.js rename to js-old/src/i18n/nl/createWallet.js diff --git a/js/src/i18n/nl/dapp.js b/js-old/src/i18n/nl/dapp.js similarity index 100% rename from js/src/i18n/nl/dapp.js rename to js-old/src/i18n/nl/dapp.js diff --git a/js/src/i18n/nl/dapps.js b/js-old/src/i18n/nl/dapps.js similarity index 100% rename from js/src/i18n/nl/dapps.js rename to js-old/src/i18n/nl/dapps.js diff --git a/js/src/i18n/nl/deleteAccount.js b/js-old/src/i18n/nl/deleteAccount.js similarity index 100% rename from js/src/i18n/nl/deleteAccount.js rename to js-old/src/i18n/nl/deleteAccount.js diff --git a/js/src/i18n/nl/deployContract.js b/js-old/src/i18n/nl/deployContract.js similarity index 100% rename from js/src/i18n/nl/deployContract.js rename to js-old/src/i18n/nl/deployContract.js diff --git a/js/src/i18n/zh-Hant-TW/details_windows.js b/js-old/src/i18n/nl/details_windows.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/details_windows.js rename to js-old/src/i18n/nl/details_windows.js diff --git a/js/src/i18n/nl/editMeta.js b/js-old/src/i18n/nl/editMeta.js similarity index 100% rename from js/src/i18n/nl/editMeta.js rename to js-old/src/i18n/nl/editMeta.js diff --git a/js/src/i18n/nl/errors.js b/js-old/src/i18n/nl/errors.js similarity index 100% rename from js/src/i18n/nl/errors.js rename to js-old/src/i18n/nl/errors.js diff --git a/js/src/i18n/nl/executeContract.js b/js-old/src/i18n/nl/executeContract.js similarity index 100% rename from js/src/i18n/nl/executeContract.js rename to js-old/src/i18n/nl/executeContract.js diff --git a/js/src/i18n/nl/extension.js b/js-old/src/i18n/nl/extension.js similarity index 100% rename from js/src/i18n/nl/extension.js rename to js-old/src/i18n/nl/extension.js diff --git a/js/src/i18n/nl/faucet.js b/js-old/src/i18n/nl/faucet.js similarity index 100% rename from js/src/i18n/nl/faucet.js rename to js-old/src/i18n/nl/faucet.js diff --git a/js/src/i18n/nl/firstRun.js b/js-old/src/i18n/nl/firstRun.js similarity index 100% rename from js/src/i18n/nl/firstRun.js rename to js-old/src/i18n/nl/firstRun.js diff --git a/js/src/i18n/nl/home.js b/js-old/src/i18n/nl/home.js similarity index 100% rename from js/src/i18n/nl/home.js rename to js-old/src/i18n/nl/home.js diff --git a/js/src/i18n/nl/index.js b/js-old/src/i18n/nl/index.js similarity index 100% rename from js/src/i18n/nl/index.js rename to js-old/src/i18n/nl/index.js diff --git a/js/src/i18n/nl/loadContract.js b/js-old/src/i18n/nl/loadContract.js similarity index 100% rename from js/src/i18n/nl/loadContract.js rename to js-old/src/i18n/nl/loadContract.js diff --git a/js/src/i18n/nl/parityBar.js b/js-old/src/i18n/nl/parityBar.js similarity index 100% rename from js/src/i18n/nl/parityBar.js rename to js-old/src/i18n/nl/parityBar.js diff --git a/js/src/i18n/nl/passwordChange.js b/js-old/src/i18n/nl/passwordChange.js similarity index 100% rename from js/src/i18n/nl/passwordChange.js rename to js-old/src/i18n/nl/passwordChange.js diff --git a/js/src/i18n/nl/saveContract.js b/js-old/src/i18n/nl/saveContract.js similarity index 100% rename from js/src/i18n/nl/saveContract.js rename to js-old/src/i18n/nl/saveContract.js diff --git a/js-old/src/i18n/nl/settings.js b/js-old/src/i18n/nl/settings.js new file mode 100644 index 0000000000000000000000000000000000000000..f436d39c652415e28e0b5a0b1be27a37c8a2bc22 --- /dev/null +++ b/js-old/src/i18n/nl/settings.js @@ -0,0 +1,101 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + background: { + button_more: `genereer meer`, + overview_0: `Het achtergrond patroon dat je nu kunt zien is uniek voor jouw Parity installatie. Het veranderd elke keer als je een nieuw Signer token genereerd. Op deze manier kunnen gedecentraliseerde applicaties niet doen alsof ze betrouwbaar zijn.`, + overview_1: `Kies het patroon dat je wilt en onthoud het. Dit patroon wordt vanaf nu altijd getoond, tenzij je je browser cache wist of een nieuw Signer token genereerd.`, + label: `achtergrond` + }, + parity: { + chains: { + chain_classic: `Parity synchroniseert met het Ethereum Classic netwerk`, + chain_dev: `Parity gebruikt een lokale ontwikkelaars chain`, + chain_expanse: `Parity synchroniseert met het Expanse netwerk`, + chain_foundation: `Parity synchroniseert met het Ethereum netwerk wat door de Ethereum Foundation is uitgebracht`, + chain_kovan: `Parity synchroniseert met het Kovan test netwerk`, + chain_olympic: `Parity synchroniseert met het Olympic test netwerk`, + chain_ropsten: `Parity synchroniseert met het Ropsten test netwerk`, + cmorden_kovan: `Parity synchroniseert met het Morden (Classic) test netwerk`, + hint: `de chain waarmee de Parity node synchroniseert`, + label: `te synchroniseren chain/netwerk` + }, + languages: { + hint: `de taal waarin deze interface wordt weergegeven`, + label: `Weergave taal` + }, + loglevels: `Kies hoeveel details er in het logboek worden bijgehouden.`, + modes: { + hint: `de synchronisatie modus van de Parity node`, + label: `Synchronisatie modus`, + mode_active: `Parity synchroniseert de chain continu`, + mode_dark: `Parity synchroniseert alleen als de RPC actief is`, + mode_offline: `Parity synchroniseert niet`, + mode_passive: `Parity synchroniseert in het begin. Daarna slaapt Parity en wordt regelmatig wakker voor synchronisatie` + }, + overview_0: `Pas de Parity node instellingen aan en kies de manier van synchroniseren in dit menu.`, + label: `parity` + }, + proxy: { + details_0: `In plaats van Parity te openen via het IP adres en poort-nummer, kun je toegang verkrijgen tot het .parity sub-domein door {homeProxy} te bezoeken. Om sub-domein gebaseerde routing in te stellen, dien je de proxy vermelding aan je browser proxy instellingen toe te voegen,`, + details_1: `Om je te helpen met het configureren van je proxy, zijn er instructies beschikbaar voor {windowsLink}, {macOSLink} or {ubuntuLink}.`, + details_macos: `macOS`, + details_ubuntu: `Ubuntu`, + details_windows: `Windows`, + overview_0: `Met de proxy instellingen heb je de mogelijkheid om via een makkelijk te onthouden adres toegang te verkrijgen tot Parity en alle onderliggende decentrale applicaties.`, + label: `proxy` + }, + views: { + accounts: { + description: `Een overzicht van alle aan deze Parity installatie verbonden accounts, inclusief geimporteerde accounts. Verzend transacties, ontvang inkomende transacties, berheer je saldo en financier je accounts.`, + label: `Accounts` + }, + addresses: { + description: `Een overzicht van alle door deze Parity installatie beheerde contacten en adresboek items. Monitor en volg accounts waarbij je transactie details met slechts een muisklik kunt weergeven.`, + label: `Adresboek` + }, + apps: { + description: `Decentrale applicaties die gebruik maken van het onderliggende Ethereum netwerk. Voeg applicaties toe, beheer je applicatie portfolio en maak gebruik van applicaties op het wereldwijde netwerk.`, + label: `Applicaties` + }, + contracts: { + description: `Monitor, volg en maak gebruik van specifieke contracten die op het netwerk zijn gezet. Dit is een meer technisch gerichte omgeving, voornamelijk bedoeld voor geavanceerde gebruikers die de werking van bepaalde contracten goed begrijpen.`, + label: `Contracten` + }, + overview_0: `Beheer de beschikbare weergaven van deze interface, en selecteer enkel de delen van de applicatie die voor jou van belang zijn.`, + overview_1: `Ben je een eind gebruiker? De standaard instellingen zijn geschikt voor zowel beginners als gevorderde gebruikers.`, + overview_2: `Ben je een ontwikkelaar? Voeg enkele functies toe om je contracten te beheren en gebruik te maken van gedecentraliseerde applicaties.`, + overview_3: `Ben je een miner of draai je een grootschalige node? Voeg enkele functies toe om je alle informatie te geven die je nodig hebt om je node te monitoren.`, + settings: { + description: `Deze weergave. Hiermee kun je Parity aan passen in termen van opties, bediening en look en feel.`, + label: `Instellingen` + }, + signer: { + description: `Het beveiligde transactie beheergebied van de applicatie waar je goedkeuring kunt verlenen aan elke uitgaande transactie die je hebt gemaakt met Parity evenals de transacties die in de wachtrij zijn geplaatst door decentrale applicaties.`, + label: `Signer` + }, + status: { + description: `Volg hoe de Parity node zijn werk doet en je verbind met het netwerk en bekijk de logboeken van de momenteel draaiende node met mining details (indien geconfigureerd en ingeschakeld).`, + label: `Status` + }, + label: `weergaven`, + home: { + label: `Thuis` + } + }, + label: `instellingen` +}; diff --git a/js/src/i18n/nl/shapeshift.js b/js-old/src/i18n/nl/shapeshift.js similarity index 100% rename from js/src/i18n/nl/shapeshift.js rename to js-old/src/i18n/nl/shapeshift.js diff --git a/js/src/i18n/nl/signer.js b/js-old/src/i18n/nl/signer.js similarity index 100% rename from js/src/i18n/nl/signer.js rename to js-old/src/i18n/nl/signer.js diff --git a/js/src/i18n/nl/status.js b/js-old/src/i18n/nl/status.js similarity index 100% rename from js/src/i18n/nl/status.js rename to js-old/src/i18n/nl/status.js diff --git a/js/src/i18n/nl/tabBar.js b/js-old/src/i18n/nl/tabBar.js similarity index 100% rename from js/src/i18n/nl/tabBar.js rename to js-old/src/i18n/nl/tabBar.js diff --git a/js/src/i18n/nl/transfer.js b/js-old/src/i18n/nl/transfer.js similarity index 100% rename from js/src/i18n/nl/transfer.js rename to js-old/src/i18n/nl/transfer.js diff --git a/js/src/i18n/nl/txEditor.js b/js-old/src/i18n/nl/txEditor.js similarity index 100% rename from js/src/i18n/nl/txEditor.js rename to js-old/src/i18n/nl/txEditor.js diff --git a/js/src/i18n/nl/ui.js b/js-old/src/i18n/nl/ui.js similarity index 100% rename from js/src/i18n/nl/ui.js rename to js-old/src/i18n/nl/ui.js diff --git a/js/src/i18n/nl/upgradeParity.js b/js-old/src/i18n/nl/upgradeParity.js similarity index 100% rename from js/src/i18n/nl/upgradeParity.js rename to js-old/src/i18n/nl/upgradeParity.js diff --git a/js/src/i18n/nl/vaults.js b/js-old/src/i18n/nl/vaults.js similarity index 100% rename from js/src/i18n/nl/vaults.js rename to js-old/src/i18n/nl/vaults.js diff --git a/js/src/i18n/nl/verification.js b/js-old/src/i18n/nl/verification.js similarity index 100% rename from js/src/i18n/nl/verification.js rename to js-old/src/i18n/nl/verification.js diff --git a/js/src/i18n/nl/wallet.js b/js-old/src/i18n/nl/wallet.js similarity index 100% rename from js/src/i18n/nl/wallet.js rename to js-old/src/i18n/nl/wallet.js diff --git a/js/src/i18n/nl/walletSettings.js b/js-old/src/i18n/nl/walletSettings.js similarity index 100% rename from js/src/i18n/nl/walletSettings.js rename to js-old/src/i18n/nl/walletSettings.js diff --git a/js/src/i18n/nl/web.js b/js-old/src/i18n/nl/web.js similarity index 100% rename from js/src/i18n/nl/web.js rename to js-old/src/i18n/nl/web.js diff --git a/js/src/i18n/nl/writeContract.js b/js-old/src/i18n/nl/writeContract.js similarity index 100% rename from js/src/i18n/nl/writeContract.js rename to js-old/src/i18n/nl/writeContract.js diff --git a/js-old/src/i18n/store.js b/js-old/src/i18n/store.js new file mode 100644 index 0000000000000000000000000000000000000000..f2506950ec827e3fc987d6ea3160bf175c07257f --- /dev/null +++ b/js-old/src/i18n/store.js @@ -0,0 +1,82 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import flatten from 'flat'; +import { action, observable, transaction } from 'mobx'; +import { addLocaleData } from 'react-intl'; +import de from 'react-intl/locale-data/de'; +import en from 'react-intl/locale-data/en'; +import nl from 'react-intl/locale-data/nl'; +import zh from 'react-intl/locale-data/zh'; +import store from 'store'; + +import { DEFAULT_LOCALE, DEFAULT_LOCALES, LS_STORE_KEY } from './constants'; +import languages from './languages'; +import deMessages from './de'; +import enMessages from './en'; +import nlMessages from './nl'; +import zhMessages from './zh'; +import zhHantTWMessages from './zh-Hant-TW'; + +let instance = null; + +const LANGUAGES = flatten({ languages }); +const MESSAGES = { + de: Object.assign(flatten(deMessages), LANGUAGES), + en: Object.assign(flatten(enMessages), LANGUAGES), + nl: Object.assign(flatten(nlMessages), LANGUAGES), + zh: Object.assign(flatten(zhMessages), LANGUAGES), + 'zh-Hant-TW': Object.assign(flatten(zhHantTWMessages), LANGUAGES) +}; + +addLocaleData([...de, ...en, ...nl, ...zh]); + +export default class Store { + @observable locale = DEFAULT_LOCALE; + @observable locales = DEFAULT_LOCALES; + @observable messages = MESSAGES[DEFAULT_LOCALE]; + + constructor () { + const savedLocale = store.get(LS_STORE_KEY); + + this.locale = (savedLocale && DEFAULT_LOCALES.includes(savedLocale)) + ? savedLocale + : DEFAULT_LOCALE; + this.messages = MESSAGES[this.locale]; + } + + @action setLocale (locale) { + transaction(() => { + this.locale = locale; + this.messages = MESSAGES[locale]; + + store.set(LS_STORE_KEY, locale); + }); + } + + static get () { + if (!instance) { + instance = new Store(); + } + + return instance; + } +} + +export { + LANGUAGES, + MESSAGES +}; diff --git a/js/src/i18n/store.spec.js b/js-old/src/i18n/store.spec.js similarity index 100% rename from js/src/i18n/store.spec.js rename to js-old/src/i18n/store.spec.js diff --git a/js/src/i18n/zh-Hant-TW/account.js b/js-old/src/i18n/zh-Hant-TW/account.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/account.js rename to js-old/src/i18n/zh-Hant-TW/account.js diff --git a/js/src/i18n/zh-Hant-TW/accounts.js b/js-old/src/i18n/zh-Hant-TW/accounts.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/accounts.js rename to js-old/src/i18n/zh-Hant-TW/accounts.js diff --git a/js/src/i18n/zh-Hant-TW/addAddress.js b/js-old/src/i18n/zh-Hant-TW/addAddress.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addAddress.js rename to js-old/src/i18n/zh-Hant-TW/addAddress.js diff --git a/js/src/i18n/zh-Hant-TW/addContract.js b/js-old/src/i18n/zh-Hant-TW/addContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addContract.js rename to js-old/src/i18n/zh-Hant-TW/addContract.js diff --git a/js/src/i18n/zh-Hant-TW/address.js b/js-old/src/i18n/zh-Hant-TW/address.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/address.js rename to js-old/src/i18n/zh-Hant-TW/address.js diff --git a/js/src/i18n/zh-Hant-TW/addressSelect.js b/js-old/src/i18n/zh-Hant-TW/addressSelect.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addressSelect.js rename to js-old/src/i18n/zh-Hant-TW/addressSelect.js diff --git a/js/src/i18n/zh-Hant-TW/addresses.js b/js-old/src/i18n/zh-Hant-TW/addresses.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addresses.js rename to js-old/src/i18n/zh-Hant-TW/addresses.js diff --git a/js/src/i18n/zh-Hant-TW/application.js b/js-old/src/i18n/zh-Hant-TW/application.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/application.js rename to js-old/src/i18n/zh-Hant-TW/application.js diff --git a/js/src/i18n/zh-Hant-TW/connection.js b/js-old/src/i18n/zh-Hant-TW/connection.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/connection.js rename to js-old/src/i18n/zh-Hant-TW/connection.js diff --git a/js/src/i18n/zh-Hant-TW/contract.js b/js-old/src/i18n/zh-Hant-TW/contract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/contract.js rename to js-old/src/i18n/zh-Hant-TW/contract.js diff --git a/js/src/i18n/zh-Hant-TW/contracts.js b/js-old/src/i18n/zh-Hant-TW/contracts.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/contracts.js rename to js-old/src/i18n/zh-Hant-TW/contracts.js diff --git a/js/src/i18n/zh-Hant-TW/createAccount.js b/js-old/src/i18n/zh-Hant-TW/createAccount.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/createAccount.js rename to js-old/src/i18n/zh-Hant-TW/createAccount.js diff --git a/js/src/i18n/zh-Hant-TW/createWallet.js b/js-old/src/i18n/zh-Hant-TW/createWallet.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/createWallet.js rename to js-old/src/i18n/zh-Hant-TW/createWallet.js diff --git a/js/src/i18n/zh-Hant-TW/dapp.js b/js-old/src/i18n/zh-Hant-TW/dapp.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/dapp.js rename to js-old/src/i18n/zh-Hant-TW/dapp.js diff --git a/js/src/i18n/zh-Hant-TW/dapps.js b/js-old/src/i18n/zh-Hant-TW/dapps.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/dapps.js rename to js-old/src/i18n/zh-Hant-TW/dapps.js diff --git a/js/src/i18n/zh-Hant-TW/deleteAccount.js b/js-old/src/i18n/zh-Hant-TW/deleteAccount.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/deleteAccount.js rename to js-old/src/i18n/zh-Hant-TW/deleteAccount.js diff --git a/js/src/i18n/zh-Hant-TW/deployContract.js b/js-old/src/i18n/zh-Hant-TW/deployContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/deployContract.js rename to js-old/src/i18n/zh-Hant-TW/deployContract.js diff --git a/js/src/i18n/zh/details_windows.js b/js-old/src/i18n/zh-Hant-TW/details_windows.js similarity index 100% rename from js/src/i18n/zh/details_windows.js rename to js-old/src/i18n/zh-Hant-TW/details_windows.js diff --git a/js/src/i18n/zh-Hant-TW/editMeta.js b/js-old/src/i18n/zh-Hant-TW/editMeta.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/editMeta.js rename to js-old/src/i18n/zh-Hant-TW/editMeta.js diff --git a/js/src/i18n/zh-Hant-TW/errors.js b/js-old/src/i18n/zh-Hant-TW/errors.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/errors.js rename to js-old/src/i18n/zh-Hant-TW/errors.js diff --git a/js/src/i18n/zh-Hant-TW/executeContract.js b/js-old/src/i18n/zh-Hant-TW/executeContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/executeContract.js rename to js-old/src/i18n/zh-Hant-TW/executeContract.js diff --git a/js/src/i18n/zh-Hant-TW/extension.js b/js-old/src/i18n/zh-Hant-TW/extension.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/extension.js rename to js-old/src/i18n/zh-Hant-TW/extension.js diff --git a/js/src/i18n/zh-Hant-TW/faucet.js b/js-old/src/i18n/zh-Hant-TW/faucet.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/faucet.js rename to js-old/src/i18n/zh-Hant-TW/faucet.js diff --git a/js/src/i18n/zh-Hant-TW/firstRun.js b/js-old/src/i18n/zh-Hant-TW/firstRun.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/firstRun.js rename to js-old/src/i18n/zh-Hant-TW/firstRun.js diff --git a/js/src/i18n/zh-Hant-TW/home.js b/js-old/src/i18n/zh-Hant-TW/home.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/home.js rename to js-old/src/i18n/zh-Hant-TW/home.js diff --git a/js/src/i18n/zh-Hant-TW/index.js b/js-old/src/i18n/zh-Hant-TW/index.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/index.js rename to js-old/src/i18n/zh-Hant-TW/index.js diff --git a/js/src/i18n/zh-Hant-TW/loadContract.js b/js-old/src/i18n/zh-Hant-TW/loadContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/loadContract.js rename to js-old/src/i18n/zh-Hant-TW/loadContract.js diff --git a/js/src/i18n/zh-Hant-TW/parityBar.js b/js-old/src/i18n/zh-Hant-TW/parityBar.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/parityBar.js rename to js-old/src/i18n/zh-Hant-TW/parityBar.js diff --git a/js/src/i18n/zh-Hant-TW/passwordChange.js b/js-old/src/i18n/zh-Hant-TW/passwordChange.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/passwordChange.js rename to js-old/src/i18n/zh-Hant-TW/passwordChange.js diff --git a/js/src/i18n/zh-Hant-TW/saveContract.js b/js-old/src/i18n/zh-Hant-TW/saveContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/saveContract.js rename to js-old/src/i18n/zh-Hant-TW/saveContract.js diff --git a/js-old/src/i18n/zh-Hant-TW/settings.js b/js-old/src/i18n/zh-Hant-TW/settings.js new file mode 100644 index 0000000000000000000000000000000000000000..8841279dc018f671caf38e6abc151042bcabbede --- /dev/null +++ b/js-old/src/i18n/zh-Hant-TW/settings.js @@ -0,0 +1,126 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + background: { + button_more: `生成更多`, // generate more + overview_0: `你現在所看到的背景圖案在你的Parity安裝中是獨一無二的。每次創造一個新的Signer令牌都會改變一次圖案。這也保證了去中性化應用不能偽裝成可信的樣子。`, + // The background pattern you can see right now is unique to your Parity installation. It will change every time you create a new + // Signer token. This is so that decentralized applications cannot pretend to be trustworthy. + overview_1: `選擇一個你喜歡的圖案並記住它的樣子。這個圖案從現在開始會經常出現,除非你清空了瀏覽器的快取或者使用了新的Signer令牌。`, + // Pick a pattern you like and memorize it. This Pattern will always be shown from now on, unless you clear your browser cache or + // use a new Signer token. + label: `背景` // background + }, + parity: { + chains: { + chain_classic: `將Parity同步至以太坊經典網路`, // Parity syncs to the Ethereum Classic network + chain_dev: `將Parity使用一條本地開發用區塊鏈`, // Parity uses a local development chain + chain_expanse: `將Parity同步至Expanse網路`, // Parity syncs to the Expanse network + chain_foundation: `將Parity同步至以太坊基金會發起的以太坊網路`, // Parity syncs to the Ethereum network launched by the Ethereum Foundation + chain_kovan: `將Parity同步至Kovan測試網路`, // Parity syncs to the Kovan test network + chain_olympic: `將Parity同步至Olympic測試網路`, // Parity syncs to the Olympic test network + chain_ropsten: `將Parity同步至Ropsten測試網路`, // Parity syncs to the Ropsten test network + cmorden_kovan: `將Parity同步至Morden(經典)測試網路`, // Parity syncs to Morden (Classic) test network + hint: `Parity節點同步的區塊鏈`, // the chain for the Parity node to sync to + label: `將同步的區塊鏈/網路` // chain/network to sync + }, + languages: { + hint: `此介面顯示的語言`, // the language this interface is displayed with + label: `介面語言` // UI language + }, + loglevels: `選擇一個不同的logs層次`, // Choose the different logs level. + modes: { + hint: `Parity節點的同步模式`, // the syncing mode for the Parity node + label: `執行模式`, // mode of operation + mode_active: `Parity持續地同步區塊鏈`, // Parity continuously syncs the chain + mode_dark: `Parity只有在RPC啟用時才同步`, // Parity syncs only when the RPC is active + mode_offline: `Parity不同步`, // Parity doesn't sync + mode_passive: `Parity初始同步,然後進入休眠並有規律地再同步` // Parity syncs initially, then sleeps and wakes regularly to resync + }, + overview_0: `通過此介面控制Parity節點設定和同步設定`, // Control the Parity node settings and nature of syncing via this interface. + label: `parity` // parity + }, + proxy: { + details_0: `除了通過IP地址和埠來訪問Parity,你也能通過.parity子域名來使用Parity,訪問 {homeProxy}。為了設定基於子域名的路由,你需要新增相關的代理記錄至你的瀏覽器。`, + // Instead of accessing Parity via the IP address and port, you will be able to access it via the .parity subdomain, by visiting + // {homeProxy}. To setup subdomain-based routing, you need to add the relevant proxy entries to your browser, + details_1: `如果想了解如何配置代理,教程已提供在{windowsLink},{macOSLink}和{ubuntuLink}。`, + // To learn how to configure the proxy, instructions are provided for {windowsLink}, {macOSLink} or {ubuntuLink}. + details_macos: `macOS`, // macOS + details_ubuntu: `Ubuntu`, // Ubuntu + details_windows: `Windows`, // Windows + overview_0: `代理設定使你可以通過一個可記憶的地址來訪問Parity和所有相關的去中性化應用。`, + // The proxy setup allows you to access Parity and all associated decentralized applications via memorable addresses. + label: `代理` // proxy + }, + views: { + accounts: { + description: `一個此Parity例項所關聯和匯入的所有帳戶的列表。傳送交易、接收流入價值、管理你的帳目和資助你的帳戶。`, + // A list of all the accounts associated with and imported into this Parity instance. Send transactions, receive incoming values, + // manage your balances and fund your accounts. + label: `帳戶` // Accounts + }, + addresses: { + description: `一個此Parity例項管理的所有聯絡人和地址簿記錄的列表。只需點選一個按鈕就可以觀察帳戶並獲得所有交易相關的資訊。`, + // A list of all contacts and address book entries managed by this Parity instance. Watch accounts and have the details available + // at the click of a button when transacting. + label: `地址簿` // Addressbook + }, + apps: { + description: `與整個底層網路交流的分散式應用。新增應用,管理你的應用庫和與網路上的其他應用進行互動。`, + // Decentralized applications that interact with the underlying network. Add applications, manage you application portfolio and + // interact with application from around the network. + label: `應用` // Applications + }, + contracts: { + description: `觀察和互動已經被部署在網路上的特定合約。這是一個更注重技術的環境,特別為可以理解合約內部執行機制的高階使用者所設立。`, + // Watch and interact with specific contracts that have been deployed on the network. This is a more technically-focused environment, + // specifically for advanced users that understand the inner working of certain contracts. + label: `合約` // Contracts + }, + overview_0: `僅可視部分對你可用的應用來管理應用介面`, + // Manage the available application views using only the parts of the application applicable to you. + overview_1: `你是終端使用者?預設設定為初學者和高階使用者進行了相同的設定。`, + // Are you an end-user? The defaults are setup for both beginner and advanced users alike. + overview_2: `你是開發者?新增一些功能來管理合約和與應用部署互動。`, + // Are you a developer? Add some features to manage contracts and interact with application deployments. + overview_3: `你是礦工或者運營一個大型節點?新增一些功能來讓你獲得更多有關節點執行的資訊。`, + // Are you a miner or run a large-scale node? Add the features to give you all the information needed to watch the node operation. + settings: { + description: `此介面。允許你自定義應用的選項、執行、視覺化和感官。`, + // This view. Allows you to customize the application in term of options, operation and look and feel. + label: `設定` // Settings + }, + signer: { + description: `這個應用安全交易管理區域,你可以通過任何從本應用和其他分散式應用發起的即將傳送的交易`, + // The secure transaction management area of the application where you can approve any outgoing transactions made + // from the application as well as those placed into the queue by decentralized applications. + label: `Signer` // Signer + }, + status: { + description: `觀察Parity節點現在的執行情況:網路連線數、實際執行例項的Logs和具體挖礦資訊(如果已開啟並設定)`, + // See how the Parity node is performing in terms of connections to the network, logs from the actual running instance + // and details of mining (if enabled and configured). + label: `狀態` // Status + }, + label: `視窗`, // views + home: { + label: `首頁` // Home + } + }, + label: `設定` // settings +}; diff --git a/js/src/i18n/zh-Hant-TW/shapeshift.js b/js-old/src/i18n/zh-Hant-TW/shapeshift.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/shapeshift.js rename to js-old/src/i18n/zh-Hant-TW/shapeshift.js diff --git a/js-old/src/i18n/zh-Hant-TW/signer.js b/js-old/src/i18n/zh-Hant-TW/signer.js new file mode 100644 index 0000000000000000000000000000000000000000..df816d73483e2ad4a05febea027009984df2435a --- /dev/null +++ b/js-old/src/i18n/zh-Hant-TW/signer.js @@ -0,0 +1,107 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + embedded: { + noPending: `目前沒有待處理的確認等待你的處理` + // There are currently no pending requests awaiting your confirmation + }, + mainDetails: { + editTx: `編輯條款/gas/gasPrice`, // Edit conditions/gas/gasPrice + tooltips: { + total1: `包括交易費的交易的總價值是{total} {type}`, + // The value of the transaction including the mining fee is {total} {type}. + total2: `(包括了交易費 {fee} {token})`, + // (This includes a mining fee of {fee} {token}) + value1: `交易價值` // The value of the transaction. + } + }, + requestOrigin: { + dapp: `來自dapp {url}`, // by a dapp at {url} + ipc: `通過IPC會話`, // via IPC session + rpc: `通過RPC{rpc}`, // via RPC {rpc} + signerCurrent: `通過當前標籤頁`, // via current tab + signerUI: `通過互動會話`, // via UI session + unknownInterface: `通過未知互動`, // via unknown interface + unknownRpc: `未明確的`, // unidentified + unknownUrl: `未知URL` // unknown URL + }, + requestsPage: { + noPending: `沒有請求需要你的確認`, // There are no requests requiring your confirmation. + pendingTitle: `待處理請求`, // Pending Requests + queueTitle: `本地交易` // Local Transactions + }, + sending: { + hardware: { + confirm: `請在你連線的硬體裝置上確認交易`, // Please confirm the transaction on your attached hardware device + connect: `請在確認交易前連線你的硬體裝置` // Please attach your hardware device before confirming the transaction + } + }, + signRequest: { + request: `一個簽名資料在請求你的帳號:`, // A request to sign data using your account: + state: { + confirmed: `通過`, // Confirmed + rejected: `拒絕` // Rejected + }, + unknownBinary: `(未知二進位制資料)`, // (Unknown binary data) + warning: `警告:此操作的結果是不可逆的。請在確認資訊後再通過請求。` + // WARNING: This consequences of doing this may be grave. Confirm the request only if you are sure. + }, + title: `可信的Signer`, // Trusted Signer + txPending: { + buttons: { + viewToggle: `檢視交易` // view transaction + } + }, + txPendingConfirm: { + buttons: { + confirmBusy: `通過中...`, // Confirming... + confirmRequest: `通過請求` // Confirm Request + }, + errors: { + invalidWallet: `所提供的錢包檔案不可用` // Given wallet file is invalid. + }, + password: { + decrypt: { + hint: `解金鑰匙`, // decrypt the key + label: `鑰匙密碼` // Key Password + }, + unlock: { + hint: `解鎖帳戶`, // unlock the account + label: `帳戶密碼` // Account Password + } + }, + passwordHint: `(提示){passwordHint}`, // (hint) {passwordHint} + selectKey: { + hint: `此帳戶的鑰匙檔案`, // The keyfile to use for this account + label: `選擇本地鑰匙` // Select Local Key + }, + tooltips: { + password: `請為此帳戶提供密碼` // Please provide a password for this account + } + }, + txPendingForm: { + changedMind: `我改主意了`, // I've changed my mind + reject: `拒絕請求` // reject request + }, + txPendingReject: { + buttons: { + reject: `拒絕請求` // Reject Request + }, + info: `你確定要拒絕請求嗎?`, // Are you sure you want to reject request? + undone: `此操作是不可逆的` // This cannot be undone + } +}; diff --git a/js/src/i18n/zh-Hant-TW/status.js b/js-old/src/i18n/zh-Hant-TW/status.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/status.js rename to js-old/src/i18n/zh-Hant-TW/status.js diff --git a/js/src/i18n/zh-Hant-TW/tabBar.js b/js-old/src/i18n/zh-Hant-TW/tabBar.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/tabBar.js rename to js-old/src/i18n/zh-Hant-TW/tabBar.js diff --git a/js/src/i18n/zh-Hant-TW/transfer.js b/js-old/src/i18n/zh-Hant-TW/transfer.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/transfer.js rename to js-old/src/i18n/zh-Hant-TW/transfer.js diff --git a/js/src/i18n/zh-Hant-TW/txEditor.js b/js-old/src/i18n/zh-Hant-TW/txEditor.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/txEditor.js rename to js-old/src/i18n/zh-Hant-TW/txEditor.js diff --git a/js/src/i18n/zh-Hant-TW/ui.js b/js-old/src/i18n/zh-Hant-TW/ui.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/ui.js rename to js-old/src/i18n/zh-Hant-TW/ui.js diff --git a/js/src/i18n/zh-Hant-TW/upgradeParity.js b/js-old/src/i18n/zh-Hant-TW/upgradeParity.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/upgradeParity.js rename to js-old/src/i18n/zh-Hant-TW/upgradeParity.js diff --git a/js/src/i18n/zh-Hant-TW/vaults.js b/js-old/src/i18n/zh-Hant-TW/vaults.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/vaults.js rename to js-old/src/i18n/zh-Hant-TW/vaults.js diff --git a/js/src/i18n/zh-Hant-TW/verification.js b/js-old/src/i18n/zh-Hant-TW/verification.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/verification.js rename to js-old/src/i18n/zh-Hant-TW/verification.js diff --git a/js/src/i18n/zh-Hant-TW/wallet.js b/js-old/src/i18n/zh-Hant-TW/wallet.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/wallet.js rename to js-old/src/i18n/zh-Hant-TW/wallet.js diff --git a/js/src/i18n/zh-Hant-TW/walletSettings.js b/js-old/src/i18n/zh-Hant-TW/walletSettings.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/walletSettings.js rename to js-old/src/i18n/zh-Hant-TW/walletSettings.js diff --git a/js/src/i18n/zh-Hant-TW/web.js b/js-old/src/i18n/zh-Hant-TW/web.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/web.js rename to js-old/src/i18n/zh-Hant-TW/web.js diff --git a/js/src/i18n/zh-Hant-TW/writeContract.js b/js-old/src/i18n/zh-Hant-TW/writeContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/writeContract.js rename to js-old/src/i18n/zh-Hant-TW/writeContract.js diff --git a/js/src/i18n/zh/account.js b/js-old/src/i18n/zh/account.js similarity index 100% rename from js/src/i18n/zh/account.js rename to js-old/src/i18n/zh/account.js diff --git a/js/src/i18n/zh/accounts.js b/js-old/src/i18n/zh/accounts.js similarity index 100% rename from js/src/i18n/zh/accounts.js rename to js-old/src/i18n/zh/accounts.js diff --git a/js/src/i18n/zh/addAddress.js b/js-old/src/i18n/zh/addAddress.js similarity index 100% rename from js/src/i18n/zh/addAddress.js rename to js-old/src/i18n/zh/addAddress.js diff --git a/js/src/i18n/zh/addContract.js b/js-old/src/i18n/zh/addContract.js similarity index 100% rename from js/src/i18n/zh/addContract.js rename to js-old/src/i18n/zh/addContract.js diff --git a/js/src/i18n/zh/address.js b/js-old/src/i18n/zh/address.js similarity index 100% rename from js/src/i18n/zh/address.js rename to js-old/src/i18n/zh/address.js diff --git a/js/src/i18n/zh/addressSelect.js b/js-old/src/i18n/zh/addressSelect.js similarity index 100% rename from js/src/i18n/zh/addressSelect.js rename to js-old/src/i18n/zh/addressSelect.js diff --git a/js/src/i18n/zh/addresses.js b/js-old/src/i18n/zh/addresses.js similarity index 100% rename from js/src/i18n/zh/addresses.js rename to js-old/src/i18n/zh/addresses.js diff --git a/js/src/i18n/zh/application.js b/js-old/src/i18n/zh/application.js similarity index 100% rename from js/src/i18n/zh/application.js rename to js-old/src/i18n/zh/application.js diff --git a/js/src/i18n/zh/connection.js b/js-old/src/i18n/zh/connection.js similarity index 100% rename from js/src/i18n/zh/connection.js rename to js-old/src/i18n/zh/connection.js diff --git a/js/src/i18n/zh/contract.js b/js-old/src/i18n/zh/contract.js similarity index 100% rename from js/src/i18n/zh/contract.js rename to js-old/src/i18n/zh/contract.js diff --git a/js/src/i18n/zh/contracts.js b/js-old/src/i18n/zh/contracts.js similarity index 100% rename from js/src/i18n/zh/contracts.js rename to js-old/src/i18n/zh/contracts.js diff --git a/js/src/i18n/zh/createAccount.js b/js-old/src/i18n/zh/createAccount.js similarity index 100% rename from js/src/i18n/zh/createAccount.js rename to js-old/src/i18n/zh/createAccount.js diff --git a/js/src/i18n/zh/createWallet.js b/js-old/src/i18n/zh/createWallet.js similarity index 100% rename from js/src/i18n/zh/createWallet.js rename to js-old/src/i18n/zh/createWallet.js diff --git a/js/src/i18n/zh/dapp.js b/js-old/src/i18n/zh/dapp.js similarity index 100% rename from js/src/i18n/zh/dapp.js rename to js-old/src/i18n/zh/dapp.js diff --git a/js/src/i18n/zh/dapps.js b/js-old/src/i18n/zh/dapps.js similarity index 100% rename from js/src/i18n/zh/dapps.js rename to js-old/src/i18n/zh/dapps.js diff --git a/js/src/i18n/zh/deleteAccount.js b/js-old/src/i18n/zh/deleteAccount.js similarity index 100% rename from js/src/i18n/zh/deleteAccount.js rename to js-old/src/i18n/zh/deleteAccount.js diff --git a/js/src/i18n/zh/deployContract.js b/js-old/src/i18n/zh/deployContract.js similarity index 100% rename from js/src/i18n/zh/deployContract.js rename to js-old/src/i18n/zh/deployContract.js diff --git a/js-old/src/i18n/zh/details_windows.js b/js-old/src/i18n/zh/details_windows.js new file mode 100644 index 0000000000000000000000000000000000000000..fcc5700665db8ae92fc1906d7ac966c2d9783bed --- /dev/null +++ b/js-old/src/i18n/zh/details_windows.js @@ -0,0 +1,17 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default `Windows`; diff --git a/js/src/i18n/zh/editMeta.js b/js-old/src/i18n/zh/editMeta.js similarity index 100% rename from js/src/i18n/zh/editMeta.js rename to js-old/src/i18n/zh/editMeta.js diff --git a/js/src/i18n/zh/errors.js b/js-old/src/i18n/zh/errors.js similarity index 100% rename from js/src/i18n/zh/errors.js rename to js-old/src/i18n/zh/errors.js diff --git a/js/src/i18n/zh/executeContract.js b/js-old/src/i18n/zh/executeContract.js similarity index 100% rename from js/src/i18n/zh/executeContract.js rename to js-old/src/i18n/zh/executeContract.js diff --git a/js/src/i18n/zh/extension.js b/js-old/src/i18n/zh/extension.js similarity index 100% rename from js/src/i18n/zh/extension.js rename to js-old/src/i18n/zh/extension.js diff --git a/js/src/i18n/zh/faucet.js b/js-old/src/i18n/zh/faucet.js similarity index 100% rename from js/src/i18n/zh/faucet.js rename to js-old/src/i18n/zh/faucet.js diff --git a/js/src/i18n/zh/firstRun.js b/js-old/src/i18n/zh/firstRun.js similarity index 100% rename from js/src/i18n/zh/firstRun.js rename to js-old/src/i18n/zh/firstRun.js diff --git a/js/src/i18n/zh/home.js b/js-old/src/i18n/zh/home.js similarity index 100% rename from js/src/i18n/zh/home.js rename to js-old/src/i18n/zh/home.js diff --git a/js/src/i18n/zh/index.js b/js-old/src/i18n/zh/index.js similarity index 100% rename from js/src/i18n/zh/index.js rename to js-old/src/i18n/zh/index.js diff --git a/js/src/i18n/zh/loadContract.js b/js-old/src/i18n/zh/loadContract.js similarity index 100% rename from js/src/i18n/zh/loadContract.js rename to js-old/src/i18n/zh/loadContract.js diff --git a/js/src/i18n/zh/parityBar.js b/js-old/src/i18n/zh/parityBar.js similarity index 100% rename from js/src/i18n/zh/parityBar.js rename to js-old/src/i18n/zh/parityBar.js diff --git a/js/src/i18n/zh/passwordChange.js b/js-old/src/i18n/zh/passwordChange.js similarity index 100% rename from js/src/i18n/zh/passwordChange.js rename to js-old/src/i18n/zh/passwordChange.js diff --git a/js/src/i18n/zh/saveContract.js b/js-old/src/i18n/zh/saveContract.js similarity index 100% rename from js/src/i18n/zh/saveContract.js rename to js-old/src/i18n/zh/saveContract.js diff --git a/js-old/src/i18n/zh/settings.js b/js-old/src/i18n/zh/settings.js new file mode 100644 index 0000000000000000000000000000000000000000..4081a06d61d2fb6ef3288d4d316201af8ec061ec --- /dev/null +++ b/js-old/src/i18n/zh/settings.js @@ -0,0 +1,126 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + background: { + button_more: `生成更多`, // generate more + overview_0: `你现在所看到的背景图案在你的Parity安装中是独一无二的。每次创造一个新的Signer令牌都会改变一次图案。这也保证了去中性化应用不能伪装成可信的样子。`, + // The background pattern you can see right now is unique to your Parity installation. It will change every time you create a new + // Signer token. This is so that decentralized applications cannot pretend to be trustworthy. + overview_1: `选择一个你喜欢的图案并记住它的样子。这个图案从现在开始会经常出现,除非你清空了浏览器的缓存或者使用了新的Signer令牌。`, + // Pick a pattern you like and memorize it. This Pattern will always be shown from now on, unless you clear your browser cache or + // use a new Signer token. + label: `背景` // background + }, + parity: { + chains: { + chain_classic: `将Parity同步至以太坊经典网络`, // Parity syncs to the Ethereum Classic network + chain_dev: `将Parity使用一条本地开发用区块链`, // Parity uses a local development chain + chain_expanse: `将Parity同步至Expanse网络`, // Parity syncs to the Expanse network + chain_foundation: `将Parity同步至以太坊基金会发起的以太坊网络`, // Parity syncs to the Ethereum network launched by the Ethereum Foundation + chain_kovan: `将Parity同步至Kovan测试网络`, // Parity syncs to the Kovan test network + chain_olympic: `将Parity同步至Olympic测试网络`, // Parity syncs to the Olympic test network + chain_ropsten: `将Parity同步至Ropsten测试网络`, // Parity syncs to the Ropsten test network + cmorden_kovan: `将Parity同步至Morden(经典)测试网络`, // Parity syncs to Morden (Classic) test network + hint: `Parity节点同步的区块链`, // the chain for the Parity node to sync to + label: `将同步的区块链/网络` // chain/network to sync + }, + languages: { + hint: `此界面显示的语言`, // the language this interface is displayed with + label: `界面语言` // UI language + }, + loglevels: `选择一个不同的logs层次`, // Choose the different logs level. + modes: { + hint: `Parity节点的同步模式`, // the syncing mode for the Parity node + label: `运行模式`, // mode of operation + mode_active: `Parity持续地同步区块链`, // Parity continuously syncs the chain + mode_dark: `Parity只有在RPC激活时才同步`, // Parity syncs only when the RPC is active + mode_offline: `Parity不同步`, // Parity doesn't sync + mode_passive: `Parity初始同步,然后进入休眠并有规律地再同步` // Parity syncs initially, then sleeps and wakes regularly to resync + }, + overview_0: `通过此界面控制Parity节点设置和同步设置`, // Control the Parity node settings and nature of syncing via this interface. + label: `parity` // parity + }, + proxy: { + details_0: `除了通过IP地址和端口来访问Parity,你也能通过.parity子域名来使用Parity,访问 {homeProxy}。为了设置基于子域名的路由,你需要添加相关的代理记录至你的浏览器。`, + // Instead of accessing Parity via the IP address and port, you will be able to access it via the .parity subdomain, by visiting + // {homeProxy}. To setup subdomain-based routing, you need to add the relevant proxy entries to your browser, + details_1: `如果想了解如何配置代理,教程已提供在{windowsLink},{macOSLink}和{ubuntuLink}。`, + // To learn how to configure the proxy, instructions are provided for {windowsLink}, {macOSLink} or {ubuntuLink}. + details_macos: `macOS`, // macOS + details_ubuntu: `Ubuntu`, // Ubuntu + details_windows: `Windows`, // Windows + overview_0: `代理设置使你可以通过一个可记忆的地址来访问Parity和所有相关的去中性化应用。`, + // The proxy setup allows you to access Parity and all associated decentralized applications via memorable addresses. + label: `代理` // proxy + }, + views: { + accounts: { + description: `一个此Parity实例所关联和导入的所有账户的列表。发送交易、接收流入价值、管理你的账目和资助你的账户。`, + // A list of all the accounts associated with and imported into this Parity instance. Send transactions, receive incoming values, + // manage your balances and fund your accounts. + label: `账户` // Accounts + }, + addresses: { + description: `一个此Parity实例管理的所有联系人和地址簿记录的列表。只需点击一个按钮就可以观察账户并获得所有交易相关的信息。`, + // A list of all contacts and address book entries managed by this Parity instance. Watch accounts and have the details available + // at the click of a button when transacting. + label: `地址簿` // Addressbook + }, + apps: { + description: `与整个底层网络交流的分布式应用。添加应用,管理你的应用库和与网络上的其他应用进行交互。`, + // Decentralized applications that interact with the underlying network. Add applications, manage you application portfolio and + // interact with application from around the network. + label: `应用` // Applications + }, + contracts: { + description: `观察和交互已经被部署在网络上的特定合约。这是一个更注重技术的环境,特别为可以理解合约内部运行机制的高级用户所设立。`, + // Watch and interact with specific contracts that have been deployed on the network. This is a more technically-focused environment, + // specifically for advanced users that understand the inner working of certain contracts. + label: `合约` // Contracts + }, + overview_0: `仅可视部分对你可用的应用来管理应用界面`, + // Manage the available application views using only the parts of the application applicable to you. + overview_1: `你是终端用户?默认设置为初学者和高级用户进行了相同的设置。`, + // Are you an end-user? The defaults are setup for both beginner and advanced users alike. + overview_2: `你是开发者?添加一些功能来管理合约和与应用部署交互。`, + // Are you a developer? Add some features to manage contracts and interact with application deployments. + overview_3: `你是矿工或者运营一个大型节点?添加一些功能来让你获得更多有关节点运行的信息。`, + // Are you a miner or run a large-scale node? Add the features to give you all the information needed to watch the node operation. + settings: { + description: `此界面。允许你自定义应用的选项、运行、可视化和感官。`, + // This view. Allows you to customize the application in term of options, operation and look and feel. + label: `设置` // Settings + }, + signer: { + description: `这个应用安全交易管理区域,你可以通过任何从本应用和其他分布式应用发起的即将发送的交易`, + // The secure transaction management area of the application where you can approve any outgoing transactions made + // from the application as well as those placed into the queue by decentralized applications. + label: `Signer` // Signer + }, + status: { + description: `观察Parity节点现在的运行情况:网络连接数、实际运行实例的Logs和具体挖矿信息(如果已开启并设置)`, + // See how the Parity node is performing in terms of connections to the network, logs from the actual running instance + // and details of mining (if enabled and configured). + label: `状态` // Status + }, + label: `视窗`, // views + home: { + label: `首页` // Home + } + }, + label: `设置` // settings +}; diff --git a/js/src/i18n/zh/shapeshift.js b/js-old/src/i18n/zh/shapeshift.js similarity index 100% rename from js/src/i18n/zh/shapeshift.js rename to js-old/src/i18n/zh/shapeshift.js diff --git a/js-old/src/i18n/zh/signer.js b/js-old/src/i18n/zh/signer.js new file mode 100644 index 0000000000000000000000000000000000000000..ab3b99e53f18148648f05410d12e5429e0f09b3e --- /dev/null +++ b/js-old/src/i18n/zh/signer.js @@ -0,0 +1,107 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default { + embedded: { + noPending: `目前没有待处理的确认等待你的处理` + // There are currently no pending requests awaiting your confirmation + }, + mainDetails: { + editTx: `编辑条款/gas/gasPrice`, // Edit conditions/gas/gasPrice + tooltips: { + total1: `包括交易费的交易的总价值是{total} {type}`, + // The value of the transaction including the mining fee is {total} {type}. + total2: `(包括了交易费 {fee} {token})`, + // (This includes a mining fee of {fee} {token}) + value1: `交易价值` // The value of the transaction. + } + }, + requestOrigin: { + dapp: `来自dapp {url}`, // by a dapp at {url} + ipc: `通过IPC会话`, // via IPC session + rpc: `通过RPC{rpc}`, // via RPC {rpc} + signerCurrent: `通过当前标签页`, // via current tab + signerUI: `通过交互会话`, // via UI session + unknownInterface: `通过未知交互`, // via unknown interface + unknownRpc: `未明确的`, // unidentified + unknownUrl: `未知URL` // unknown URL + }, + requestsPage: { + noPending: `没有请求需要你的确认`, // There are no requests requiring your confirmation. + pendingTitle: `待处理请求`, // Pending Requests + queueTitle: `本地交易` // Local Transactions + }, + sending: { + hardware: { + confirm: `请在你连接的硬件设备上确认交易`, // Please confirm the transaction on your attached hardware device + connect: `请在确认交易前连接你的硬件设备` // Please attach your hardware device before confirming the transaction + } + }, + signRequest: { + request: `一个签名数据在请求你的账号:`, // A request to sign data using your account: + state: { + confirmed: `通过`, // Confirmed + rejected: `拒绝` // Rejected + }, + unknownBinary: `(未知二进制数据)`, // (Unknown binary data) + warning: `警告:此操作的结果是不可逆的。请在确认信息后再通过请求。` + // WARNING: This consequences of doing this may be grave. Confirm the request only if you are sure. + }, + title: `可信的Signer`, // Trusted Signer + txPending: { + buttons: { + viewToggle: `查看交易` // view transaction + } + }, + txPendingConfirm: { + buttons: { + confirmBusy: `通过中...`, // Confirming... + confirmRequest: `通过请求` // Confirm Request + }, + errors: { + invalidWallet: `所提供的钱包文件不可用` // Given wallet file is invalid. + }, + password: { + decrypt: { + hint: `解密钥匙`, // decrypt the key + label: `钥匙密码` // Key Password + }, + unlock: { + hint: `解锁账户`, // unlock the account + label: `账户密码` // Account Password + } + }, + passwordHint: `(提示){passwordHint}`, // (hint) {passwordHint} + selectKey: { + hint: `此账户的钥匙文件`, // The keyfile to use for this account + label: `选择本地钥匙` // Select Local Key + }, + tooltips: { + password: `请为此账户提供密码` // Please provide a password for this account + } + }, + txPendingForm: { + changedMind: `我改主意了`, // I've changed my mind + reject: `拒绝请求` // reject request + }, + txPendingReject: { + buttons: { + reject: `拒绝请求` // Reject Request + }, + info: `你确定要拒绝请求吗?`, // Are you sure you want to reject request? + undone: `此操作是不可逆的` // This cannot be undone + } +}; diff --git a/js/src/i18n/zh/status.js b/js-old/src/i18n/zh/status.js similarity index 100% rename from js/src/i18n/zh/status.js rename to js-old/src/i18n/zh/status.js diff --git a/js/src/i18n/zh/tabBar.js b/js-old/src/i18n/zh/tabBar.js similarity index 100% rename from js/src/i18n/zh/tabBar.js rename to js-old/src/i18n/zh/tabBar.js diff --git a/js/src/i18n/zh/transfer.js b/js-old/src/i18n/zh/transfer.js similarity index 100% rename from js/src/i18n/zh/transfer.js rename to js-old/src/i18n/zh/transfer.js diff --git a/js/src/i18n/zh/txEditor.js b/js-old/src/i18n/zh/txEditor.js similarity index 100% rename from js/src/i18n/zh/txEditor.js rename to js-old/src/i18n/zh/txEditor.js diff --git a/js/src/i18n/zh/ui.js b/js-old/src/i18n/zh/ui.js similarity index 100% rename from js/src/i18n/zh/ui.js rename to js-old/src/i18n/zh/ui.js diff --git a/js/src/i18n/zh/upgradeParity.js b/js-old/src/i18n/zh/upgradeParity.js similarity index 100% rename from js/src/i18n/zh/upgradeParity.js rename to js-old/src/i18n/zh/upgradeParity.js diff --git a/js/src/i18n/zh/vaults.js b/js-old/src/i18n/zh/vaults.js similarity index 100% rename from js/src/i18n/zh/vaults.js rename to js-old/src/i18n/zh/vaults.js diff --git a/js/src/i18n/zh/verification.js b/js-old/src/i18n/zh/verification.js similarity index 100% rename from js/src/i18n/zh/verification.js rename to js-old/src/i18n/zh/verification.js diff --git a/js/src/i18n/zh/wallet.js b/js-old/src/i18n/zh/wallet.js similarity index 100% rename from js/src/i18n/zh/wallet.js rename to js-old/src/i18n/zh/wallet.js diff --git a/js/src/i18n/zh/walletSettings.js b/js-old/src/i18n/zh/walletSettings.js similarity index 100% rename from js/src/i18n/zh/walletSettings.js rename to js-old/src/i18n/zh/walletSettings.js diff --git a/js/src/i18n/zh/web.js b/js-old/src/i18n/zh/web.js similarity index 100% rename from js/src/i18n/zh/web.js rename to js-old/src/i18n/zh/web.js diff --git a/js/src/i18n/zh/writeContract.js b/js-old/src/i18n/zh/writeContract.js similarity index 100% rename from js/src/i18n/zh/writeContract.js rename to js-old/src/i18n/zh/writeContract.js diff --git a/js/src/index.ejs b/js-old/src/index.ejs similarity index 100% rename from js/src/index.ejs rename to js-old/src/index.ejs diff --git a/js/src/index.js b/js-old/src/index.js similarity index 95% rename from js/src/index.js rename to js-old/src/index.js index 24cf38286f0c29a4a2f6d97c9840bd37be4d584e..7e85dd51f4325934c2e79615f037d2a415c9872b 100644 --- a/js/src/index.js +++ b/js-old/src/index.js @@ -36,6 +36,7 @@ import muiTheme from '~/ui/Theme'; import MainApplication from './main'; import { loadSender, patchApi } from '~/util/tx'; +import { setApi } from '~/redux/providers/apiActions'; import './environment'; @@ -68,6 +69,9 @@ ContractInstances.create(api); const store = initStore(api, hashHistory); +store.dispatch({ type: 'initAll', api }); +store.dispatch(setApi(api)); + window.secureApi = api; ReactDOM.render( diff --git a/js-old/src/inject.js b/js-old/src/inject.js new file mode 100644 index 0000000000000000000000000000000000000000..295a604315739476f4a3a2705ab6e185611b4dfc --- /dev/null +++ b/js-old/src/inject.js @@ -0,0 +1,18 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import './parity'; +import './web3'; diff --git a/js/src/jsonrpc/.gitignore b/js-old/src/jsonrpc/.gitignore similarity index 100% rename from js/src/jsonrpc/.gitignore rename to js-old/src/jsonrpc/.gitignore diff --git a/js/src/jsonrpc/README.md b/js-old/src/jsonrpc/README.md similarity index 100% rename from js/src/jsonrpc/README.md rename to js-old/src/jsonrpc/README.md diff --git a/js/src/jsonrpc/helpers.js b/js-old/src/jsonrpc/helpers.js similarity index 100% rename from js/src/jsonrpc/helpers.js rename to js-old/src/jsonrpc/helpers.js diff --git a/js/src/jsonrpc/index.js b/js-old/src/jsonrpc/index.js similarity index 100% rename from js/src/jsonrpc/index.js rename to js-old/src/jsonrpc/index.js diff --git a/js/src/jsonrpc/index.spec.js b/js-old/src/jsonrpc/index.spec.js similarity index 100% rename from js/src/jsonrpc/index.spec.js rename to js-old/src/jsonrpc/index.spec.js diff --git a/js/src/jsonrpc/interfaces/db.js b/js-old/src/jsonrpc/interfaces/db.js similarity index 100% rename from js/src/jsonrpc/interfaces/db.js rename to js-old/src/jsonrpc/interfaces/db.js diff --git a/js/src/jsonrpc/interfaces/eth.js b/js-old/src/jsonrpc/interfaces/eth.js similarity index 100% rename from js/src/jsonrpc/interfaces/eth.js rename to js-old/src/jsonrpc/interfaces/eth.js diff --git a/js/src/jsonrpc/interfaces/net.js b/js-old/src/jsonrpc/interfaces/net.js similarity index 100% rename from js/src/jsonrpc/interfaces/net.js rename to js-old/src/jsonrpc/interfaces/net.js diff --git a/js/src/jsonrpc/interfaces/parity.js b/js-old/src/jsonrpc/interfaces/parity.js similarity index 98% rename from js/src/jsonrpc/interfaces/parity.js rename to js-old/src/jsonrpc/interfaces/parity.js index 2dde67b6f6340730c613ac5a9b10baac22fd7ff7..a1e6246e47f8793bc4e3ae214464de5750faa9fe 100644 --- a/js/src/jsonrpc/interfaces/parity.js +++ b/js-old/src/jsonrpc/interfaces/parity.js @@ -56,16 +56,6 @@ export default { } }, - chainId: { - desc: 'Returns the current chain ID used for tranaction signing.', - params: [], - returns: { - type: Quantity, - desc: 'The current blockchain chain ID', - example: '0x1' - } - }, - chainStatus: { section: SECTION_NET, desc: 'Returns the information on warp sync blocks', @@ -370,37 +360,6 @@ export default { } }, - lockedHardwareAccountsInfo: { - desc: 'Provides a list of paths to locked hardware wallets', - params: [], - returns: { - type: Array, - desc: 'Paths of all locked hardware wallets', - example: "['/dev/hidraw0']" - } - }, - - hardwarePinMatrixAck: { - desc: 'Send a pin to a hardware wallet at a specific path to unlock it', - params: [ - { - type: String, - desc: 'path to the device', - example: 'USB_2b24_0001_14100000' - }, - { - type: String, - desc: 'the pin as recieved from the pin matrix', - example: '1234' - } - ], - returns: { - type: Boolean, - desc: 'Whether or not the pin entry successfully unlocked the device', - example: true - } - }, - listOpenedVaults: { desc: 'Returns a list of all opened vaults', params: [], @@ -1756,7 +1715,7 @@ export default { params: [ { type: String, - desc: 'Chain spec name, one of: "foundation", "ropsten", "morden", "kovan", "olympic", "classic", "dev", "expanse", "musicoin" or a filename.', + desc: 'Chain spec name, one of: "foundation", "ropsten", "morden", "kovan", "olympic", "classic", "dev", "expanse" or a filename.', example: 'foundation' } ], diff --git a/js/src/jsonrpc/interfaces/personal.js b/js-old/src/jsonrpc/interfaces/personal.js similarity index 100% rename from js/src/jsonrpc/interfaces/personal.js rename to js-old/src/jsonrpc/interfaces/personal.js diff --git a/js/src/jsonrpc/interfaces/shh.js b/js-old/src/jsonrpc/interfaces/shh.js similarity index 98% rename from js/src/jsonrpc/interfaces/shh.js rename to js-old/src/jsonrpc/interfaces/shh.js index 762029af68cc06ca58c0e4e84b18345426312e16..7084aa3bf22008dbb1b8bc9ee48cfd404a1b7a0e 100644 --- a/js/src/jsonrpc/interfaces/shh.js +++ b/js-old/src/jsonrpc/interfaces/shh.js @@ -163,7 +163,7 @@ export default { ], returns: { type: Data, - desc: '`true` on successful removal, `false` on unknown identity' + desc: '`true` on successful removal, `false` on unkown identity' } }, @@ -285,7 +285,7 @@ export default { }], returns: { type: Boolean, - desc: '`true` on success, `false` on unknown subscription ID.' + desc: '`true` on success, `false` on unkown subscription ID.' } } }; diff --git a/js/src/jsonrpc/interfaces/signer.js b/js-old/src/jsonrpc/interfaces/signer.js similarity index 100% rename from js/src/jsonrpc/interfaces/signer.js rename to js-old/src/jsonrpc/interfaces/signer.js diff --git a/js/src/jsonrpc/interfaces/trace.js b/js-old/src/jsonrpc/interfaces/trace.js similarity index 96% rename from js/src/jsonrpc/interfaces/trace.js rename to js-old/src/jsonrpc/interfaces/trace.js index ce814fdcba2b9578bfc5a5c5261440f4ec808483..9e35da629a314c22860daff7e0738ed384c04818 100644 --- a/js/src/jsonrpc/interfaces/trace.js +++ b/js-old/src/jsonrpc/interfaces/trace.js @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import { Address, BlockNumber, Data, Hash, CallRequest, Quantity } from '../types'; +import { Address, BlockNumber, Data, Hash, CallRequest } from '../types'; import { withPreamble, Dummy, fromDecimal } from '../helpers'; const SECTION_FILTERING = 'Transaction-Trace Filtering'; @@ -134,24 +134,12 @@ then it should look something like: type: Address, desc: 'Sent to these addresses.', optional: true - }, - after: { - type: Quantity, - desc: 'The offset trace number', - optional: true - }, - count: { - type: Quantity, - desc: 'Integer number of traces to display in a batch.', - optional: true } }, example: { fromBlock: fromDecimal(3068100), toBlock: fromDecimal(3068200), - toAddress: ['0x8bbB73BCB5d553B5A556358d27625323Fd781D37'], - after: 1000, - count: 100 + toAddress: ['0x8bbB73BCB5d553B5A556358d27625323Fd781D37'] } } ], diff --git a/js/src/jsonrpc/interfaces/web3.js b/js-old/src/jsonrpc/interfaces/web3.js similarity index 100% rename from js/src/jsonrpc/interfaces/web3.js rename to js-old/src/jsonrpc/interfaces/web3.js diff --git a/js/src/jsonrpc/types.js b/js-old/src/jsonrpc/types.js similarity index 100% rename from js/src/jsonrpc/types.js rename to js-old/src/jsonrpc/types.js diff --git a/js-old/src/lib.rs b/js-old/src/lib.rs new file mode 100644 index 0000000000000000000000000000000000000000..04efa7cc51cb54e007dc245ca5aea4b09250ac5c --- /dev/null +++ b/js-old/src/lib.rs @@ -0,0 +1,22 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +#[cfg(feature = "with-syntex")] +include!(concat!(env!("OUT_DIR"), "/lib.rs")); + +#[cfg(not(feature = "with-syntex"))] +include!("lib.rs.in"); + diff --git a/js-old/src/lib.rs.in b/js-old/src/lib.rs.in new file mode 100644 index 0000000000000000000000000000000000000000..51e3304f436d83de929218597763c74846ac0676 --- /dev/null +++ b/js-old/src/lib.rs.in @@ -0,0 +1,55 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +extern crate parity_dapps_glue; + +use std::collections::HashMap; +use parity_dapps_glue::{WebApp, File, Info}; + +#[derive(WebAppFiles)] +#[webapp(path = "../build")] +pub struct App { + pub files: HashMap<&'static str, File>, +} + +impl Default for App { + fn default() -> App { + App { + files: Self::files(), + } + } +} + +impl WebApp for App { + fn file(&self, path: &str) -> Option<&File> { + self.files.get(path) + } + + fn info(&self) -> Info { + Info { + name: "Parity Wallet v1", + version: env!("CARGO_PKG_VERSION"), + author: "Parity ", + description: "Deprecated version of Parity Wallet.", + icon_url: "icon.png", + } + } +} + +#[test] +fn test_js() { + parity_dapps_glue::js::build(env!("CARGO_MANIFEST_DIR"), "build"); +} diff --git a/js/src/library.etherscan.js b/js-old/src/library.etherscan.js similarity index 100% rename from js/src/library.etherscan.js rename to js-old/src/library.etherscan.js diff --git a/js/src/library.jsonrpc.js b/js-old/src/library.jsonrpc.js similarity index 100% rename from js/src/library.jsonrpc.js rename to js-old/src/library.jsonrpc.js diff --git a/js-old/src/library.parity.js b/js-old/src/library.parity.js new file mode 100644 index 0000000000000000000000000000000000000000..d7d697a8219df9ffb4e7f71929e4f6ecf8f71d8a --- /dev/null +++ b/js-old/src/library.parity.js @@ -0,0 +1,34 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import es6Promise from 'es6-promise'; +es6Promise.polyfill(); + +const isNode = typeof global !== 'undefined' && typeof global !== 'undefined'; +const isBrowser = typeof self !== 'undefined' && typeof self.window !== 'undefined'; + +if (isBrowser) { + require('whatwg-fetch'); +} + +if (isNode) { + global.fetch = require('node-fetch'); +} + +import Abi from './abi'; +import Api from './api'; + +export { Api, Abi }; diff --git a/js/src/library.shapeshift.js b/js-old/src/library.shapeshift.js similarity index 100% rename from js/src/library.shapeshift.js rename to js-old/src/library.shapeshift.js diff --git a/js/src/main.js b/js-old/src/main.js similarity index 100% rename from js/src/main.js rename to js-old/src/main.js diff --git a/js/src/mobx/hardwareStore.js b/js-old/src/mobx/hardwareStore.js similarity index 65% rename from js/src/mobx/hardwareStore.js rename to js-old/src/mobx/hardwareStore.js index 405853f5a2e2ffbfba6a7b05b61f21ad11b81e1a..46bf3fa58102212826856ae1be4d685b6c5c1cea 100644 --- a/js/src/mobx/hardwareStore.js +++ b/js-old/src/mobx/hardwareStore.js @@ -24,20 +24,13 @@ let instance = null; export default class HardwareStore { @observable isScanning = false; @observable wallets = {}; - @observable pinMatrixRequest = []; constructor (api) { this._api = api; this._ledger = Ledger.create(api); this._pollId = null; - this.hwAccounts = {}; - this.ledgerAccounts = {}; this._pollScan(); - this._subscribeParity(); - this._api.transport.on('close', () => { - this._subscribeParity(); - }); } isConnected (address) { @@ -52,31 +45,12 @@ export default class HardwareStore { this.wallets = wallets; } - @action setPinMatrixRequest = (requests) => { - this.pinMatrixRequest = requests; - } - _pollScan = () => { this._pollId = setTimeout(() => { this.scan().then(this._pollScan); }, HW_SCAN_INTERVAL); } - scanTrezor () { - return this._api.parity - .lockedHardwareAccountsInfo() - .then((paths) => { - this.setPinMatrixRequest(paths.map((path) => { - return { path: path, manufacturer: 'Trezor' }; - })); - return {}; - }) - .catch((err) => { - console.warn('HardwareStore::scanTrezor', err); - return {}; - }); - } - scanLedger () { if (!this._ledger.isSupported) { return Promise.resolve({}); @@ -104,57 +78,48 @@ export default class HardwareStore { }); } - _subscribeParity () { - const onError = error => { - console.warn('HardwareStore::scanParity', error); - - return {}; - }; - - return this._api.pubsub - .subscribeAndGetResult( - callback => this._api.pubsub.parity.hardwareAccountsInfo(callback), - hwInfo => { - Object - .keys(hwInfo) - .forEach((address) => { - const info = hwInfo[address]; - - info.address = address; - info.via = 'parity'; - }); - this.hwAccounts = hwInfo; - this.updateWallets(); - return hwInfo; - }, - onError - ).catch(onError); + scanParity () { + return this._api.parity + .hardwareAccountsInfo() + .then((hwInfo) => { + Object + .keys(hwInfo) + .forEach((address) => { + const info = hwInfo[address]; + + info.address = address; + info.via = 'parity'; + }); + + return hwInfo; + }) + .catch((error) => { + console.warn('HardwareStore::scanParity', error); + + return {}; + }); } scan () { this.setScanning(true); - // This only scans for locked devices and does not return open devices, - // so no need to actually wait for any results here. - this.scanTrezor(); // NOTE: Depending on how the hardware is configured and how the local env setup // is done, different results will be retrieved via Parity vs. the browser APIs // (latter is Chrome-only, needs the browser app enabled on a Ledger, former is // not intended as a network call, i.e. hw wallet is with the user) - return this.scanLedger() - .then((ledgerAccounts) => { - this.ledgerAccounts = ledgerAccounts; + return Promise + .all([ + this.scanParity(), + this.scanLedger() + ]) + .then(([hwAccounts, ledgerAccounts]) => { transaction(() => { - this.updateWallets(); + this.setWallets(Object.assign({}, hwAccounts, ledgerAccounts)); this.setScanning(false); }); }); } - updateWallets () { - this.setWallets(Object.assign({}, this.hwAccounts, this.ledgerAccounts)); - } - createAccountInfo (entry, original = {}) { const { address, manufacturer, name } = entry; @@ -182,15 +147,6 @@ export default class HardwareStore { return this._ledger.signTransaction(transaction); } - pinMatrixAck (device, passcode) { - return this._api.parity - .hardwarePinMatrixAck(device.path, passcode) - .then((success) => { - this.scan(); - return success; - }); - } - static get (api) { if (!instance) { instance = new HardwareStore(api); diff --git a/js/src/mobx/hardwareStore.spec.js b/js-old/src/mobx/hardwareStore.spec.js similarity index 93% rename from js/src/mobx/hardwareStore.spec.js rename to js-old/src/mobx/hardwareStore.spec.js index 7bb979600af966a2983d3e7a4b98c55f16a14cb7..784fc3f104736ae20a8cbba6e91c4e1008c07ede 100644 --- a/js/src/mobx/hardwareStore.spec.js +++ b/js-old/src/mobx/hardwareStore.spec.js @@ -31,15 +31,8 @@ let store; function createApi () { api = { - transport: { - on: sinon.stub() - }, - pubsub: { - subscribeAndGetResult: sinon.stub().returns(Promise.reject(new Error('not connected'))) - }, parity: { hardwareAccountsInfo: sinon.stub().resolves({ ADDRESS: WALLET }), - lockedHardwareAccountsInfo: sinon.stub().resolves({}), setAccountMeta: sinon.stub().resolves(true), setAccountName: sinon.stub().resolves(true) } @@ -202,11 +195,22 @@ describe('mobx/HardwareStore', () => { }); }); + describe('scanParity', () => { + beforeEach(() => { + return store.scanParity(); + }); + + it('calls parity_hardwareAccountsInfo', () => { + expect(api.parity.hardwareAccountsInfo).to.have.been.called; + }); + }); + describe('scan', () => { beforeEach(() => { sinon.spy(store, 'setScanning'); sinon.spy(store, 'setWallets'); sinon.spy(store, 'scanLedger'); + sinon.spy(store, 'scanParity'); return store.scan(); }); @@ -215,12 +219,17 @@ describe('mobx/HardwareStore', () => { store.setScanning.restore(); store.setWallets.restore(); store.scanLedger.restore(); + store.scanParity.restore(); }); it('calls scanLedger', () => { expect(store.scanLedger).to.have.been.called; }); + it('calls scanParity', () => { + expect(store.scanParity).to.have.been.called; + }); + it('sets and resets the scanning state', () => { expect(store.setScanning).to.have.been.calledWith(true); expect(store.setScanning).to.have.been.calledWith(false); diff --git a/js/src/mobx/historyStore.js b/js-old/src/mobx/historyStore.js similarity index 100% rename from js/src/mobx/historyStore.js rename to js-old/src/mobx/historyStore.js diff --git a/js/src/mobx/historyStore.spec.js b/js-old/src/mobx/historyStore.spec.js similarity index 100% rename from js/src/mobx/historyStore.spec.js rename to js-old/src/mobx/historyStore.spec.js diff --git a/js/src/modals/AddAddress/addAddress.js b/js-old/src/modals/AddAddress/addAddress.js similarity index 100% rename from js/src/modals/AddAddress/addAddress.js rename to js-old/src/modals/AddAddress/addAddress.js diff --git a/js/src/modals/AddAddress/addAddress.spec.js b/js-old/src/modals/AddAddress/addAddress.spec.js similarity index 100% rename from js/src/modals/AddAddress/addAddress.spec.js rename to js-old/src/modals/AddAddress/addAddress.spec.js diff --git a/js/src/modals/AddAddress/index.js b/js-old/src/modals/AddAddress/index.js similarity index 100% rename from js/src/modals/AddAddress/index.js rename to js-old/src/modals/AddAddress/index.js diff --git a/js/src/modals/AddAddress/store.js b/js-old/src/modals/AddAddress/store.js similarity index 100% rename from js/src/modals/AddAddress/store.js rename to js-old/src/modals/AddAddress/store.js diff --git a/js/src/modals/AddAddress/store.spec.js b/js-old/src/modals/AddAddress/store.spec.js similarity index 100% rename from js/src/modals/AddAddress/store.spec.js rename to js-old/src/modals/AddAddress/store.spec.js diff --git a/js/src/modals/AddAddress/store.test.js b/js-old/src/modals/AddAddress/store.test.js similarity index 100% rename from js/src/modals/AddAddress/store.test.js rename to js-old/src/modals/AddAddress/store.test.js diff --git a/js/src/modals/AddContract/addContract.css b/js-old/src/modals/AddContract/addContract.css similarity index 100% rename from js/src/modals/AddContract/addContract.css rename to js-old/src/modals/AddContract/addContract.css diff --git a/js/src/modals/AddContract/addContract.js b/js-old/src/modals/AddContract/addContract.js similarity index 100% rename from js/src/modals/AddContract/addContract.js rename to js-old/src/modals/AddContract/addContract.js diff --git a/js/src/modals/AddContract/addContract.spec.js b/js-old/src/modals/AddContract/addContract.spec.js similarity index 100% rename from js/src/modals/AddContract/addContract.spec.js rename to js-old/src/modals/AddContract/addContract.spec.js diff --git a/js/src/modals/AddContract/addContract.test.js b/js-old/src/modals/AddContract/addContract.test.js similarity index 100% rename from js/src/modals/AddContract/addContract.test.js rename to js-old/src/modals/AddContract/addContract.test.js diff --git a/js/src/modals/AddContract/index.js b/js-old/src/modals/AddContract/index.js similarity index 100% rename from js/src/modals/AddContract/index.js rename to js-old/src/modals/AddContract/index.js diff --git a/js/src/modals/AddContract/store.js b/js-old/src/modals/AddContract/store.js similarity index 100% rename from js/src/modals/AddContract/store.js rename to js-old/src/modals/AddContract/store.js diff --git a/js/src/modals/AddContract/store.spec.js b/js-old/src/modals/AddContract/store.spec.js similarity index 100% rename from js/src/modals/AddContract/store.spec.js rename to js-old/src/modals/AddContract/store.spec.js diff --git a/js/src/modals/AddContract/types.js b/js-old/src/modals/AddContract/types.js similarity index 100% rename from js/src/modals/AddContract/types.js rename to js-old/src/modals/AddContract/types.js diff --git a/js/src/modals/AddDapps/addDapps.css b/js-old/src/modals/AddDapps/addDapps.css similarity index 100% rename from js/src/modals/AddDapps/addDapps.css rename to js-old/src/modals/AddDapps/addDapps.css diff --git a/js/src/modals/AddDapps/addDapps.js b/js-old/src/modals/AddDapps/addDapps.js similarity index 100% rename from js/src/modals/AddDapps/addDapps.js rename to js-old/src/modals/AddDapps/addDapps.js diff --git a/js/src/modals/AddDapps/addDapps.spec.js b/js-old/src/modals/AddDapps/addDapps.spec.js similarity index 100% rename from js/src/modals/AddDapps/addDapps.spec.js rename to js-old/src/modals/AddDapps/addDapps.spec.js diff --git a/js/src/modals/AddDapps/index.js b/js-old/src/modals/AddDapps/index.js similarity index 100% rename from js/src/modals/AddDapps/index.js rename to js-old/src/modals/AddDapps/index.js diff --git a/js/src/modals/CreateAccount/AccountDetails/accountDetails.js b/js-old/src/modals/CreateAccount/AccountDetails/accountDetails.js similarity index 100% rename from js/src/modals/CreateAccount/AccountDetails/accountDetails.js rename to js-old/src/modals/CreateAccount/AccountDetails/accountDetails.js diff --git a/js/src/modals/CreateAccount/AccountDetails/accountDetails.spec.js b/js-old/src/modals/CreateAccount/AccountDetails/accountDetails.spec.js similarity index 100% rename from js/src/modals/CreateAccount/AccountDetails/accountDetails.spec.js rename to js-old/src/modals/CreateAccount/AccountDetails/accountDetails.spec.js diff --git a/js/src/modals/CreateAccount/AccountDetails/index.js b/js-old/src/modals/CreateAccount/AccountDetails/index.js similarity index 100% rename from js/src/modals/CreateAccount/AccountDetails/index.js rename to js-old/src/modals/CreateAccount/AccountDetails/index.js diff --git a/js/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js b/js-old/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js similarity index 100% rename from js/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js rename to js-old/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js diff --git a/js/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js b/js-old/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js similarity index 100% rename from js/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js rename to js-old/src/modals/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js diff --git a/js/src/modals/CreateAccount/AccountDetailsGeth/index.js b/js-old/src/modals/CreateAccount/AccountDetailsGeth/index.js similarity index 100% rename from js/src/modals/CreateAccount/AccountDetailsGeth/index.js rename to js-old/src/modals/CreateAccount/AccountDetailsGeth/index.js diff --git a/js/src/modals/CreateAccount/ChangeVault/changeVault.js b/js-old/src/modals/CreateAccount/ChangeVault/changeVault.js similarity index 100% rename from js/src/modals/CreateAccount/ChangeVault/changeVault.js rename to js-old/src/modals/CreateAccount/ChangeVault/changeVault.js diff --git a/js/src/modals/CreateAccount/ChangeVault/changeVault.spec.js b/js-old/src/modals/CreateAccount/ChangeVault/changeVault.spec.js similarity index 100% rename from js/src/modals/CreateAccount/ChangeVault/changeVault.spec.js rename to js-old/src/modals/CreateAccount/ChangeVault/changeVault.spec.js diff --git a/js/src/modals/CreateAccount/ChangeVault/index.js b/js-old/src/modals/CreateAccount/ChangeVault/index.js similarity index 100% rename from js/src/modals/CreateAccount/ChangeVault/index.js rename to js-old/src/modals/CreateAccount/ChangeVault/index.js diff --git a/js/src/modals/CreateAccount/CreationType/creationType.js b/js-old/src/modals/CreateAccount/CreationType/creationType.js similarity index 100% rename from js/src/modals/CreateAccount/CreationType/creationType.js rename to js-old/src/modals/CreateAccount/CreationType/creationType.js diff --git a/js/src/modals/CreateAccount/CreationType/creationType.spec.js b/js-old/src/modals/CreateAccount/CreationType/creationType.spec.js similarity index 100% rename from js/src/modals/CreateAccount/CreationType/creationType.spec.js rename to js-old/src/modals/CreateAccount/CreationType/creationType.spec.js diff --git a/js/src/modals/CreateAccount/CreationType/index.js b/js-old/src/modals/CreateAccount/CreationType/index.js similarity index 100% rename from js/src/modals/CreateAccount/CreationType/index.js rename to js-old/src/modals/CreateAccount/CreationType/index.js diff --git a/js/src/modals/CreateAccount/GethCard/gethCard.js b/js-old/src/modals/CreateAccount/GethCard/gethCard.js similarity index 100% rename from js/src/modals/CreateAccount/GethCard/gethCard.js rename to js-old/src/modals/CreateAccount/GethCard/gethCard.js diff --git a/js/src/modals/CreateAccount/GethCard/index.js b/js-old/src/modals/CreateAccount/GethCard/index.js similarity index 100% rename from js/src/modals/CreateAccount/GethCard/index.js rename to js-old/src/modals/CreateAccount/GethCard/index.js diff --git a/js/src/modals/CreateAccount/NewAccount/index.js b/js-old/src/modals/CreateAccount/NewAccount/index.js similarity index 100% rename from js/src/modals/CreateAccount/NewAccount/index.js rename to js-old/src/modals/CreateAccount/NewAccount/index.js diff --git a/js/src/modals/CreateAccount/NewAccount/newAccount.js b/js-old/src/modals/CreateAccount/NewAccount/newAccount.js similarity index 100% rename from js/src/modals/CreateAccount/NewAccount/newAccount.js rename to js-old/src/modals/CreateAccount/NewAccount/newAccount.js diff --git a/js/src/modals/CreateAccount/NewAccount/newAccount.spec.js b/js-old/src/modals/CreateAccount/NewAccount/newAccount.spec.js similarity index 100% rename from js/src/modals/CreateAccount/NewAccount/newAccount.spec.js rename to js-old/src/modals/CreateAccount/NewAccount/newAccount.spec.js diff --git a/js/src/modals/CreateAccount/NewGeth/index.js b/js-old/src/modals/CreateAccount/NewGeth/index.js similarity index 100% rename from js/src/modals/CreateAccount/NewGeth/index.js rename to js-old/src/modals/CreateAccount/NewGeth/index.js diff --git a/js/src/modals/CreateAccount/NewGeth/newGeth.js b/js-old/src/modals/CreateAccount/NewGeth/newGeth.js similarity index 100% rename from js/src/modals/CreateAccount/NewGeth/newGeth.js rename to js-old/src/modals/CreateAccount/NewGeth/newGeth.js diff --git a/js/src/modals/CreateAccount/NewGeth/newGeth.spec.js b/js-old/src/modals/CreateAccount/NewGeth/newGeth.spec.js similarity index 100% rename from js/src/modals/CreateAccount/NewGeth/newGeth.spec.js rename to js-old/src/modals/CreateAccount/NewGeth/newGeth.spec.js diff --git a/js/src/modals/CreateAccount/NewImport/index.js b/js-old/src/modals/CreateAccount/NewImport/index.js similarity index 100% rename from js/src/modals/CreateAccount/NewImport/index.js rename to js-old/src/modals/CreateAccount/NewImport/index.js diff --git a/js/src/modals/CreateAccount/NewImport/newImport.js b/js-old/src/modals/CreateAccount/NewImport/newImport.js similarity index 100% rename from js/src/modals/CreateAccount/NewImport/newImport.js rename to js-old/src/modals/CreateAccount/NewImport/newImport.js diff --git a/js/src/modals/CreateAccount/NewImport/newImport.spec.js b/js-old/src/modals/CreateAccount/NewImport/newImport.spec.js similarity index 100% rename from js/src/modals/CreateAccount/NewImport/newImport.spec.js rename to js-old/src/modals/CreateAccount/NewImport/newImport.spec.js diff --git a/js/src/modals/CreateAccount/NewQr/index.js b/js-old/src/modals/CreateAccount/NewQr/index.js similarity index 100% rename from js/src/modals/CreateAccount/NewQr/index.js rename to js-old/src/modals/CreateAccount/NewQr/index.js diff --git a/js/src/modals/CreateAccount/NewQr/newQr.js b/js-old/src/modals/CreateAccount/NewQr/newQr.js similarity index 100% rename from js/src/modals/CreateAccount/NewQr/newQr.js rename to js-old/src/modals/CreateAccount/NewQr/newQr.js diff --git a/js/src/modals/CreateAccount/NewQr/newQr.spec.js b/js-old/src/modals/CreateAccount/NewQr/newQr.spec.js similarity index 100% rename from js/src/modals/CreateAccount/NewQr/newQr.spec.js rename to js-old/src/modals/CreateAccount/NewQr/newQr.spec.js diff --git a/js/src/modals/CreateAccount/RawKey/index.js b/js-old/src/modals/CreateAccount/RawKey/index.js similarity index 100% rename from js/src/modals/CreateAccount/RawKey/index.js rename to js-old/src/modals/CreateAccount/RawKey/index.js diff --git a/js/src/modals/CreateAccount/RawKey/rawKey.js b/js-old/src/modals/CreateAccount/RawKey/rawKey.js similarity index 100% rename from js/src/modals/CreateAccount/RawKey/rawKey.js rename to js-old/src/modals/CreateAccount/RawKey/rawKey.js diff --git a/js/src/modals/CreateAccount/RawKey/rawKey.spec.js b/js-old/src/modals/CreateAccount/RawKey/rawKey.spec.js similarity index 100% rename from js/src/modals/CreateAccount/RawKey/rawKey.spec.js rename to js-old/src/modals/CreateAccount/RawKey/rawKey.spec.js diff --git a/js/src/modals/CreateAccount/RecoveryPhrase/index.js b/js-old/src/modals/CreateAccount/RecoveryPhrase/index.js similarity index 100% rename from js/src/modals/CreateAccount/RecoveryPhrase/index.js rename to js-old/src/modals/CreateAccount/RecoveryPhrase/index.js diff --git a/js/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.js b/js-old/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.js similarity index 100% rename from js/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.js rename to js-old/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.js diff --git a/js/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js b/js-old/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js similarity index 100% rename from js/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js rename to js-old/src/modals/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js diff --git a/js/src/modals/CreateAccount/TypeIcon/index.js b/js-old/src/modals/CreateAccount/TypeIcon/index.js similarity index 100% rename from js/src/modals/CreateAccount/TypeIcon/index.js rename to js-old/src/modals/CreateAccount/TypeIcon/index.js diff --git a/js/src/modals/CreateAccount/TypeIcon/typeIcon.js b/js-old/src/modals/CreateAccount/TypeIcon/typeIcon.js similarity index 100% rename from js/src/modals/CreateAccount/TypeIcon/typeIcon.js rename to js-old/src/modals/CreateAccount/TypeIcon/typeIcon.js diff --git a/js/src/modals/CreateAccount/createAccount.css b/js-old/src/modals/CreateAccount/createAccount.css similarity index 100% rename from js/src/modals/CreateAccount/createAccount.css rename to js-old/src/modals/CreateAccount/createAccount.css diff --git a/js/src/modals/CreateAccount/createAccount.js b/js-old/src/modals/CreateAccount/createAccount.js similarity index 100% rename from js/src/modals/CreateAccount/createAccount.js rename to js-old/src/modals/CreateAccount/createAccount.js diff --git a/js/src/modals/CreateAccount/createAccount.spec.js b/js-old/src/modals/CreateAccount/createAccount.spec.js similarity index 100% rename from js/src/modals/CreateAccount/createAccount.spec.js rename to js-old/src/modals/CreateAccount/createAccount.spec.js diff --git a/js/src/modals/CreateAccount/createAccount.test.js b/js-old/src/modals/CreateAccount/createAccount.test.js similarity index 100% rename from js/src/modals/CreateAccount/createAccount.test.js rename to js-old/src/modals/CreateAccount/createAccount.test.js diff --git a/js/src/modals/CreateAccount/errors.js b/js-old/src/modals/CreateAccount/errors.js similarity index 100% rename from js/src/modals/CreateAccount/errors.js rename to js-old/src/modals/CreateAccount/errors.js diff --git a/js/src/modals/CreateAccount/index.js b/js-old/src/modals/CreateAccount/index.js similarity index 100% rename from js/src/modals/CreateAccount/index.js rename to js-old/src/modals/CreateAccount/index.js diff --git a/js/src/modals/CreateAccount/print.js b/js-old/src/modals/CreateAccount/print.js similarity index 100% rename from js/src/modals/CreateAccount/print.js rename to js-old/src/modals/CreateAccount/print.js diff --git a/js/src/modals/CreateAccount/recoveryPage.ejs b/js-old/src/modals/CreateAccount/recoveryPage.ejs similarity index 100% rename from js/src/modals/CreateAccount/recoveryPage.ejs rename to js-old/src/modals/CreateAccount/recoveryPage.ejs diff --git a/js/src/modals/CreateAccount/store.js b/js-old/src/modals/CreateAccount/store.js similarity index 99% rename from js/src/modals/CreateAccount/store.js rename to js-old/src/modals/CreateAccount/store.js index cab221f4e4e91575248589343565e82b0a8a0653..cc2160ab95cfc83a413dc18988fd7f234f24288f 100644 --- a/js/src/modals/CreateAccount/store.js +++ b/js-old/src/modals/CreateAccount/store.js @@ -35,7 +35,6 @@ export default class Store { @observable gethAddresses = []; @observable gethImported = []; @observable isBusy = false; - @observable isTest = false; @observable isWindowsPhrase = false; @observable name = ''; @observable nameError = ERRORS.noName; @@ -311,10 +310,6 @@ export default class Store { this.stage--; } - @action setIsTest = isTest => { - this.isTest = isTest; - } - createAccount = (vaultStore) => { if (!this.canCreate) { return false; diff --git a/js/src/modals/CreateAccount/store.spec.js b/js-old/src/modals/CreateAccount/store.spec.js similarity index 100% rename from js/src/modals/CreateAccount/store.spec.js rename to js-old/src/modals/CreateAccount/store.spec.js diff --git a/js/src/modals/CreateWallet/WalletDetails/index.js b/js-old/src/modals/CreateWallet/WalletDetails/index.js similarity index 100% rename from js/src/modals/CreateWallet/WalletDetails/index.js rename to js-old/src/modals/CreateWallet/WalletDetails/index.js diff --git a/js/src/modals/CreateWallet/WalletDetails/walletDetails.js b/js-old/src/modals/CreateWallet/WalletDetails/walletDetails.js similarity index 89% rename from js/src/modals/CreateWallet/WalletDetails/walletDetails.js rename to js-old/src/modals/CreateWallet/WalletDetails/walletDetails.js index ee0cc77e23c9a5adb11a0b147d401d23aa21b34e..d3776e2cb4b11a8a4cd4469802a97926b0600715 100644 --- a/js/src/modals/CreateWallet/WalletDetails/walletDetails.js +++ b/js-old/src/modals/CreateWallet/WalletDetails/walletDetails.js @@ -16,21 +16,18 @@ import React, { Component, PropTypes } from 'react'; import { FormattedMessage } from 'react-intl'; -import { connect } from 'react-redux'; import { Form, TypedInput, Input, AddressSelect, InputAddress } from '~/ui'; import styles from '../createWallet.css'; -class WalletDetails extends Component { +export default class WalletDetails extends Component { static propTypes = { accounts: PropTypes.object.isRequired, wallet: PropTypes.object.isRequired, errors: PropTypes.object.isRequired, onChange: PropTypes.func.isRequired, - walletType: PropTypes.string.isRequired, - - knownAddresses: PropTypes.array + walletType: PropTypes.string.isRequired }; render () { @@ -106,10 +103,7 @@ class WalletDetails extends Component { } renderMultisigDetails () { - const { accounts, knownAddresses, wallet, errors } = this.props; - const allowedOwners = knownAddresses - // Exclude sender and already owners of the wallet - .filter((address) => !wallet.owners.includes(address) && address !== wallet.account); + const { accounts, wallet, errors } = this.props; return (
@@ -169,7 +163,7 @@ class WalletDetails extends Component { /> ({ - knownAddresses - }); -} - -export default connect( - mapStateToProps, - null -)(WalletDetails); diff --git a/js/src/modals/CreateWallet/WalletDetails/walletDetails.spec.js b/js-old/src/modals/CreateWallet/WalletDetails/walletDetails.spec.js similarity index 80% rename from js/src/modals/CreateWallet/WalletDetails/walletDetails.spec.js rename to js-old/src/modals/CreateWallet/WalletDetails/walletDetails.spec.js index 39bfecc04618b19e0bef8b6bed202bdc0ce4237a..6518e689315aeb25b0e6b0fa2f6f6f886064f45a 100644 --- a/js/src/modals/CreateWallet/WalletDetails/walletDetails.spec.js +++ b/js-old/src/modals/CreateWallet/WalletDetails/walletDetails.spec.js @@ -25,22 +25,6 @@ import { ACCOUNTS } from '../createWallet.test.js'; let component; let onChange; -function createRedux () { - return { - dispatch: sinon.stub(), - subscribe: sinon.stub(), - getState: () => { - return { - personal: { - accounts: {}, - contacts: {}, - contracts: {} - } - }; - } - }; -} - function render (walletType = 'MULTISIG') { onChange = sinon.stub(); component = shallow( @@ -52,12 +36,7 @@ function render (walletType = 'MULTISIG') { owners: [] } } walletType={ walletType } - />, - { - context: { - store: createRedux() - } - } + /> ); return component; diff --git a/js/src/modals/CreateWallet/WalletInfo/index.js b/js-old/src/modals/CreateWallet/WalletInfo/index.js similarity index 100% rename from js/src/modals/CreateWallet/WalletInfo/index.js rename to js-old/src/modals/CreateWallet/WalletInfo/index.js diff --git a/js/src/modals/CreateWallet/WalletInfo/walletInfo.js b/js-old/src/modals/CreateWallet/WalletInfo/walletInfo.js similarity index 100% rename from js/src/modals/CreateWallet/WalletInfo/walletInfo.js rename to js-old/src/modals/CreateWallet/WalletInfo/walletInfo.js diff --git a/js/src/modals/CreateWallet/WalletInfo/walletInfo.spec.js b/js-old/src/modals/CreateWallet/WalletInfo/walletInfo.spec.js similarity index 100% rename from js/src/modals/CreateWallet/WalletInfo/walletInfo.spec.js rename to js-old/src/modals/CreateWallet/WalletInfo/walletInfo.spec.js diff --git a/js/src/modals/CreateWallet/WalletType/index.js b/js-old/src/modals/CreateWallet/WalletType/index.js similarity index 100% rename from js/src/modals/CreateWallet/WalletType/index.js rename to js-old/src/modals/CreateWallet/WalletType/index.js diff --git a/js/src/modals/CreateWallet/WalletType/walletType.js b/js-old/src/modals/CreateWallet/WalletType/walletType.js similarity index 100% rename from js/src/modals/CreateWallet/WalletType/walletType.js rename to js-old/src/modals/CreateWallet/WalletType/walletType.js diff --git a/js/src/modals/CreateWallet/WalletType/walletType.spec.js b/js-old/src/modals/CreateWallet/WalletType/walletType.spec.js similarity index 100% rename from js/src/modals/CreateWallet/WalletType/walletType.spec.js rename to js-old/src/modals/CreateWallet/WalletType/walletType.spec.js diff --git a/js/src/modals/CreateWallet/createWallet.css b/js-old/src/modals/CreateWallet/createWallet.css similarity index 100% rename from js/src/modals/CreateWallet/createWallet.css rename to js-old/src/modals/CreateWallet/createWallet.css diff --git a/js/src/modals/CreateWallet/createWallet.js b/js-old/src/modals/CreateWallet/createWallet.js similarity index 100% rename from js/src/modals/CreateWallet/createWallet.js rename to js-old/src/modals/CreateWallet/createWallet.js diff --git a/js/src/modals/CreateWallet/createWallet.spec.js b/js-old/src/modals/CreateWallet/createWallet.spec.js similarity index 100% rename from js/src/modals/CreateWallet/createWallet.spec.js rename to js-old/src/modals/CreateWallet/createWallet.spec.js diff --git a/js/src/modals/CreateWallet/createWallet.test.js b/js-old/src/modals/CreateWallet/createWallet.test.js similarity index 100% rename from js/src/modals/CreateWallet/createWallet.test.js rename to js-old/src/modals/CreateWallet/createWallet.test.js diff --git a/js/src/modals/CreateWallet/createWalletStore.js b/js-old/src/modals/CreateWallet/createWalletStore.js similarity index 96% rename from js/src/modals/CreateWallet/createWalletStore.js rename to js-old/src/modals/CreateWallet/createWalletStore.js index 75f34d269a0f2c2aa1e9bb555bffac36576ee001..26ed5816cf3763a478e91149238d7197ad6d0508 100644 --- a/js/src/modals/CreateWallet/createWalletStore.js +++ b/js-old/src/modals/CreateWallet/createWalletStore.js @@ -281,13 +281,6 @@ export default class CreateWalletStore { const daylimitValidation = validateUint(_wallet.daylimit); const nameValidation = validateName(_wallet.name); - const owners = _wallet.owners.filter((owner) => !/^(0x)?0*$/.test(owner)); - - // Real number of owners is owners + creator - if (_wallet.required > owners.length + 1) { - requiredValidation.valueError = 'the number of required validators should be lower or equal the number of owners'; - } - const errors = { address: addressValidation.addressError, account: accountValidation.addressError, diff --git a/js/src/modals/CreateWallet/index.js b/js-old/src/modals/CreateWallet/index.js similarity index 100% rename from js/src/modals/CreateWallet/index.js rename to js-old/src/modals/CreateWallet/index.js diff --git a/js/src/modals/DappPermissions/dappPermissions.js b/js-old/src/modals/DappPermissions/dappPermissions.js similarity index 100% rename from js/src/modals/DappPermissions/dappPermissions.js rename to js-old/src/modals/DappPermissions/dappPermissions.js diff --git a/js/src/modals/DappPermissions/dappPermissions.spec.js b/js-old/src/modals/DappPermissions/dappPermissions.spec.js similarity index 100% rename from js/src/modals/DappPermissions/dappPermissions.spec.js rename to js-old/src/modals/DappPermissions/dappPermissions.spec.js diff --git a/js/src/modals/DappPermissions/index.js b/js-old/src/modals/DappPermissions/index.js similarity index 100% rename from js/src/modals/DappPermissions/index.js rename to js-old/src/modals/DappPermissions/index.js diff --git a/js/src/modals/DappPermissions/store.js b/js-old/src/modals/DappPermissions/store.js similarity index 100% rename from js/src/modals/DappPermissions/store.js rename to js-old/src/modals/DappPermissions/store.js diff --git a/js/src/modals/DappPermissions/store.spec.js b/js-old/src/modals/DappPermissions/store.spec.js similarity index 100% rename from js/src/modals/DappPermissions/store.spec.js rename to js-old/src/modals/DappPermissions/store.spec.js diff --git a/js/src/modals/DeleteAccount/deleteAccount.css b/js-old/src/modals/DeleteAccount/deleteAccount.css similarity index 100% rename from js/src/modals/DeleteAccount/deleteAccount.css rename to js-old/src/modals/DeleteAccount/deleteAccount.css diff --git a/js/src/modals/DeleteAccount/deleteAccount.js b/js-old/src/modals/DeleteAccount/deleteAccount.js similarity index 100% rename from js/src/modals/DeleteAccount/deleteAccount.js rename to js-old/src/modals/DeleteAccount/deleteAccount.js diff --git a/js/src/modals/DeleteAccount/deleteAccount.spec.js b/js-old/src/modals/DeleteAccount/deleteAccount.spec.js similarity index 100% rename from js/src/modals/DeleteAccount/deleteAccount.spec.js rename to js-old/src/modals/DeleteAccount/deleteAccount.spec.js diff --git a/js/src/modals/DeleteAccount/index.js b/js-old/src/modals/DeleteAccount/index.js similarity index 100% rename from js/src/modals/DeleteAccount/index.js rename to js-old/src/modals/DeleteAccount/index.js diff --git a/js/src/modals/DeployContract/DetailsStep/detailsStep.js b/js-old/src/modals/DeployContract/DetailsStep/detailsStep.js similarity index 100% rename from js/src/modals/DeployContract/DetailsStep/detailsStep.js rename to js-old/src/modals/DeployContract/DetailsStep/detailsStep.js diff --git a/js/src/modals/DeployContract/DetailsStep/index.js b/js-old/src/modals/DeployContract/DetailsStep/index.js similarity index 100% rename from js/src/modals/DeployContract/DetailsStep/index.js rename to js-old/src/modals/DeployContract/DetailsStep/index.js diff --git a/js/src/modals/DeployContract/ParametersStep/index.js b/js-old/src/modals/DeployContract/ParametersStep/index.js similarity index 100% rename from js/src/modals/DeployContract/ParametersStep/index.js rename to js-old/src/modals/DeployContract/ParametersStep/index.js diff --git a/js/src/modals/DeployContract/ParametersStep/parametersStep.js b/js-old/src/modals/DeployContract/ParametersStep/parametersStep.js similarity index 96% rename from js/src/modals/DeployContract/ParametersStep/parametersStep.js rename to js-old/src/modals/DeployContract/ParametersStep/parametersStep.js index e6d0bc7317da949f5ab91414d6b280f7a8f142d7..0213bfa013856463dab0ca692f653dd35c8538fc 100644 --- a/js/src/modals/DeployContract/ParametersStep/parametersStep.js +++ b/js-old/src/modals/DeployContract/ParametersStep/parametersStep.js @@ -43,6 +43,7 @@ export default class ParametersStep extends Component { }; static propTypes = { + accounts: PropTypes.object.isRequired, onParamsChange: PropTypes.func.isRequired, inputs: PropTypes.array, @@ -59,7 +60,7 @@ export default class ParametersStep extends Component { } renderConstructorInputs () { - const { params, paramsError } = this.props; + const { accounts, params, paramsError } = this.props; const { inputs } = this.props; if (!inputs || !inputs.length) { @@ -77,6 +78,7 @@ export default class ParametersStep extends Component { return (
@@ -331,7 +331,6 @@ class DeployContract extends Component { return ( - +
); } diff --git a/js/src/modals/ExecuteContract/AdvancedStep/index.js b/js-old/src/modals/ExecuteContract/AdvancedStep/index.js similarity index 100% rename from js/src/modals/ExecuteContract/AdvancedStep/index.js rename to js-old/src/modals/ExecuteContract/AdvancedStep/index.js diff --git a/js/src/modals/ExecuteContract/DetailsStep/detailsStep.js b/js-old/src/modals/ExecuteContract/DetailsStep/detailsStep.js similarity index 98% rename from js/src/modals/ExecuteContract/DetailsStep/detailsStep.js rename to js-old/src/modals/ExecuteContract/DetailsStep/detailsStep.js index ecbcbed265bde32f85da26dfc1151783e595a8ae..913def0eeffa017adaf2c4a92c735804dbc1b67a 100644 --- a/js/src/modals/ExecuteContract/DetailsStep/detailsStep.js +++ b/js-old/src/modals/ExecuteContract/DetailsStep/detailsStep.js @@ -177,7 +177,7 @@ export default class DetailsStep extends Component { } renderParameters () { - const { func, values, valuesError, onValueChange } = this.props; + const { accounts, func, values, valuesError, onValueChange } = this.props; if (!func) { return null; @@ -197,6 +197,7 @@ export default class DetailsStep extends Component { value={ values[index] } error={ valuesError[index] } onChange={ onChange } + accounts={ accounts } param={ input.type } isEth={ false } /> diff --git a/js/src/modals/ExecuteContract/DetailsStep/detailsStep.spec.js b/js-old/src/modals/ExecuteContract/DetailsStep/detailsStep.spec.js similarity index 100% rename from js/src/modals/ExecuteContract/DetailsStep/detailsStep.spec.js rename to js-old/src/modals/ExecuteContract/DetailsStep/detailsStep.spec.js diff --git a/js/src/modals/ExecuteContract/DetailsStep/index.js b/js-old/src/modals/ExecuteContract/DetailsStep/index.js similarity index 100% rename from js/src/modals/ExecuteContract/DetailsStep/index.js rename to js-old/src/modals/ExecuteContract/DetailsStep/index.js diff --git a/js/src/modals/ExecuteContract/executeContract.css b/js-old/src/modals/ExecuteContract/executeContract.css similarity index 100% rename from js/src/modals/ExecuteContract/executeContract.css rename to js-old/src/modals/ExecuteContract/executeContract.css diff --git a/js/src/modals/ExecuteContract/executeContract.js b/js-old/src/modals/ExecuteContract/executeContract.js similarity index 95% rename from js/src/modals/ExecuteContract/executeContract.js rename to js-old/src/modals/ExecuteContract/executeContract.js index 0dfa7c92ef4caed08fcafcf7022eb29ebf6101d4..0f648dece5c96ad435a5cf73d34ec59cf21cd084 100644 --- a/js/src/modals/ExecuteContract/executeContract.js +++ b/js-old/src/modals/ExecuteContract/executeContract.js @@ -57,7 +57,6 @@ class ExecuteContract extends Component { }; static propTypes = { - availability: PropTypes.string.isRequired, accounts: PropTypes.object, contract: PropTypes.object.isRequired, fromAddress: PropTypes.string, @@ -199,7 +198,7 @@ class ExecuteContract extends Component { } renderStep () { - const { availability, accounts, contract, fromAddress, onFromAddressChange } = this.props; + const { accounts, contract, fromAddress, onFromAddressChange } = this.props; const { step } = this.state; if (step === STEP_DETAILS) { @@ -219,10 +218,7 @@ class ExecuteContract extends Component { } return ( - + ); } @@ -341,10 +337,9 @@ class ExecuteContract extends Component { } function mapStateToProps (state) { - const { gasLimit, nodeKind = {} } = state.nodeStatus; - const { availability = 'unknown' } = nodeKind; + const { gasLimit } = state.nodeStatus; - return { availability, gasLimit }; + return { gasLimit }; } export default connect( diff --git a/js/src/modals/ExecuteContract/executeContract.spec.js b/js-old/src/modals/ExecuteContract/executeContract.spec.js similarity index 100% rename from js/src/modals/ExecuteContract/executeContract.spec.js rename to js-old/src/modals/ExecuteContract/executeContract.spec.js diff --git a/js/src/modals/ExecuteContract/executeContract.test.js b/js-old/src/modals/ExecuteContract/executeContract.test.js similarity index 100% rename from js/src/modals/ExecuteContract/executeContract.test.js rename to js-old/src/modals/ExecuteContract/executeContract.test.js diff --git a/js/src/modals/ExecuteContract/index.js b/js-old/src/modals/ExecuteContract/index.js similarity index 100% rename from js/src/modals/ExecuteContract/index.js rename to js-old/src/modals/ExecuteContract/index.js diff --git a/js/src/modals/ExportAccount/exportAccount.js b/js-old/src/modals/ExportAccount/exportAccount.js similarity index 96% rename from js/src/modals/ExportAccount/exportAccount.js rename to js-old/src/modals/ExportAccount/exportAccount.js index eddd23cd64bafc0b239166efc380e58a10552e43..48faaaec36e722788dd7a51ed914710cdc521d04 100644 --- a/js/src/modals/ExportAccount/exportAccount.js +++ b/js-old/src/modals/ExportAccount/exportAccount.js @@ -58,7 +58,7 @@ class ExportAccount extends Component { key='cancel' label={ } @@ -70,7 +70,7 @@ class ExportAccount extends Component { key='execute' label={ } @@ -81,7 +81,7 @@ class ExportAccount extends Component { open title={ } diff --git a/js/src/modals/ExportAccount/exportAccount.spec.js b/js-old/src/modals/ExportAccount/exportAccount.spec.js similarity index 100% rename from js/src/modals/ExportAccount/exportAccount.spec.js rename to js-old/src/modals/ExportAccount/exportAccount.spec.js diff --git a/js/src/modals/ExportAccount/exportInput/exportInput.js b/js-old/src/modals/ExportAccount/exportInput/exportInput.js similarity index 94% rename from js/src/modals/ExportAccount/exportInput/exportInput.js rename to js-old/src/modals/ExportAccount/exportInput/exportInput.js index 619166addaea4bbeb61fb573cf38022336374eff..07673b29b1c1562bba25e29393ab9465547202c9 100644 --- a/js/src/modals/ExportAccount/exportInput/exportInput.js +++ b/js-old/src/modals/ExportAccount/exportInput/exportInput.js @@ -34,13 +34,13 @@ export default class ExportInput extends Component { type='password' label={ } hint={ } diff --git a/js/src/modals/ExportAccount/exportInput/index.js b/js-old/src/modals/ExportAccount/exportInput/index.js similarity index 100% rename from js/src/modals/ExportAccount/exportInput/index.js rename to js-old/src/modals/ExportAccount/exportInput/index.js diff --git a/js/src/modals/ExportAccount/exportStore.js b/js-old/src/modals/ExportAccount/exportStore.js similarity index 100% rename from js/src/modals/ExportAccount/exportStore.js rename to js-old/src/modals/ExportAccount/exportStore.js diff --git a/js/src/modals/ExportAccount/exportStore.spec.js b/js-old/src/modals/ExportAccount/exportStore.spec.js similarity index 100% rename from js/src/modals/ExportAccount/exportStore.spec.js rename to js-old/src/modals/ExportAccount/exportStore.spec.js diff --git a/js/src/modals/ExportAccount/index.js b/js-old/src/modals/ExportAccount/index.js similarity index 100% rename from js/src/modals/ExportAccount/index.js rename to js-old/src/modals/ExportAccount/index.js diff --git a/js/src/modals/Faucet/faucet.js b/js-old/src/modals/Faucet/faucet.js similarity index 100% rename from js/src/modals/Faucet/faucet.js rename to js-old/src/modals/Faucet/faucet.js diff --git a/js/src/modals/Faucet/index.js b/js-old/src/modals/Faucet/index.js similarity index 100% rename from js/src/modals/Faucet/index.js rename to js-old/src/modals/Faucet/index.js diff --git a/js/src/modals/Faucet/store.js b/js-old/src/modals/Faucet/store.js similarity index 100% rename from js/src/modals/Faucet/store.js rename to js-old/src/modals/Faucet/store.js diff --git a/js/src/modals/FirstRun/Completed/completed.js b/js-old/src/modals/FirstRun/Completed/completed.js similarity index 100% rename from js/src/modals/FirstRun/Completed/completed.js rename to js-old/src/modals/FirstRun/Completed/completed.js diff --git a/js/src/modals/FirstRun/Completed/index.js b/js-old/src/modals/FirstRun/Completed/index.js similarity index 100% rename from js/src/modals/FirstRun/Completed/index.js rename to js-old/src/modals/FirstRun/Completed/index.js diff --git a/js/src/modals/FirstRun/TnC/index.js b/js-old/src/modals/FirstRun/TnC/index.js similarity index 100% rename from js/src/modals/FirstRun/TnC/index.js rename to js-old/src/modals/FirstRun/TnC/index.js diff --git a/js/src/modals/FirstRun/TnC/tnc.js b/js-old/src/modals/FirstRun/TnC/tnc.js similarity index 100% rename from js/src/modals/FirstRun/TnC/tnc.js rename to js-old/src/modals/FirstRun/TnC/tnc.js diff --git a/js/src/modals/FirstRun/TnC/tnc.md b/js-old/src/modals/FirstRun/TnC/tnc.md similarity index 100% rename from js/src/modals/FirstRun/TnC/tnc.md rename to js-old/src/modals/FirstRun/TnC/tnc.md diff --git a/js/src/modals/FirstRun/Welcome/index.js b/js-old/src/modals/FirstRun/Welcome/index.js similarity index 100% rename from js/src/modals/FirstRun/Welcome/index.js rename to js-old/src/modals/FirstRun/Welcome/index.js diff --git a/js/src/modals/FirstRun/Welcome/welcome.js b/js-old/src/modals/FirstRun/Welcome/welcome.js similarity index 100% rename from js/src/modals/FirstRun/Welcome/welcome.js rename to js-old/src/modals/FirstRun/Welcome/welcome.js diff --git a/js/src/modals/FirstRun/firstRun.css b/js-old/src/modals/FirstRun/firstRun.css similarity index 100% rename from js/src/modals/FirstRun/firstRun.css rename to js-old/src/modals/FirstRun/firstRun.css diff --git a/js/src/modals/FirstRun/firstRun.js b/js-old/src/modals/FirstRun/firstRun.js similarity index 95% rename from js/src/modals/FirstRun/firstRun.js rename to js-old/src/modals/FirstRun/firstRun.js index ea91fa83db7695a2cc4e822ce259625e87224f0a..2db94fdb9b6d4b224f0887eb5556969cdb1de699 100644 --- a/js/src/modals/FirstRun/firstRun.js +++ b/js-old/src/modals/FirstRun/firstRun.js @@ -78,23 +78,16 @@ class FirstRun extends Component { hasAccounts: PropTypes.bool.isRequired, newError: PropTypes.func.isRequired, onClose: PropTypes.func.isRequired, - visible: PropTypes.bool.isRequired, - isTest: PropTypes.bool.isRequired + visible: PropTypes.bool.isRequired } - createStore = new CreateStore(this.context.api, {}, this.props.isTest, false); + createStore = new CreateStore(this.context.api, {}, true, false); state = { stage: 0, hasAcceptedTnc: false } - componentWillReceiveProps (nextProps) { - if (nextProps.isTest !== this.props.isTest) { - this.createStore.setIsTest(nextProps.isTest); - } - } - render () { const { visible } = this.props; const { stage } = this.state; @@ -355,10 +348,9 @@ class FirstRun extends Component { function mapStateToProps (state) { const { hasAccounts } = state.personal; - const { isTest } = state.nodeStatus; return { - hasAccounts, isTest + hasAccounts }; } diff --git a/js-old/src/modals/FirstRun/firstRun.spec.js b/js-old/src/modals/FirstRun/firstRun.spec.js new file mode 100644 index 0000000000000000000000000000000000000000..14707dd5cafbe0e77fee8a70d37336a9acf88fe2 --- /dev/null +++ b/js-old/src/modals/FirstRun/firstRun.spec.js @@ -0,0 +1,69 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import { shallow } from 'enzyme'; +import React from 'react'; +import sinon from 'sinon'; + +import FirstRun from './'; + +let component; +let onClose; + +function createApi () { + return {}; +} + +function createRedux () { + return { + dispatch: sinon.stub(), + subscribe: sinon.stub(), + getState: () => { + return { + personal: { + hasAccounts: false + } + }; + } + }; +} + +function render (props = { visible: true }) { + onClose = sinon.stub(); + component = shallow( + , + { + context: { + store: createRedux() + } + } + ).find('FirstRun').shallow({ + context: { + api: createApi() + } + }); + + return component; +} + +describe('modals/FirstRun', () => { + it('renders defaults', () => { + expect(render()).to.be.ok; + }); +}); diff --git a/js/src/modals/FirstRun/index.js b/js-old/src/modals/FirstRun/index.js similarity index 100% rename from js/src/modals/FirstRun/index.js rename to js-old/src/modals/FirstRun/index.js diff --git a/js/src/modals/LoadContract/index.js b/js-old/src/modals/LoadContract/index.js similarity index 100% rename from js/src/modals/LoadContract/index.js rename to js-old/src/modals/LoadContract/index.js diff --git a/js/src/modals/LoadContract/loadContract.css b/js-old/src/modals/LoadContract/loadContract.css similarity index 100% rename from js/src/modals/LoadContract/loadContract.css rename to js-old/src/modals/LoadContract/loadContract.css diff --git a/js/src/modals/LoadContract/loadContract.js b/js-old/src/modals/LoadContract/loadContract.js similarity index 100% rename from js/src/modals/LoadContract/loadContract.js rename to js-old/src/modals/LoadContract/loadContract.js diff --git a/js/src/modals/LoadContract/loadContract.spec.js b/js-old/src/modals/LoadContract/loadContract.spec.js similarity index 100% rename from js/src/modals/LoadContract/loadContract.spec.js rename to js-old/src/modals/LoadContract/loadContract.spec.js diff --git a/js/src/modals/PasswordManager/index.js b/js-old/src/modals/PasswordManager/index.js similarity index 100% rename from js/src/modals/PasswordManager/index.js rename to js-old/src/modals/PasswordManager/index.js diff --git a/js/src/modals/PasswordManager/passwordManager.css b/js-old/src/modals/PasswordManager/passwordManager.css similarity index 100% rename from js/src/modals/PasswordManager/passwordManager.css rename to js-old/src/modals/PasswordManager/passwordManager.css diff --git a/js/src/modals/PasswordManager/passwordManager.js b/js-old/src/modals/PasswordManager/passwordManager.js similarity index 100% rename from js/src/modals/PasswordManager/passwordManager.js rename to js-old/src/modals/PasswordManager/passwordManager.js diff --git a/js/src/modals/PasswordManager/passwordManager.spec.js b/js-old/src/modals/PasswordManager/passwordManager.spec.js similarity index 100% rename from js/src/modals/PasswordManager/passwordManager.spec.js rename to js-old/src/modals/PasswordManager/passwordManager.spec.js diff --git a/js/src/modals/PasswordManager/passwordManager.test.js b/js-old/src/modals/PasswordManager/passwordManager.test.js similarity index 100% rename from js/src/modals/PasswordManager/passwordManager.test.js rename to js-old/src/modals/PasswordManager/passwordManager.test.js diff --git a/js/src/modals/PasswordManager/store.js b/js-old/src/modals/PasswordManager/store.js similarity index 100% rename from js/src/modals/PasswordManager/store.js rename to js-old/src/modals/PasswordManager/store.js diff --git a/js/src/modals/PasswordManager/store.spec.js b/js-old/src/modals/PasswordManager/store.spec.js similarity index 100% rename from js/src/modals/PasswordManager/store.spec.js rename to js-old/src/modals/PasswordManager/store.spec.js diff --git a/js/src/modals/SaveContract/index.js b/js-old/src/modals/SaveContract/index.js similarity index 100% rename from js/src/modals/SaveContract/index.js rename to js-old/src/modals/SaveContract/index.js diff --git a/js/src/modals/SaveContract/saveContract.css b/js-old/src/modals/SaveContract/saveContract.css similarity index 100% rename from js/src/modals/SaveContract/saveContract.css rename to js-old/src/modals/SaveContract/saveContract.css diff --git a/js/src/modals/SaveContract/saveContract.js b/js-old/src/modals/SaveContract/saveContract.js similarity index 100% rename from js/src/modals/SaveContract/saveContract.js rename to js-old/src/modals/SaveContract/saveContract.js diff --git a/js/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js b/js-old/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js similarity index 100% rename from js/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js rename to js-old/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js diff --git a/js/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js b/js-old/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js similarity index 100% rename from js/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js rename to js-old/src/modals/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js diff --git a/js/src/modals/Shapeshift/AwaitingDepositStep/index.js b/js-old/src/modals/Shapeshift/AwaitingDepositStep/index.js similarity index 100% rename from js/src/modals/Shapeshift/AwaitingDepositStep/index.js rename to js-old/src/modals/Shapeshift/AwaitingDepositStep/index.js diff --git a/js/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js b/js-old/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js similarity index 100% rename from js/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js rename to js-old/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js diff --git a/js/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js b/js-old/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js similarity index 100% rename from js/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js rename to js-old/src/modals/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js diff --git a/js/src/modals/Shapeshift/AwaitingExchangeStep/index.js b/js-old/src/modals/Shapeshift/AwaitingExchangeStep/index.js similarity index 100% rename from js/src/modals/Shapeshift/AwaitingExchangeStep/index.js rename to js-old/src/modals/Shapeshift/AwaitingExchangeStep/index.js diff --git a/js/src/modals/Shapeshift/CompletedStep/completedStep.js b/js-old/src/modals/Shapeshift/CompletedStep/completedStep.js similarity index 100% rename from js/src/modals/Shapeshift/CompletedStep/completedStep.js rename to js-old/src/modals/Shapeshift/CompletedStep/completedStep.js diff --git a/js/src/modals/Shapeshift/CompletedStep/completedStep.spec.js b/js-old/src/modals/Shapeshift/CompletedStep/completedStep.spec.js similarity index 100% rename from js/src/modals/Shapeshift/CompletedStep/completedStep.spec.js rename to js-old/src/modals/Shapeshift/CompletedStep/completedStep.spec.js diff --git a/js/src/modals/Shapeshift/CompletedStep/index.js b/js-old/src/modals/Shapeshift/CompletedStep/index.js similarity index 100% rename from js/src/modals/Shapeshift/CompletedStep/index.js rename to js-old/src/modals/Shapeshift/CompletedStep/index.js diff --git a/js/src/modals/Shapeshift/ErrorStep/errorStep.js b/js-old/src/modals/Shapeshift/ErrorStep/errorStep.js similarity index 100% rename from js/src/modals/Shapeshift/ErrorStep/errorStep.js rename to js-old/src/modals/Shapeshift/ErrorStep/errorStep.js diff --git a/js/src/modals/Shapeshift/ErrorStep/errorStep.spec.js b/js-old/src/modals/Shapeshift/ErrorStep/errorStep.spec.js similarity index 100% rename from js/src/modals/Shapeshift/ErrorStep/errorStep.spec.js rename to js-old/src/modals/Shapeshift/ErrorStep/errorStep.spec.js diff --git a/js/src/modals/Shapeshift/ErrorStep/index.js b/js-old/src/modals/Shapeshift/ErrorStep/index.js similarity index 100% rename from js/src/modals/Shapeshift/ErrorStep/index.js rename to js-old/src/modals/Shapeshift/ErrorStep/index.js diff --git a/js/src/modals/Shapeshift/OptionsStep/index.js b/js-old/src/modals/Shapeshift/OptionsStep/index.js similarity index 100% rename from js/src/modals/Shapeshift/OptionsStep/index.js rename to js-old/src/modals/Shapeshift/OptionsStep/index.js diff --git a/js/src/modals/Shapeshift/OptionsStep/optionsStep.css b/js-old/src/modals/Shapeshift/OptionsStep/optionsStep.css similarity index 100% rename from js/src/modals/Shapeshift/OptionsStep/optionsStep.css rename to js-old/src/modals/Shapeshift/OptionsStep/optionsStep.css diff --git a/js/src/modals/Shapeshift/OptionsStep/optionsStep.js b/js-old/src/modals/Shapeshift/OptionsStep/optionsStep.js similarity index 100% rename from js/src/modals/Shapeshift/OptionsStep/optionsStep.js rename to js-old/src/modals/Shapeshift/OptionsStep/optionsStep.js diff --git a/js/src/modals/Shapeshift/OptionsStep/optionsSteps.spec.js b/js-old/src/modals/Shapeshift/OptionsStep/optionsSteps.spec.js similarity index 100% rename from js/src/modals/Shapeshift/OptionsStep/optionsSteps.spec.js rename to js-old/src/modals/Shapeshift/OptionsStep/optionsSteps.spec.js diff --git a/js/src/modals/Shapeshift/Price/index.js b/js-old/src/modals/Shapeshift/Price/index.js similarity index 100% rename from js/src/modals/Shapeshift/Price/index.js rename to js-old/src/modals/Shapeshift/Price/index.js diff --git a/js/src/modals/Shapeshift/Price/price.js b/js-old/src/modals/Shapeshift/Price/price.js similarity index 100% rename from js/src/modals/Shapeshift/Price/price.js rename to js-old/src/modals/Shapeshift/Price/price.js diff --git a/js/src/modals/Shapeshift/Price/price.spec.js b/js-old/src/modals/Shapeshift/Price/price.spec.js similarity index 100% rename from js/src/modals/Shapeshift/Price/price.spec.js rename to js-old/src/modals/Shapeshift/Price/price.spec.js diff --git a/js/src/modals/Shapeshift/Value/index.js b/js-old/src/modals/Shapeshift/Value/index.js similarity index 100% rename from js/src/modals/Shapeshift/Value/index.js rename to js-old/src/modals/Shapeshift/Value/index.js diff --git a/js/src/modals/Shapeshift/Value/value.css b/js-old/src/modals/Shapeshift/Value/value.css similarity index 100% rename from js/src/modals/Shapeshift/Value/value.css rename to js-old/src/modals/Shapeshift/Value/value.css diff --git a/js/src/modals/Shapeshift/Value/value.js b/js-old/src/modals/Shapeshift/Value/value.js similarity index 100% rename from js/src/modals/Shapeshift/Value/value.js rename to js-old/src/modals/Shapeshift/Value/value.js diff --git a/js/src/modals/Shapeshift/Value/value.spec.js b/js-old/src/modals/Shapeshift/Value/value.spec.js similarity index 100% rename from js/src/modals/Shapeshift/Value/value.spec.js rename to js-old/src/modals/Shapeshift/Value/value.spec.js diff --git a/js/src/modals/Shapeshift/index.js b/js-old/src/modals/Shapeshift/index.js similarity index 100% rename from js/src/modals/Shapeshift/index.js rename to js-old/src/modals/Shapeshift/index.js diff --git a/js/src/modals/Shapeshift/shapeshift.css b/js-old/src/modals/Shapeshift/shapeshift.css similarity index 100% rename from js/src/modals/Shapeshift/shapeshift.css rename to js-old/src/modals/Shapeshift/shapeshift.css diff --git a/js/src/modals/Shapeshift/shapeshift.js b/js-old/src/modals/Shapeshift/shapeshift.js similarity index 100% rename from js/src/modals/Shapeshift/shapeshift.js rename to js-old/src/modals/Shapeshift/shapeshift.js diff --git a/js/src/modals/Shapeshift/shapeshift.spec.js b/js-old/src/modals/Shapeshift/shapeshift.spec.js similarity index 100% rename from js/src/modals/Shapeshift/shapeshift.spec.js rename to js-old/src/modals/Shapeshift/shapeshift.spec.js diff --git a/js/src/modals/Shapeshift/store.js b/js-old/src/modals/Shapeshift/store.js similarity index 100% rename from js/src/modals/Shapeshift/store.js rename to js-old/src/modals/Shapeshift/store.js diff --git a/js/src/modals/Shapeshift/store.spec.js b/js-old/src/modals/Shapeshift/store.spec.js similarity index 100% rename from js/src/modals/Shapeshift/store.spec.js rename to js-old/src/modals/Shapeshift/store.spec.js diff --git a/js/src/modals/Transfer/Details/details.js b/js-old/src/modals/Transfer/Details/details.js similarity index 100% rename from js/src/modals/Transfer/Details/details.js rename to js-old/src/modals/Transfer/Details/details.js diff --git a/js/src/modals/Transfer/Details/index.js b/js-old/src/modals/Transfer/Details/index.js similarity index 100% rename from js/src/modals/Transfer/Details/index.js rename to js-old/src/modals/Transfer/Details/index.js diff --git a/js/src/modals/Transfer/Details/tokenSelect.js b/js-old/src/modals/Transfer/Details/tokenSelect.js similarity index 100% rename from js/src/modals/Transfer/Details/tokenSelect.js rename to js-old/src/modals/Transfer/Details/tokenSelect.js diff --git a/js/src/modals/Transfer/Extras/extras.js b/js-old/src/modals/Transfer/Extras/extras.js similarity index 93% rename from js/src/modals/Transfer/Extras/extras.js rename to js-old/src/modals/Transfer/Extras/extras.js index 5cbccc36943c8e336dd080bedc6940246f3fd451..c3e2d1a8e6895360bd3e50305737205aa06e58b4 100644 --- a/js/src/modals/Transfer/Extras/extras.js +++ b/js-old/src/modals/Transfer/Extras/extras.js @@ -23,7 +23,6 @@ import styles from '../transfer.css'; export default class Extras extends Component { static propTypes = { - availability: PropTypes.string.isRequired, data: PropTypes.string, dataError: PropTypes.string, hideData: PropTypes.bool, @@ -39,14 +38,13 @@ export default class Extras extends Component { }; render () { - const { availability, gasStore, onChange } = this.props; + const { gasStore, onChange } = this.props; return ( { this.renderData() }
diff --git a/js/src/modals/Transfer/Extras/index.js b/js-old/src/modals/Transfer/Extras/index.js similarity index 100% rename from js/src/modals/Transfer/Extras/index.js rename to js-old/src/modals/Transfer/Extras/index.js diff --git a/js/src/modals/Transfer/errors.js b/js-old/src/modals/Transfer/errors.js similarity index 100% rename from js/src/modals/Transfer/errors.js rename to js-old/src/modals/Transfer/errors.js diff --git a/js/src/modals/Transfer/index.js b/js-old/src/modals/Transfer/index.js similarity index 100% rename from js/src/modals/Transfer/index.js rename to js-old/src/modals/Transfer/index.js diff --git a/js/src/modals/Transfer/store.js b/js-old/src/modals/Transfer/store.js similarity index 99% rename from js/src/modals/Transfer/store.js rename to js-old/src/modals/Transfer/store.js index 71458c85d673633cec4a33b8cce79691f929102f..eaccf4f40c9026e12daa24c4600917136588275d 100644 --- a/js/src/modals/Transfer/store.js +++ b/js-old/src/modals/Transfer/store.js @@ -133,8 +133,8 @@ export default class TransferStore { } @action handleClose = () => { - this.onClose(); this.stage = 0; + this.onClose(); } @action onUpdateDetails = (type, value) => { @@ -169,6 +169,7 @@ export default class TransferStore { } @action onSend = () => { + this.onNext(); this.sending = true; this diff --git a/js/src/modals/Transfer/transfer.css b/js-old/src/modals/Transfer/transfer.css similarity index 100% rename from js/src/modals/Transfer/transfer.css rename to js-old/src/modals/Transfer/transfer.css diff --git a/js/src/modals/Transfer/transfer.js b/js-old/src/modals/Transfer/transfer.js similarity index 95% rename from js/src/modals/Transfer/transfer.js rename to js-old/src/modals/Transfer/transfer.js index 25e5d4f8f47d3c3a0689e06682e8ba382cf669dd..ab769ff02dab4628df48bebc17ebccfb2560fefa 100644 --- a/js/src/modals/Transfer/transfer.js +++ b/js-old/src/modals/Transfer/transfer.js @@ -42,7 +42,6 @@ class Transfer extends Component { } static propTypes = { - availability: PropTypes.string.isRequired, newError: PropTypes.func.isRequired, gasLimit: PropTypes.object.isRequired, @@ -187,14 +186,13 @@ class Transfer extends Component { onChange={ this.store.onUpdateDetails } total={ total } totalError={ totalError } - availability={ this.props.availability } /> ); } renderDialogActions () { const { account } = this.props; - const { extras, sending, stage, isValid } = this.store; + const { extras, sending, stage } = this.store; const cancelBtn = (
); }) .filter((node) => node); @@ -117,15 +140,11 @@ export class Balance extends Component { } function mapStateToProps (state, props) { - const { balances, tokens: allTokens } = state; + const { balances, tokens } = state; const { address } = props; - const balance = balances[address] || props.balance || {}; - - const tokenIds = Object.keys(balance); - const tokens = pick(allTokens, tokenIds); return { - balance, + balance: balances[address] || props.balance || {}, tokens }; } diff --git a/js/src/ui/Balance/balance.spec.js b/js-old/src/ui/Balance/balance.spec.js similarity index 94% rename from js/src/ui/Balance/balance.spec.js rename to js-old/src/ui/Balance/balance.spec.js index c1637329bcd3a0e245b0290275fa8cb01f9bb834..d5601a489fb269b15706ff55e4a73543dbfb9a58 100644 --- a/js/src/ui/Balance/balance.spec.js +++ b/js-old/src/ui/Balance/balance.spec.js @@ -84,13 +84,13 @@ describe('ui/Balance', () => { }); it('renders all the non-zero balances', () => { - expect(component.find('Connect(TokenValue)')).to.have.length(2); + expect(component.find('Connect(TokenImage)')).to.have.length(2); }); describe('render specifiers', () => { it('renders all the tokens with showZeroValues', () => { render({ showZeroValues: true }); - expect(component.find('Connect(TokenValue)')).to.have.length(2); + expect(component.find('Connect(TokenImage)')).to.have.length(2); }); }); }); diff --git a/js/src/ui/Balance/index.js b/js-old/src/ui/Balance/index.js similarity index 100% rename from js/src/ui/Balance/index.js rename to js-old/src/ui/Balance/index.js diff --git a/js/src/ui/BlockStatus/blockStatus.css b/js-old/src/ui/BlockStatus/blockStatus.css similarity index 100% rename from js/src/ui/BlockStatus/blockStatus.css rename to js-old/src/ui/BlockStatus/blockStatus.css diff --git a/js/src/ui/BlockStatus/blockStatus.js b/js-old/src/ui/BlockStatus/blockStatus.js similarity index 100% rename from js/src/ui/BlockStatus/blockStatus.js rename to js-old/src/ui/BlockStatus/blockStatus.js diff --git a/js/src/ui/BlockStatus/blockStatus.spec.js b/js-old/src/ui/BlockStatus/blockStatus.spec.js similarity index 100% rename from js/src/ui/BlockStatus/blockStatus.spec.js rename to js-old/src/ui/BlockStatus/blockStatus.spec.js diff --git a/js/src/ui/BlockStatus/index.js b/js-old/src/ui/BlockStatus/index.js similarity index 100% rename from js/src/ui/BlockStatus/index.js rename to js-old/src/ui/BlockStatus/index.js diff --git a/js/src/ui/Button/button.css b/js-old/src/ui/Button/button.css similarity index 100% rename from js/src/ui/Button/button.css rename to js-old/src/ui/Button/button.css diff --git a/js/src/ui/Button/button.js b/js-old/src/ui/Button/button.js similarity index 100% rename from js/src/ui/Button/button.js rename to js-old/src/ui/Button/button.js diff --git a/js/src/ui/Button/button.spec.js b/js-old/src/ui/Button/button.spec.js similarity index 100% rename from js/src/ui/Button/button.spec.js rename to js-old/src/ui/Button/button.spec.js diff --git a/js/src/ui/Button/index.js b/js-old/src/ui/Button/index.js similarity index 100% rename from js/src/ui/Button/index.js rename to js-old/src/ui/Button/index.js diff --git a/js/src/ui/Certifications/certifications.css b/js-old/src/ui/Certifications/certifications.css similarity index 100% rename from js/src/ui/Certifications/certifications.css rename to js-old/src/ui/Certifications/certifications.css diff --git a/js/src/ui/Certifications/certifications.js b/js-old/src/ui/Certifications/certifications.js similarity index 100% rename from js/src/ui/Certifications/certifications.js rename to js-old/src/ui/Certifications/certifications.js diff --git a/js/src/ui/Certifications/index.js b/js-old/src/ui/Certifications/index.js similarity index 100% rename from js/src/ui/Certifications/index.js rename to js-old/src/ui/Certifications/index.js diff --git a/js/src/ui/ConfirmDialog/confirmDialog.css b/js-old/src/ui/ConfirmDialog/confirmDialog.css similarity index 100% rename from js/src/ui/ConfirmDialog/confirmDialog.css rename to js-old/src/ui/ConfirmDialog/confirmDialog.css diff --git a/js/src/ui/ConfirmDialog/confirmDialog.js b/js-old/src/ui/ConfirmDialog/confirmDialog.js similarity index 100% rename from js/src/ui/ConfirmDialog/confirmDialog.js rename to js-old/src/ui/ConfirmDialog/confirmDialog.js diff --git a/js/src/ui/ConfirmDialog/confirmDialog.spec.js b/js-old/src/ui/ConfirmDialog/confirmDialog.spec.js similarity index 100% rename from js/src/ui/ConfirmDialog/confirmDialog.spec.js rename to js-old/src/ui/ConfirmDialog/confirmDialog.spec.js diff --git a/js/src/ui/ConfirmDialog/index.js b/js-old/src/ui/ConfirmDialog/index.js similarity index 100% rename from js/src/ui/ConfirmDialog/index.js rename to js-old/src/ui/ConfirmDialog/index.js diff --git a/js/src/ui/Container/Title/index.js b/js-old/src/ui/Container/Title/index.js similarity index 100% rename from js/src/ui/Container/Title/index.js rename to js-old/src/ui/Container/Title/index.js diff --git a/js/src/ui/Container/Title/title.css b/js-old/src/ui/Container/Title/title.css similarity index 100% rename from js/src/ui/Container/Title/title.css rename to js-old/src/ui/Container/Title/title.css diff --git a/js/src/ui/Container/Title/title.js b/js-old/src/ui/Container/Title/title.js similarity index 100% rename from js/src/ui/Container/Title/title.js rename to js-old/src/ui/Container/Title/title.js diff --git a/js/src/ui/Container/Title/title.spec.js b/js-old/src/ui/Container/Title/title.spec.js similarity index 100% rename from js/src/ui/Container/Title/title.spec.js rename to js-old/src/ui/Container/Title/title.spec.js diff --git a/js/src/ui/Container/container.css b/js-old/src/ui/Container/container.css similarity index 100% rename from js/src/ui/Container/container.css rename to js-old/src/ui/Container/container.css diff --git a/js/src/ui/Container/container.js b/js-old/src/ui/Container/container.js similarity index 100% rename from js/src/ui/Container/container.js rename to js-old/src/ui/Container/container.js diff --git a/js/src/ui/Container/container.spec.js b/js-old/src/ui/Container/container.spec.js similarity index 100% rename from js/src/ui/Container/container.spec.js rename to js-old/src/ui/Container/container.spec.js diff --git a/js/src/ui/Container/index.js b/js-old/src/ui/Container/index.js similarity index 100% rename from js/src/ui/Container/index.js rename to js-old/src/ui/Container/index.js diff --git a/js/src/ui/ContextProvider/contextProvider.js b/js-old/src/ui/ContextProvider/contextProvider.js similarity index 100% rename from js/src/ui/ContextProvider/contextProvider.js rename to js-old/src/ui/ContextProvider/contextProvider.js diff --git a/js/src/ui/ContextProvider/index.js b/js-old/src/ui/ContextProvider/index.js similarity index 100% rename from js/src/ui/ContextProvider/index.js rename to js-old/src/ui/ContextProvider/index.js diff --git a/js/src/ui/CopyToClipboard/copyToClipboard.css b/js-old/src/ui/CopyToClipboard/copyToClipboard.css similarity index 100% rename from js/src/ui/CopyToClipboard/copyToClipboard.css rename to js-old/src/ui/CopyToClipboard/copyToClipboard.css diff --git a/js/src/ui/CopyToClipboard/copyToClipboard.js b/js-old/src/ui/CopyToClipboard/copyToClipboard.js similarity index 100% rename from js/src/ui/CopyToClipboard/copyToClipboard.js rename to js-old/src/ui/CopyToClipboard/copyToClipboard.js diff --git a/js/src/ui/CopyToClipboard/index.js b/js-old/src/ui/CopyToClipboard/index.js similarity index 100% rename from js/src/ui/CopyToClipboard/index.js rename to js-old/src/ui/CopyToClipboard/index.js diff --git a/js/src/ui/CurrencySymbol/currencySymbol.example.js b/js-old/src/ui/CurrencySymbol/currencySymbol.example.js similarity index 91% rename from js/src/ui/CurrencySymbol/currencySymbol.example.js rename to js-old/src/ui/CurrencySymbol/currencySymbol.example.js index 1f33dbba86f9d397d15884b824af75c023cbe02b..c1b56ed5cfcb097d74c31471d9348216a0706145 100644 --- a/js/src/ui/CurrencySymbol/currencySymbol.example.js +++ b/js-old/src/ui/CurrencySymbol/currencySymbol.example.js @@ -45,12 +45,6 @@ export default class CurrencySymbolExample extends Component { netChain='expanse' /> - - - - ); } diff --git a/js/src/ui/CurrencySymbol/currencySymbol.js b/js-old/src/ui/CurrencySymbol/currencySymbol.js similarity index 95% rename from js/src/ui/CurrencySymbol/currencySymbol.js rename to js-old/src/ui/CurrencySymbol/currencySymbol.js index ec7f98458ecc12477b3a9d2fff8fce042dadfc69..3322b0301b7a881b4e69b2aa12c1fafc3d83f0a4 100644 --- a/js/src/ui/CurrencySymbol/currencySymbol.js +++ b/js-old/src/ui/CurrencySymbol/currencySymbol.js @@ -20,7 +20,6 @@ import { connect } from 'react-redux'; const SYMBOL_ETC = 'ETC'; const SYMBOL_ETH = 'ETH'; const SYMBOL_EXP = 'EXP'; -const SYMBOL_MUSIC = 'MUSIC'; export class CurrencySymbol extends Component { static propTypes = { @@ -46,9 +45,6 @@ export class CurrencySymbol extends Component { case 'expanse': return SYMBOL_EXP; - case 'musicoin': - return SYMBOL_MUSIC; - default: return SYMBOL_ETH; } diff --git a/js/src/ui/CurrencySymbol/currencySymbol.spec.js b/js-old/src/ui/CurrencySymbol/currencySymbol.spec.js similarity index 91% rename from js/src/ui/CurrencySymbol/currencySymbol.spec.js rename to js-old/src/ui/CurrencySymbol/currencySymbol.spec.js index f10557bd29844570e4d84e2c539547ae04b8913a..e705b5edc21bc22dfff808040b62f855831734df 100644 --- a/js/src/ui/CurrencySymbol/currencySymbol.spec.js +++ b/js-old/src/ui/CurrencySymbol/currencySymbol.spec.js @@ -74,10 +74,6 @@ describe('ui/CurrencySymbol', () => { expect(render('expanse').text()).equal('EXP'); }); - it('renders MUSIC for musicoin', () => { - expect(render('musicoin').text()).equal('MUSIC'); - }); - it('renders ETH as default', () => { expect(render('somethingElse').text()).equal('ETH'); }); @@ -99,9 +95,5 @@ describe('ui/CurrencySymbol', () => { it('render EXP', () => { expect(render('expanse').instance().renderSymbol()).equal('EXP'); }); - - it('render MUSIC', () => { - expect(render('musicoin').instance().renderSymbol()).equal('MUSIC'); - }); }); }); diff --git a/js/src/ui/CurrencySymbol/index.js b/js-old/src/ui/CurrencySymbol/index.js similarity index 100% rename from js/src/ui/CurrencySymbol/index.js rename to js-old/src/ui/CurrencySymbol/index.js diff --git a/js/src/ui/DappCard/dappCard.css b/js-old/src/ui/DappCard/dappCard.css similarity index 100% rename from js/src/ui/DappCard/dappCard.css rename to js-old/src/ui/DappCard/dappCard.css diff --git a/js/src/ui/DappCard/dappCard.js b/js-old/src/ui/DappCard/dappCard.js similarity index 96% rename from js/src/ui/DappCard/dappCard.js rename to js-old/src/ui/DappCard/dappCard.js index 0e3f65fccbd70563386cc3632a78ad61f59c1861..cc0faf47d2cf07ed1eb756822c1cfa8444e7dcde 100644 --- a/js/src/ui/DappCard/dappCard.js +++ b/js-old/src/ui/DappCard/dappCard.js @@ -19,7 +19,6 @@ import React, { Component, PropTypes } from 'react'; import Container, { Title as ContainerTitle } from '~/ui/Container'; import DappIcon from '~/ui/DappIcon'; import Tags from '~/ui/Tags'; -import DappVouchFor from '../DappVouchFor'; import styles from './dappCard.css'; @@ -62,7 +61,6 @@ export default class DappCard extends Component { app={ app } className={ styles.image } /> - ), description: ( ) }, @@ -49,13 +49,13 @@ const DEFAULTS = { name: ( ), description: ( ) } diff --git a/js/src/ui/Features/defaults.spec.js b/js-old/src/ui/Features/defaults.spec.js similarity index 100% rename from js/src/ui/Features/defaults.spec.js rename to js-old/src/ui/Features/defaults.spec.js diff --git a/js/src/ui/Features/features.css b/js-old/src/ui/Features/features.css similarity index 100% rename from js/src/ui/Features/features.css rename to js-old/src/ui/Features/features.css diff --git a/js/src/ui/Features/features.js b/js-old/src/ui/Features/features.js similarity index 100% rename from js/src/ui/Features/features.js rename to js-old/src/ui/Features/features.js diff --git a/js/src/ui/Features/features.spec.js b/js-old/src/ui/Features/features.spec.js similarity index 100% rename from js/src/ui/Features/features.spec.js rename to js-old/src/ui/Features/features.spec.js diff --git a/js/src/ui/Features/index.js b/js-old/src/ui/Features/index.js similarity index 100% rename from js/src/ui/Features/index.js rename to js-old/src/ui/Features/index.js diff --git a/js/src/ui/Features/store.js b/js-old/src/ui/Features/store.js similarity index 100% rename from js/src/ui/Features/store.js rename to js-old/src/ui/Features/store.js diff --git a/js/src/ui/Features/store.spec.js b/js-old/src/ui/Features/store.spec.js similarity index 100% rename from js/src/ui/Features/store.spec.js rename to js-old/src/ui/Features/store.spec.js diff --git a/js/src/ui/Form/AddressSelect/addressSelect.css b/js-old/src/ui/Form/AddressSelect/addressSelect.css similarity index 100% rename from js/src/ui/Form/AddressSelect/addressSelect.css rename to js-old/src/ui/Form/AddressSelect/addressSelect.css diff --git a/js/src/ui/Form/AddressSelect/addressSelect.js b/js-old/src/ui/Form/AddressSelect/addressSelect.js similarity index 97% rename from js/src/ui/Form/AddressSelect/addressSelect.js rename to js-old/src/ui/Form/AddressSelect/addressSelect.js index 41e58f19f043f9bbe950488474e32779b42854cf..8a2c6d577693fa26cbe7e40a808e5c6055a16d33 100644 --- a/js/src/ui/Form/AddressSelect/addressSelect.js +++ b/js-old/src/ui/Form/AddressSelect/addressSelect.js @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import { eq } from 'lodash'; import React, { Component, PropTypes } from 'react'; import ReactDOM from 'react-dom'; import { connect } from 'react-redux'; @@ -94,18 +93,6 @@ class AddressSelect extends Component { } componentWillReceiveProps (nextProps) { - if (!eq(Object.keys(this.props.accounts), Object.keys(nextProps.accounts))) { - return this.setValues(nextProps); - } - - if (!eq(Object.keys(this.props.contacts), Object.keys(nextProps.contacts))) { - return this.setValues(nextProps); - } - - if (!eq(Object.keys(this.props.contracts), Object.keys(nextProps.contracts))) { - return this.setValues(nextProps); - } - if (this.store.values && this.store.values.length > 0) { return; } diff --git a/js/src/ui/Form/AddressSelect/addressSelectStore.js b/js-old/src/ui/Form/AddressSelect/addressSelectStore.js similarity index 99% rename from js/src/ui/Form/AddressSelect/addressSelectStore.js rename to js-old/src/ui/Form/AddressSelect/addressSelectStore.js index d897dc9a16d7b5b54d4776de51225bcabe8f3775..7fc1db4802c2ea0157db8e45b5f9679b97dd459c 100644 --- a/js/src/ui/Form/AddressSelect/addressSelectStore.js +++ b/js-old/src/ui/Form/AddressSelect/addressSelectStore.js @@ -165,8 +165,7 @@ export default class AddressSelectStore { const contactsN = Object.keys(contacts).length; if (accountsN + contractsN + contactsN === 0) { - this.initValues = []; - return this.handleChange(); + return; } this.initValues = [ diff --git a/js/src/ui/Form/AddressSelect/index.js b/js-old/src/ui/Form/AddressSelect/index.js similarity index 100% rename from js/src/ui/Form/AddressSelect/index.js rename to js-old/src/ui/Form/AddressSelect/index.js diff --git a/js/src/ui/Form/AutoComplete/autocomplete.css b/js-old/src/ui/Form/AutoComplete/autocomplete.css similarity index 100% rename from js/src/ui/Form/AutoComplete/autocomplete.css rename to js-old/src/ui/Form/AutoComplete/autocomplete.css diff --git a/js/src/ui/Form/AutoComplete/autocomplete.js b/js-old/src/ui/Form/AutoComplete/autocomplete.js similarity index 100% rename from js/src/ui/Form/AutoComplete/autocomplete.js rename to js-old/src/ui/Form/AutoComplete/autocomplete.js diff --git a/js/src/ui/Form/AutoComplete/index.js b/js-old/src/ui/Form/AutoComplete/index.js similarity index 100% rename from js/src/ui/Form/AutoComplete/index.js rename to js-old/src/ui/Form/AutoComplete/index.js diff --git a/js/src/ui/Form/DappUrlInput/dappUrlInput.js b/js-old/src/ui/Form/DappUrlInput/dappUrlInput.js similarity index 100% rename from js/src/ui/Form/DappUrlInput/dappUrlInput.js rename to js-old/src/ui/Form/DappUrlInput/dappUrlInput.js diff --git a/js/src/ui/Form/DappUrlInput/dappUrlInput.spec.js b/js-old/src/ui/Form/DappUrlInput/dappUrlInput.spec.js similarity index 100% rename from js/src/ui/Form/DappUrlInput/dappUrlInput.spec.js rename to js-old/src/ui/Form/DappUrlInput/dappUrlInput.spec.js diff --git a/js/src/ui/Form/DappUrlInput/index.js b/js-old/src/ui/Form/DappUrlInput/index.js similarity index 100% rename from js/src/ui/Form/DappUrlInput/index.js rename to js-old/src/ui/Form/DappUrlInput/index.js diff --git a/js/src/ui/Form/FileSelect/fileSelect.css b/js-old/src/ui/Form/FileSelect/fileSelect.css similarity index 100% rename from js/src/ui/Form/FileSelect/fileSelect.css rename to js-old/src/ui/Form/FileSelect/fileSelect.css diff --git a/js/src/ui/Form/FileSelect/fileSelect.js b/js-old/src/ui/Form/FileSelect/fileSelect.js similarity index 100% rename from js/src/ui/Form/FileSelect/fileSelect.js rename to js-old/src/ui/Form/FileSelect/fileSelect.js diff --git a/js/src/ui/Form/FileSelect/fileSelect.spec.js b/js-old/src/ui/Form/FileSelect/fileSelect.spec.js similarity index 100% rename from js/src/ui/Form/FileSelect/fileSelect.spec.js rename to js-old/src/ui/Form/FileSelect/fileSelect.spec.js diff --git a/js/src/ui/Form/FileSelect/index.js b/js-old/src/ui/Form/FileSelect/index.js similarity index 100% rename from js/src/ui/Form/FileSelect/index.js rename to js-old/src/ui/Form/FileSelect/index.js diff --git a/js/src/ui/Form/FormWrap/formWrap.css b/js-old/src/ui/Form/FormWrap/formWrap.css similarity index 100% rename from js/src/ui/Form/FormWrap/formWrap.css rename to js-old/src/ui/Form/FormWrap/formWrap.css diff --git a/js/src/ui/Form/FormWrap/formWrap.js b/js-old/src/ui/Form/FormWrap/formWrap.js similarity index 100% rename from js/src/ui/Form/FormWrap/formWrap.js rename to js-old/src/ui/Form/FormWrap/formWrap.js diff --git a/js/src/ui/Form/FormWrap/index.js b/js-old/src/ui/Form/FormWrap/index.js similarity index 100% rename from js/src/ui/Form/FormWrap/index.js rename to js-old/src/ui/Form/FormWrap/index.js diff --git a/js/src/ui/Form/Input/index.js b/js-old/src/ui/Form/Input/index.js similarity index 100% rename from js/src/ui/Form/Input/index.js rename to js-old/src/ui/Form/Input/index.js diff --git a/js/src/ui/Form/Input/input.css b/js-old/src/ui/Form/Input/input.css similarity index 100% rename from js/src/ui/Form/Input/input.css rename to js-old/src/ui/Form/Input/input.css diff --git a/js/src/ui/Form/Input/input.js b/js-old/src/ui/Form/Input/input.js similarity index 98% rename from js/src/ui/Form/Input/input.js rename to js-old/src/ui/Form/Input/input.js index 7de17d9f8002c542d23558a57d72d5a3b412cc6a..6eb506dc12829c3ced71c47f86b59c6076e8a9e6 100644 --- a/js/src/ui/Form/Input/input.js +++ b/js-old/src/ui/Form/Input/input.js @@ -18,7 +18,6 @@ import React, { Component, PropTypes } from 'react'; import { TextField } from 'material-ui'; import { noop } from 'lodash'; import keycode from 'keycode'; -import localStore from 'store'; import { nodeOrStringProptype } from '~/util/proptypes'; import { toString } from '~/util/messages'; @@ -224,9 +223,7 @@ export default class Input extends Component { } onChange = (event, value) => { - const isDev = localStore.get('allYourBaseAreBelongToUs') || false; - - if (!this.props.allowPaste && !isDev) { + if (!this.props.allowPaste) { if (value.length - this.state.value.length > 8) { return; } diff --git a/js/src/ui/Form/InputAddress/index.js b/js-old/src/ui/Form/InputAddress/index.js similarity index 100% rename from js/src/ui/Form/InputAddress/index.js rename to js-old/src/ui/Form/InputAddress/index.js diff --git a/js/src/ui/Form/InputAddress/inputAddress.css b/js-old/src/ui/Form/InputAddress/inputAddress.css similarity index 100% rename from js/src/ui/Form/InputAddress/inputAddress.css rename to js-old/src/ui/Form/InputAddress/inputAddress.css diff --git a/js/src/ui/Form/InputAddress/inputAddress.js b/js-old/src/ui/Form/InputAddress/inputAddress.js similarity index 100% rename from js/src/ui/Form/InputAddress/inputAddress.js rename to js-old/src/ui/Form/InputAddress/inputAddress.js diff --git a/js/src/ui/Form/InputAddressSelect/index.js b/js-old/src/ui/Form/InputAddressSelect/index.js similarity index 100% rename from js/src/ui/Form/InputAddressSelect/index.js rename to js-old/src/ui/Form/InputAddressSelect/index.js diff --git a/js/src/ui/Form/InputAddressSelect/inputAddressSelect.js b/js-old/src/ui/Form/InputAddressSelect/inputAddressSelect.js similarity index 69% rename from js/src/ui/Form/InputAddressSelect/inputAddressSelect.js rename to js-old/src/ui/Form/InputAddressSelect/inputAddressSelect.js index 29e7a6fe67efa8f9ec8ffad2f71bf31c30cc3bd4..8199fece66012a873513d202778724fa9754a687 100644 --- a/js/src/ui/Form/InputAddressSelect/inputAddressSelect.js +++ b/js-old/src/ui/Form/InputAddressSelect/inputAddressSelect.js @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import { pick } from 'lodash'; import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; @@ -29,7 +28,6 @@ class InputAddressSelect extends Component { contracts: PropTypes.object.isRequired, allowCopy: PropTypes.bool, - allowedValues: PropTypes.array, className: PropTypes.string, error: nodeOrStringProptype(), hint: nodeOrStringProptype(), @@ -40,33 +38,16 @@ class InputAddressSelect extends Component { }; render () { - const { accounts, allowCopy, allowedValues, className, contacts, contracts, label, hint, error, value, onChange, readOnly } = this.props; - // Add the currently selected value to the list - // of allowed values, if any given - const nextAllowedValues = allowedValues - ? [].concat(allowedValues, value || []) - : null; - - const filteredAccounts = nextAllowedValues - ? pick(accounts, nextAllowedValues) - : accounts; - - const filteredContacts = nextAllowedValues - ? pick(contacts, nextAllowedValues) - : contacts; - - const filteredContracts = nextAllowedValues - ? pick(contracts, nextAllowedValues) - : contracts; + const { accounts, allowCopy, className, contacts, contracts, label, hint, error, value, onChange, readOnly } = this.props; return ( ', `unknown "${param}" param passed to props`); + console.error('', `unkown "${param}" param passed to props`); return null; } @@ -97,7 +97,7 @@ export default class TypedInput extends Component { const { type } = param; if (type === ABI_TYPES.ARRAY) { - const { allowedValues, className, label } = this.props; + const { accounts, className, label } = this.props; const { subtype, length } = param; const value = this.getValue() || param.default; @@ -113,8 +113,8 @@ export default class TypedInput extends Component { return ( - { this.renderConditionRadioButtons() } + + } + onChange={ this.onChangeConditionType } + value={ conditionType } + values={ CONDITION_VALUES } + /> { this.renderConditions() }
@@ -138,35 +148,10 @@ export default class GasPriceEditor extends Component { ); } - renderConditionRadioButtons () { - const { availability } = this.props; - const { conditionType } = this.props.store; - - if (availability !== 'personal') { - return null; - } - - return ( - - } - onChange={ this.onChangeConditionType } - value={ conditionType } - values={ CONDITION_VALUES } - /> - ); - } - renderConditions () { - const { availability } = this.props; const { conditionType, condition, conditionBlockError } = this.props.store; - if (conditionType === CONDITIONS.NONE || availability !== 'personal') { + if (conditionType === CONDITIONS.NONE) { return null; } diff --git a/js/src/ui/GasPriceEditor/gasPriceEditor.spec.js b/js-old/src/ui/GasPriceEditor/gasPriceEditor.spec.js similarity index 100% rename from js/src/ui/GasPriceEditor/gasPriceEditor.spec.js rename to js-old/src/ui/GasPriceEditor/gasPriceEditor.spec.js diff --git a/js/src/ui/GasPriceEditor/index.js b/js-old/src/ui/GasPriceEditor/index.js similarity index 100% rename from js/src/ui/GasPriceEditor/index.js rename to js-old/src/ui/GasPriceEditor/index.js diff --git a/js/src/ui/GasPriceEditor/store.js b/js-old/src/ui/GasPriceEditor/store.js similarity index 100% rename from js/src/ui/GasPriceEditor/store.js rename to js-old/src/ui/GasPriceEditor/store.js diff --git a/js/src/ui/GasPriceEditor/store.spec.js b/js-old/src/ui/GasPriceEditor/store.spec.js similarity index 100% rename from js/src/ui/GasPriceEditor/store.spec.js rename to js-old/src/ui/GasPriceEditor/store.spec.js diff --git a/js/src/ui/GasPriceSelector/CustomBar/customBar.js b/js-old/src/ui/GasPriceSelector/CustomBar/customBar.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomBar/customBar.js rename to js-old/src/ui/GasPriceSelector/CustomBar/customBar.js diff --git a/js/src/ui/GasPriceSelector/CustomBar/index.js b/js-old/src/ui/GasPriceSelector/CustomBar/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomBar/index.js rename to js-old/src/ui/GasPriceSelector/CustomBar/index.js diff --git a/js/src/ui/GasPriceSelector/CustomCursor/customCursor.js b/js-old/src/ui/GasPriceSelector/CustomCursor/customCursor.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomCursor/customCursor.js rename to js-old/src/ui/GasPriceSelector/CustomCursor/customCursor.js diff --git a/js/src/ui/GasPriceSelector/CustomCursor/index.js b/js-old/src/ui/GasPriceSelector/CustomCursor/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomCursor/index.js rename to js-old/src/ui/GasPriceSelector/CustomCursor/index.js diff --git a/js/src/ui/GasPriceSelector/CustomShape/customShape.js b/js-old/src/ui/GasPriceSelector/CustomShape/customShape.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomShape/customShape.js rename to js-old/src/ui/GasPriceSelector/CustomShape/customShape.js diff --git a/js/src/ui/GasPriceSelector/CustomShape/index.js b/js-old/src/ui/GasPriceSelector/CustomShape/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomShape/index.js rename to js-old/src/ui/GasPriceSelector/CustomShape/index.js diff --git a/js/src/ui/GasPriceSelector/CustomTooltip/customTooltip.js b/js-old/src/ui/GasPriceSelector/CustomTooltip/customTooltip.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomTooltip/customTooltip.js rename to js-old/src/ui/GasPriceSelector/CustomTooltip/customTooltip.js diff --git a/js/src/ui/GasPriceSelector/CustomTooltip/index.js b/js-old/src/ui/GasPriceSelector/CustomTooltip/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomTooltip/index.js rename to js-old/src/ui/GasPriceSelector/CustomTooltip/index.js diff --git a/js/src/ui/GasPriceSelector/gasPriceSelector.css b/js-old/src/ui/GasPriceSelector/gasPriceSelector.css similarity index 100% rename from js/src/ui/GasPriceSelector/gasPriceSelector.css rename to js-old/src/ui/GasPriceSelector/gasPriceSelector.css diff --git a/js/src/ui/GasPriceSelector/gasPriceSelector.js b/js-old/src/ui/GasPriceSelector/gasPriceSelector.js similarity index 100% rename from js/src/ui/GasPriceSelector/gasPriceSelector.js rename to js-old/src/ui/GasPriceSelector/gasPriceSelector.js diff --git a/js/src/ui/GasPriceSelector/index.js b/js-old/src/ui/GasPriceSelector/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/index.js rename to js-old/src/ui/GasPriceSelector/index.js diff --git a/js/src/ui/GasPriceSelector/util.js b/js-old/src/ui/GasPriceSelector/util.js similarity index 100% rename from js/src/ui/GasPriceSelector/util.js rename to js-old/src/ui/GasPriceSelector/util.js diff --git a/js/src/ui/Icons/index.js b/js-old/src/ui/Icons/index.js similarity index 100% rename from js/src/ui/Icons/index.js rename to js-old/src/ui/Icons/index.js diff --git a/js/src/ui/Icons/index.spec.js b/js-old/src/ui/Icons/index.spec.js similarity index 100% rename from js/src/ui/Icons/index.spec.js rename to js-old/src/ui/Icons/index.spec.js diff --git a/js/src/ui/IdentityIcon/identityIcon.css b/js-old/src/ui/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/ui/IdentityIcon/identityIcon.css rename to js-old/src/ui/IdentityIcon/identityIcon.css diff --git a/js/src/ui/IdentityIcon/identityIcon.js b/js-old/src/ui/IdentityIcon/identityIcon.js similarity index 95% rename from js/src/ui/IdentityIcon/identityIcon.js rename to js-old/src/ui/IdentityIcon/identityIcon.js index 0d31b6bb53d6d08f57739f0ed190b58d0c67a8a6..3db1bc763102244a76931ceed2218f28f7cd6eec 100644 --- a/js/src/ui/IdentityIcon/identityIcon.js +++ b/js-old/src/ui/IdentityIcon/identityIcon.js @@ -30,7 +30,6 @@ class IdentityIcon extends Component { static propTypes = { address: PropTypes.string, - alt: PropTypes.string, button: PropTypes.bool, center: PropTypes.bool, className: PropTypes.string, @@ -85,7 +84,7 @@ class IdentityIcon extends Component { } render () { - const { address, alt, button, className, center, disabled, inline, padded, tiny } = this.props; + const { address, button, className, center, disabled, inline, padded, tiny } = this.props; const { iconsrc } = this.state; const classes = [ styles.icon, @@ -136,7 +135,6 @@ class IdentityIcon extends Component { return ( { } value={ this.store.locale } diff --git a/js/src/ui/LanguageSelector/langugeSelector.spec.js b/js-old/src/ui/LanguageSelector/langugeSelector.spec.js similarity index 100% rename from js/src/ui/LanguageSelector/langugeSelector.spec.js rename to js-old/src/ui/LanguageSelector/langugeSelector.spec.js diff --git a/js/src/ui/Loading/index.js b/js-old/src/ui/Loading/index.js similarity index 100% rename from js/src/ui/Loading/index.js rename to js-old/src/ui/Loading/index.js diff --git a/js/src/ui/Loading/loading.css b/js-old/src/ui/Loading/loading.css similarity index 100% rename from js/src/ui/Loading/loading.css rename to js-old/src/ui/Loading/loading.css diff --git a/js/src/ui/Loading/loading.js b/js-old/src/ui/Loading/loading.js similarity index 100% rename from js/src/ui/Loading/loading.js rename to js-old/src/ui/Loading/loading.js diff --git a/js/src/ui/MethodDecoding/index.js b/js-old/src/ui/MethodDecoding/index.js similarity index 100% rename from js/src/ui/MethodDecoding/index.js rename to js-old/src/ui/MethodDecoding/index.js diff --git a/js/src/ui/MethodDecoding/methodDecoding.css b/js-old/src/ui/MethodDecoding/methodDecoding.css similarity index 100% rename from js/src/ui/MethodDecoding/methodDecoding.css rename to js-old/src/ui/MethodDecoding/methodDecoding.css diff --git a/js/src/ui/MethodDecoding/methodDecoding.js b/js-old/src/ui/MethodDecoding/methodDecoding.js similarity index 99% rename from js/src/ui/MethodDecoding/methodDecoding.js rename to js-old/src/ui/MethodDecoding/methodDecoding.js index 711e51ad916b8a1464f0ba084030f88a88cf9a9a..eb42a8bfff0303a9ae14fe31ef230d013971e693 100644 --- a/js/src/ui/MethodDecoding/methodDecoding.js +++ b/js-old/src/ui/MethodDecoding/methodDecoding.js @@ -23,7 +23,6 @@ import { connect } from 'react-redux'; import { TypedInput, InputAddress } from '../Form'; import MethodDecodingStore from './methodDecodingStore'; -import TokenValue from './tokenValue'; import styles from './methodDecoding.css'; @@ -603,10 +602,9 @@ class MethodDecoding extends Component { const { token } = this.props; return ( - + + { value.div(token.format).toFormat(5) } { token.tag } + ); } diff --git a/js/src/ui/MethodDecoding/methodDecodingStore.js b/js-old/src/ui/MethodDecoding/methodDecodingStore.js similarity index 100% rename from js/src/ui/MethodDecoding/methodDecodingStore.js rename to js-old/src/ui/MethodDecoding/methodDecodingStore.js diff --git a/js/src/ui/Modal/Busy/busy.css b/js-old/src/ui/Modal/Busy/busy.css similarity index 100% rename from js/src/ui/Modal/Busy/busy.css rename to js-old/src/ui/Modal/Busy/busy.css diff --git a/js/src/ui/Modal/Busy/busy.js b/js-old/src/ui/Modal/Busy/busy.js similarity index 100% rename from js/src/ui/Modal/Busy/busy.js rename to js-old/src/ui/Modal/Busy/busy.js diff --git a/js/src/ui/Modal/Busy/index.js b/js-old/src/ui/Modal/Busy/index.js similarity index 100% rename from js/src/ui/Modal/Busy/index.js rename to js-old/src/ui/Modal/Busy/index.js diff --git a/js/src/ui/Modal/Completed/completed.css b/js-old/src/ui/Modal/Completed/completed.css similarity index 100% rename from js/src/ui/Modal/Completed/completed.css rename to js-old/src/ui/Modal/Completed/completed.css diff --git a/js/src/ui/Modal/Completed/completed.js b/js-old/src/ui/Modal/Completed/completed.js similarity index 100% rename from js/src/ui/Modal/Completed/completed.js rename to js-old/src/ui/Modal/Completed/completed.js diff --git a/js/src/ui/Modal/Completed/index.js b/js-old/src/ui/Modal/Completed/index.js similarity index 100% rename from js/src/ui/Modal/Completed/index.js rename to js-old/src/ui/Modal/Completed/index.js diff --git a/js/src/ui/Modal/index.js b/js-old/src/ui/Modal/index.js similarity index 100% rename from js/src/ui/Modal/index.js rename to js-old/src/ui/Modal/index.js diff --git a/js/src/ui/ModalBox/body.js b/js-old/src/ui/ModalBox/body.js similarity index 100% rename from js/src/ui/ModalBox/body.js rename to js-old/src/ui/ModalBox/body.js diff --git a/js/src/ui/ModalBox/index.js b/js-old/src/ui/ModalBox/index.js similarity index 100% rename from js/src/ui/ModalBox/index.js rename to js-old/src/ui/ModalBox/index.js diff --git a/js/src/ui/ModalBox/modalBox.css b/js-old/src/ui/ModalBox/modalBox.css similarity index 100% rename from js/src/ui/ModalBox/modalBox.css rename to js-old/src/ui/ModalBox/modalBox.css diff --git a/js/src/ui/ModalBox/modalBox.js b/js-old/src/ui/ModalBox/modalBox.js similarity index 100% rename from js/src/ui/ModalBox/modalBox.js rename to js-old/src/ui/ModalBox/modalBox.js diff --git a/js/src/ui/ModalBox/modalBox.spec.js b/js-old/src/ui/ModalBox/modalBox.spec.js similarity index 100% rename from js/src/ui/ModalBox/modalBox.spec.js rename to js-old/src/ui/ModalBox/modalBox.spec.js diff --git a/js/src/ui/ModalBox/summary.js b/js-old/src/ui/ModalBox/summary.js similarity index 100% rename from js/src/ui/ModalBox/summary.js rename to js-old/src/ui/ModalBox/summary.js diff --git a/js/src/ui/Page/index.js b/js-old/src/ui/Page/index.js similarity index 100% rename from js/src/ui/Page/index.js rename to js-old/src/ui/Page/index.js diff --git a/js/src/ui/Page/page.css b/js-old/src/ui/Page/page.css similarity index 100% rename from js/src/ui/Page/page.css rename to js-old/src/ui/Page/page.css diff --git a/js/src/ui/Page/page.js b/js-old/src/ui/Page/page.js similarity index 100% rename from js/src/ui/Page/page.js rename to js-old/src/ui/Page/page.js diff --git a/js/src/ui/Page/page.spec.js b/js-old/src/ui/Page/page.spec.js similarity index 100% rename from js/src/ui/Page/page.spec.js rename to js-old/src/ui/Page/page.spec.js diff --git a/js/src/ui/ParityBackground/index.js b/js-old/src/ui/ParityBackground/index.js similarity index 100% rename from js/src/ui/ParityBackground/index.js rename to js-old/src/ui/ParityBackground/index.js diff --git a/js/src/ui/ParityBackground/parityBackground.js b/js-old/src/ui/ParityBackground/parityBackground.js similarity index 100% rename from js/src/ui/ParityBackground/parityBackground.js rename to js-old/src/ui/ParityBackground/parityBackground.js diff --git a/js/src/ui/Portal/index.js b/js-old/src/ui/Portal/index.js similarity index 100% rename from js/src/ui/Portal/index.js rename to js-old/src/ui/Portal/index.js diff --git a/js/src/ui/Portal/portal.css b/js-old/src/ui/Portal/portal.css similarity index 100% rename from js/src/ui/Portal/portal.css rename to js-old/src/ui/Portal/portal.css diff --git a/js/src/ui/Portal/portal.example.js b/js-old/src/ui/Portal/portal.example.js similarity index 100% rename from js/src/ui/Portal/portal.example.js rename to js-old/src/ui/Portal/portal.example.js diff --git a/js/src/ui/Portal/portal.js b/js-old/src/ui/Portal/portal.js similarity index 100% rename from js/src/ui/Portal/portal.js rename to js-old/src/ui/Portal/portal.js diff --git a/js/src/ui/Portal/portal.spec.js b/js-old/src/ui/Portal/portal.spec.js similarity index 100% rename from js/src/ui/Portal/portal.spec.js rename to js-old/src/ui/Portal/portal.spec.js diff --git a/js/src/ui/QrCode/index.js b/js-old/src/ui/QrCode/index.js similarity index 100% rename from js/src/ui/QrCode/index.js rename to js-old/src/ui/QrCode/index.js diff --git a/js/src/ui/QrCode/qrCode.css b/js-old/src/ui/QrCode/qrCode.css similarity index 100% rename from js/src/ui/QrCode/qrCode.css rename to js-old/src/ui/QrCode/qrCode.css diff --git a/js/src/ui/QrCode/qrCode.example.js b/js-old/src/ui/QrCode/qrCode.example.js similarity index 100% rename from js/src/ui/QrCode/qrCode.example.js rename to js-old/src/ui/QrCode/qrCode.example.js diff --git a/js/src/ui/QrCode/qrCode.js b/js-old/src/ui/QrCode/qrCode.js similarity index 100% rename from js/src/ui/QrCode/qrCode.js rename to js-old/src/ui/QrCode/qrCode.js diff --git a/js/src/ui/QrCode/qrCode.spec.js b/js-old/src/ui/QrCode/qrCode.spec.js similarity index 100% rename from js/src/ui/QrCode/qrCode.spec.js rename to js-old/src/ui/QrCode/qrCode.spec.js diff --git a/js/src/ui/QrCode/qrSize.js b/js-old/src/ui/QrCode/qrSize.js similarity index 100% rename from js/src/ui/QrCode/qrSize.js rename to js-old/src/ui/QrCode/qrSize.js diff --git a/js/src/ui/QrScan/index.js b/js-old/src/ui/QrScan/index.js similarity index 100% rename from js/src/ui/QrScan/index.js rename to js-old/src/ui/QrScan/index.js diff --git a/js/src/ui/QrScan/qrScan.css b/js-old/src/ui/QrScan/qrScan.css similarity index 100% rename from js/src/ui/QrScan/qrScan.css rename to js-old/src/ui/QrScan/qrScan.css diff --git a/js/src/ui/QrScan/qrScan.js b/js-old/src/ui/QrScan/qrScan.js similarity index 100% rename from js/src/ui/QrScan/qrScan.js rename to js-old/src/ui/QrScan/qrScan.js diff --git a/js/src/ui/QrScan/qrScan.spec.js b/js-old/src/ui/QrScan/qrScan.spec.js similarity index 100% rename from js/src/ui/QrScan/qrScan.spec.js rename to js-old/src/ui/QrScan/qrScan.spec.js diff --git a/js/src/ui/ScrollableText/index.js b/js-old/src/ui/ScrollableText/index.js similarity index 100% rename from js/src/ui/ScrollableText/index.js rename to js-old/src/ui/ScrollableText/index.js diff --git a/js/src/ui/ScrollableText/scrollableText.css b/js-old/src/ui/ScrollableText/scrollableText.css similarity index 100% rename from js/src/ui/ScrollableText/scrollableText.css rename to js-old/src/ui/ScrollableText/scrollableText.css diff --git a/js/src/ui/ScrollableText/scrollableText.js b/js-old/src/ui/ScrollableText/scrollableText.js similarity index 100% rename from js/src/ui/ScrollableText/scrollableText.js rename to js-old/src/ui/ScrollableText/scrollableText.js diff --git a/js/src/ui/SectionList/index.js b/js-old/src/ui/SectionList/index.js similarity index 100% rename from js/src/ui/SectionList/index.js rename to js-old/src/ui/SectionList/index.js diff --git a/js/src/ui/SectionList/sectionList.css b/js-old/src/ui/SectionList/sectionList.css similarity index 100% rename from js/src/ui/SectionList/sectionList.css rename to js-old/src/ui/SectionList/sectionList.css diff --git a/js/src/ui/SectionList/sectionList.example.js b/js-old/src/ui/SectionList/sectionList.example.js similarity index 100% rename from js/src/ui/SectionList/sectionList.example.js rename to js-old/src/ui/SectionList/sectionList.example.js diff --git a/js/src/ui/SectionList/sectionList.js b/js-old/src/ui/SectionList/sectionList.js similarity index 100% rename from js/src/ui/SectionList/sectionList.js rename to js-old/src/ui/SectionList/sectionList.js diff --git a/js/src/ui/SectionList/sectionList.spec.js b/js-old/src/ui/SectionList/sectionList.spec.js similarity index 100% rename from js/src/ui/SectionList/sectionList.spec.js rename to js-old/src/ui/SectionList/sectionList.spec.js diff --git a/js/src/ui/SelectionList/index.js b/js-old/src/ui/SelectionList/index.js similarity index 100% rename from js/src/ui/SelectionList/index.js rename to js-old/src/ui/SelectionList/index.js diff --git a/js/src/ui/SelectionList/selectionList.css b/js-old/src/ui/SelectionList/selectionList.css similarity index 98% rename from js/src/ui/SelectionList/selectionList.css rename to js-old/src/ui/SelectionList/selectionList.css index 73721e54ac876bd998c73a18915505f6a402f1cf..b6e6b05f9fddc23a8d3102e2a6d2a8678d883172 100644 --- a/js/src/ui/SelectionList/selectionList.css +++ b/js-old/src/ui/SelectionList/selectionList.css @@ -22,7 +22,6 @@ height: 100%; position: relative; width: 100%; - max-width: 100%; &:hover { filter: none; diff --git a/js/src/ui/SelectionList/selectionList.js b/js-old/src/ui/SelectionList/selectionList.js similarity index 100% rename from js/src/ui/SelectionList/selectionList.js rename to js-old/src/ui/SelectionList/selectionList.js diff --git a/js/src/ui/SelectionList/selectionList.spec.js b/js-old/src/ui/SelectionList/selectionList.spec.js similarity index 100% rename from js/src/ui/SelectionList/selectionList.spec.js rename to js-old/src/ui/SelectionList/selectionList.spec.js diff --git a/js/src/ui/ShortenedHash/index.js b/js-old/src/ui/ShortenedHash/index.js similarity index 100% rename from js/src/ui/ShortenedHash/index.js rename to js-old/src/ui/ShortenedHash/index.js diff --git a/js/src/ui/ShortenedHash/shortenedHash.css b/js-old/src/ui/ShortenedHash/shortenedHash.css similarity index 100% rename from js/src/ui/ShortenedHash/shortenedHash.css rename to js-old/src/ui/ShortenedHash/shortenedHash.css diff --git a/js/src/ui/ShortenedHash/shortenedHash.js b/js-old/src/ui/ShortenedHash/shortenedHash.js similarity index 100% rename from js/src/ui/ShortenedHash/shortenedHash.js rename to js-old/src/ui/ShortenedHash/shortenedHash.js diff --git a/js/src/ui/SignerIcon/index.js b/js-old/src/ui/SignerIcon/index.js similarity index 100% rename from js/src/ui/SignerIcon/index.js rename to js-old/src/ui/SignerIcon/index.js diff --git a/js/src/ui/SignerIcon/signerIcon.js b/js-old/src/ui/SignerIcon/signerIcon.js similarity index 100% rename from js/src/ui/SignerIcon/signerIcon.js rename to js-old/src/ui/SignerIcon/signerIcon.js diff --git a/js/src/ui/StackEventListener/index.js b/js-old/src/ui/StackEventListener/index.js similarity index 100% rename from js/src/ui/StackEventListener/index.js rename to js-old/src/ui/StackEventListener/index.js diff --git a/js/src/ui/StackEventListener/stackEventListener.js b/js-old/src/ui/StackEventListener/stackEventListener.js similarity index 100% rename from js/src/ui/StackEventListener/stackEventListener.js rename to js-old/src/ui/StackEventListener/stackEventListener.js diff --git a/js/src/ui/StatusIndicator/index.js b/js-old/src/ui/StatusIndicator/index.js similarity index 100% rename from js/src/ui/StatusIndicator/index.js rename to js-old/src/ui/StatusIndicator/index.js diff --git a/js/src/ui/StatusIndicator/statusIndicator.css b/js-old/src/ui/StatusIndicator/statusIndicator.css similarity index 100% rename from js/src/ui/StatusIndicator/statusIndicator.css rename to js-old/src/ui/StatusIndicator/statusIndicator.css diff --git a/js/src/ui/StatusIndicator/statusIndicator.js b/js-old/src/ui/StatusIndicator/statusIndicator.js similarity index 100% rename from js/src/ui/StatusIndicator/statusIndicator.js rename to js-old/src/ui/StatusIndicator/statusIndicator.js diff --git a/js/src/ui/Tags/index.js b/js-old/src/ui/Tags/index.js similarity index 100% rename from js/src/ui/Tags/index.js rename to js-old/src/ui/Tags/index.js diff --git a/js/src/ui/Tags/tags.css b/js-old/src/ui/Tags/tags.css similarity index 100% rename from js/src/ui/Tags/tags.css rename to js-old/src/ui/Tags/tags.css diff --git a/js/src/ui/Tags/tags.js b/js-old/src/ui/Tags/tags.js similarity index 100% rename from js/src/ui/Tags/tags.js rename to js-old/src/ui/Tags/tags.js diff --git a/js/src/ui/Theme/index.js b/js-old/src/ui/Theme/index.js similarity index 100% rename from js/src/ui/Theme/index.js rename to js-old/src/ui/Theme/index.js diff --git a/js/src/ui/Theme/theme.js b/js-old/src/ui/Theme/theme.js similarity index 100% rename from js/src/ui/Theme/theme.js rename to js-old/src/ui/Theme/theme.js diff --git a/js/src/ui/Theme/theme.spec.js b/js-old/src/ui/Theme/theme.spec.js similarity index 100% rename from js/src/ui/Theme/theme.spec.js rename to js-old/src/ui/Theme/theme.spec.js diff --git a/js/src/ui/Title/index.js b/js-old/src/ui/Title/index.js similarity index 100% rename from js/src/ui/Title/index.js rename to js-old/src/ui/Title/index.js diff --git a/js/src/ui/Title/title.css b/js-old/src/ui/Title/title.css similarity index 100% rename from js/src/ui/Title/title.css rename to js-old/src/ui/Title/title.css diff --git a/js/src/ui/Title/title.js b/js-old/src/ui/Title/title.js similarity index 100% rename from js/src/ui/Title/title.js rename to js-old/src/ui/Title/title.js diff --git a/js/src/ui/Title/title.spec.js b/js-old/src/ui/Title/title.spec.js similarity index 100% rename from js/src/ui/Title/title.spec.js rename to js-old/src/ui/Title/title.spec.js diff --git a/js/src/ui/TokenImage/index.js b/js-old/src/ui/TokenImage/index.js similarity index 100% rename from js/src/ui/TokenImage/index.js rename to js-old/src/ui/TokenImage/index.js diff --git a/js/src/ui/TokenImage/tokenImage.js b/js-old/src/ui/TokenImage/tokenImage.js similarity index 100% rename from js/src/ui/TokenImage/tokenImage.js rename to js-old/src/ui/TokenImage/tokenImage.js diff --git a/js/src/ui/Tooltips/Tooltip/index.js b/js-old/src/ui/Tooltips/Tooltip/index.js similarity index 100% rename from js/src/ui/Tooltips/Tooltip/index.js rename to js-old/src/ui/Tooltips/Tooltip/index.js diff --git a/js/src/ui/Tooltips/Tooltip/tooltip.js b/js-old/src/ui/Tooltips/Tooltip/tooltip.js similarity index 100% rename from js/src/ui/Tooltips/Tooltip/tooltip.js rename to js-old/src/ui/Tooltips/Tooltip/tooltip.js diff --git a/js/src/ui/Tooltips/Tooltip/tooltip.spec.js b/js-old/src/ui/Tooltips/Tooltip/tooltip.spec.js similarity index 100% rename from js/src/ui/Tooltips/Tooltip/tooltip.spec.js rename to js-old/src/ui/Tooltips/Tooltip/tooltip.spec.js diff --git a/js/src/ui/Tooltips/actions.js b/js-old/src/ui/Tooltips/actions.js similarity index 100% rename from js/src/ui/Tooltips/actions.js rename to js-old/src/ui/Tooltips/actions.js diff --git a/js/src/ui/Tooltips/index.js b/js-old/src/ui/Tooltips/index.js similarity index 100% rename from js/src/ui/Tooltips/index.js rename to js-old/src/ui/Tooltips/index.js diff --git a/js/src/ui/Tooltips/reducers.js b/js-old/src/ui/Tooltips/reducers.js similarity index 100% rename from js/src/ui/Tooltips/reducers.js rename to js-old/src/ui/Tooltips/reducers.js diff --git a/js/src/ui/Tooltips/tooltips.css b/js-old/src/ui/Tooltips/tooltips.css similarity index 100% rename from js/src/ui/Tooltips/tooltips.css rename to js-old/src/ui/Tooltips/tooltips.css diff --git a/js/src/ui/Tooltips/tooltips.js b/js-old/src/ui/Tooltips/tooltips.js similarity index 100% rename from js/src/ui/Tooltips/tooltips.js rename to js-old/src/ui/Tooltips/tooltips.js diff --git a/js/src/ui/Tooltips/tooltips.spec.js b/js-old/src/ui/Tooltips/tooltips.spec.js similarity index 100% rename from js/src/ui/Tooltips/tooltips.spec.js rename to js-old/src/ui/Tooltips/tooltips.spec.js diff --git a/js/src/ui/TxHash/index.js b/js-old/src/ui/TxHash/index.js similarity index 100% rename from js/src/ui/TxHash/index.js rename to js-old/src/ui/TxHash/index.js diff --git a/js/src/ui/TxHash/txHash.css b/js-old/src/ui/TxHash/txHash.css similarity index 100% rename from js/src/ui/TxHash/txHash.css rename to js-old/src/ui/TxHash/txHash.css diff --git a/js/src/ui/TxHash/txHash.js b/js-old/src/ui/TxHash/txHash.js similarity index 100% rename from js/src/ui/TxHash/txHash.js rename to js-old/src/ui/TxHash/txHash.js diff --git a/js/src/ui/TxHash/txHash.spec.js b/js-old/src/ui/TxHash/txHash.spec.js similarity index 100% rename from js/src/ui/TxHash/txHash.spec.js rename to js-old/src/ui/TxHash/txHash.spec.js diff --git a/js/src/ui/TxList/TxRow/index.js b/js-old/src/ui/TxList/TxRow/index.js similarity index 100% rename from js/src/ui/TxList/TxRow/index.js rename to js-old/src/ui/TxList/TxRow/index.js diff --git a/js/src/ui/TxList/TxRow/txRow.js b/js-old/src/ui/TxList/TxRow/txRow.js similarity index 99% rename from js/src/ui/TxList/TxRow/txRow.js rename to js-old/src/ui/TxList/TxRow/txRow.js index fc40fc596905b40dba7a28fde33e8eb88a4b15cb..a28736ddbd7a04714bee5b77d5a8546cceb7a282 100644 --- a/js/src/ui/TxList/TxRow/txRow.js +++ b/js-old/src/ui/TxList/TxRow/txRow.js @@ -291,7 +291,7 @@ class TxRow extends Component {
diff --git a/js/src/ui/TxList/TxRow/txRow.spec.js b/js-old/src/ui/TxList/TxRow/txRow.spec.js similarity index 98% rename from js/src/ui/TxList/TxRow/txRow.spec.js rename to js-old/src/ui/TxList/TxRow/txRow.spec.js index 6f92d1faab5c2c2bc568eeae2e7799ad20a52e20..9ff5ffbe312d95aee88b273d6bdf8c81b230f54a 100644 --- a/js/src/ui/TxList/TxRow/txRow.spec.js +++ b/js-old/src/ui/TxList/TxRow/txRow.spec.js @@ -23,7 +23,7 @@ import Api from '~/api'; import TxRow from './txRow'; -const api = new Api({ execute: sinon.stub(), on: sinon.stub() }); +const api = new Api({ execute: sinon.stub() }); const STORE = { dispatch: sinon.stub(), diff --git a/js/src/ui/TxList/index.js b/js-old/src/ui/TxList/index.js similarity index 100% rename from js/src/ui/TxList/index.js rename to js-old/src/ui/TxList/index.js diff --git a/js/src/ui/TxList/store.js b/js-old/src/ui/TxList/store.js similarity index 100% rename from js/src/ui/TxList/store.js rename to js-old/src/ui/TxList/store.js diff --git a/js/src/ui/TxList/store.spec.js b/js-old/src/ui/TxList/store.spec.js similarity index 100% rename from js/src/ui/TxList/store.spec.js rename to js-old/src/ui/TxList/store.spec.js diff --git a/js/src/ui/TxList/txList.css b/js-old/src/ui/TxList/txList.css similarity index 100% rename from js/src/ui/TxList/txList.css rename to js-old/src/ui/TxList/txList.css diff --git a/js/src/ui/TxList/txList.js b/js-old/src/ui/TxList/txList.js similarity index 100% rename from js/src/ui/TxList/txList.js rename to js-old/src/ui/TxList/txList.js diff --git a/js/src/ui/TxList/txList.spec.js b/js-old/src/ui/TxList/txList.spec.js similarity index 95% rename from js/src/ui/TxList/txList.spec.js rename to js-old/src/ui/TxList/txList.spec.js index 080ec1bb90ea215e844c4292f877954884304811..58a5237ac6a61bb8f4ea7af983953156af733abc 100644 --- a/js/src/ui/TxList/txList.spec.js +++ b/js-old/src/ui/TxList/txList.spec.js @@ -22,7 +22,7 @@ import Api from '~/api'; import TxList from './txList'; -const api = new Api({ execute: sinon.stub(), on: sinon.stub() }); +const api = new Api({ execute: sinon.stub() }); const STORE = { dispatch: sinon.stub(), diff --git a/js/src/ui/VaultCard/Layout/index.js b/js-old/src/ui/VaultCard/Layout/index.js similarity index 100% rename from js/src/ui/VaultCard/Layout/index.js rename to js-old/src/ui/VaultCard/Layout/index.js diff --git a/js/src/ui/VaultCard/Layout/layout.css b/js-old/src/ui/VaultCard/Layout/layout.css similarity index 100% rename from js/src/ui/VaultCard/Layout/layout.css rename to js-old/src/ui/VaultCard/Layout/layout.css diff --git a/js/src/ui/VaultCard/Layout/layout.js b/js-old/src/ui/VaultCard/Layout/layout.js similarity index 100% rename from js/src/ui/VaultCard/Layout/layout.js rename to js-old/src/ui/VaultCard/Layout/layout.js diff --git a/js/src/ui/VaultCard/Layout/layout.spec.js b/js-old/src/ui/VaultCard/Layout/layout.spec.js similarity index 100% rename from js/src/ui/VaultCard/Layout/layout.spec.js rename to js-old/src/ui/VaultCard/Layout/layout.spec.js diff --git a/js/src/ui/VaultCard/index.js b/js-old/src/ui/VaultCard/index.js similarity index 100% rename from js/src/ui/VaultCard/index.js rename to js-old/src/ui/VaultCard/index.js diff --git a/js/src/ui/VaultCard/vaultCard.css b/js-old/src/ui/VaultCard/vaultCard.css similarity index 100% rename from js/src/ui/VaultCard/vaultCard.css rename to js-old/src/ui/VaultCard/vaultCard.css diff --git a/js/src/ui/VaultCard/vaultCard.js b/js-old/src/ui/VaultCard/vaultCard.js similarity index 100% rename from js/src/ui/VaultCard/vaultCard.js rename to js-old/src/ui/VaultCard/vaultCard.js diff --git a/js/src/ui/VaultCard/vaultCard.spec.js b/js-old/src/ui/VaultCard/vaultCard.spec.js similarity index 100% rename from js/src/ui/VaultCard/vaultCard.spec.js rename to js-old/src/ui/VaultCard/vaultCard.spec.js diff --git a/js/src/ui/VaultTag/index.js b/js-old/src/ui/VaultTag/index.js similarity index 100% rename from js/src/ui/VaultTag/index.js rename to js-old/src/ui/VaultTag/index.js diff --git a/js/src/ui/VaultTag/vaultTag.css b/js-old/src/ui/VaultTag/vaultTag.css similarity index 100% rename from js/src/ui/VaultTag/vaultTag.css rename to js-old/src/ui/VaultTag/vaultTag.css diff --git a/js/src/ui/VaultTag/vaultTag.js b/js-old/src/ui/VaultTag/vaultTag.js similarity index 100% rename from js/src/ui/VaultTag/vaultTag.js rename to js-old/src/ui/VaultTag/vaultTag.js diff --git a/js/src/ui/Warning/index.js b/js-old/src/ui/Warning/index.js similarity index 100% rename from js/src/ui/Warning/index.js rename to js-old/src/ui/Warning/index.js diff --git a/js/src/ui/Warning/warning.css b/js-old/src/ui/Warning/warning.css similarity index 100% rename from js/src/ui/Warning/warning.css rename to js-old/src/ui/Warning/warning.css diff --git a/js/src/ui/Warning/warning.js b/js-old/src/ui/Warning/warning.js similarity index 100% rename from js/src/ui/Warning/warning.js rename to js-old/src/ui/Warning/warning.js diff --git a/js/src/ui/index.js b/js-old/src/ui/index.js similarity index 100% rename from js/src/ui/index.js rename to js-old/src/ui/index.js diff --git a/js/src/util/abi.js b/js-old/src/util/abi.js similarity index 100% rename from js/src/util/abi.js rename to js-old/src/util/abi.js diff --git a/js/src/util/array.js b/js-old/src/util/array.js similarity index 100% rename from js/src/util/array.js rename to js-old/src/util/array.js diff --git a/js/src/util/array.spec.js b/js-old/src/util/array.spec.js similarity index 100% rename from js/src/util/array.spec.js rename to js-old/src/util/array.spec.js diff --git a/js/src/util/constants.js b/js-old/src/util/constants.js similarity index 100% rename from js/src/util/constants.js rename to js-old/src/util/constants.js diff --git a/js/src/util/dapplink.js b/js-old/src/util/dapplink.js similarity index 100% rename from js/src/util/dapplink.js rename to js-old/src/util/dapplink.js diff --git a/js/src/util/dapplink.spec.js b/js-old/src/util/dapplink.spec.js similarity index 100% rename from js/src/util/dapplink.spec.js rename to js-old/src/util/dapplink.spec.js diff --git a/js/src/util/dapps.js b/js-old/src/util/dapps.js similarity index 100% rename from js/src/util/dapps.js rename to js-old/src/util/dapps.js diff --git a/js/src/util/messages.js b/js-old/src/util/messages.js similarity index 100% rename from js/src/util/messages.js rename to js-old/src/util/messages.js diff --git a/js/src/util/notifications.js b/js-old/src/util/notifications.js similarity index 93% rename from js/src/util/notifications.js rename to js-old/src/util/notifications.js index d153b2ccefc4f50f6924ec8c6a1f70f3dfc1a9f0..74732cac25cf21dc6af73646438dfa6037b35471 100644 --- a/js/src/util/notifications.js +++ b/js-old/src/util/notifications.js @@ -17,12 +17,12 @@ import Push from 'push.js'; import BigNumber from 'bignumber.js'; -import unknownIcon from '~/../assets/images/contracts/unknown-64x64.png'; +import unkownIcon from '~/../assets/images/contracts/unknown-64x64.png'; export function notifyTransaction (account, token, _value, onClick) { const name = account.name || account.address; const value = _value.div(new BigNumber(token.format || 1)); - const icon = token.image || unknownIcon; + const icon = token.image || unkownIcon; let _notification = null; diff --git a/js/src/util/proptypes.js b/js-old/src/util/proptypes.js similarity index 100% rename from js/src/util/proptypes.js rename to js-old/src/util/proptypes.js diff --git a/js/src/util/qrscan.js b/js-old/src/util/qrscan.js similarity index 100% rename from js/src/util/qrscan.js rename to js-old/src/util/qrscan.js diff --git a/js/src/util/signer.js b/js-old/src/util/signer.js similarity index 100% rename from js/src/util/signer.js rename to js-old/src/util/signer.js diff --git a/js/src/util/solidity.js b/js-old/src/util/solidity.js similarity index 100% rename from js/src/util/solidity.js rename to js-old/src/util/solidity.js diff --git a/js/src/util/subscribe-to-events.js b/js-old/src/util/subscribe-to-events.js similarity index 100% rename from js/src/util/subscribe-to-events.js rename to js-old/src/util/subscribe-to-events.js diff --git a/js/src/util/subscribe-to-events.spec.js b/js-old/src/util/subscribe-to-events.spec.js similarity index 100% rename from js/src/util/subscribe-to-events.spec.js rename to js-old/src/util/subscribe-to-events.spec.js diff --git a/js/src/util/subscribe-to-events.test.js b/js-old/src/util/subscribe-to-events.test.js similarity index 100% rename from js/src/util/subscribe-to-events.test.js rename to js-old/src/util/subscribe-to-events.test.js diff --git a/js-old/src/util/tokens.js b/js-old/src/util/tokens.js new file mode 100644 index 0000000000000000000000000000000000000000..63e6e9f02d6e4e84f1dc6193fe9fe947b3811419 --- /dev/null +++ b/js-old/src/util/tokens.js @@ -0,0 +1,133 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import { range } from 'lodash'; +import BigNumber from 'bignumber.js'; + +import { hashToImageUrl } from '~/redux/util'; +import { sha3 } from '~/api/util/sha3'; +import imagesEthereum from '~/../assets/images/contracts/ethereum-black-64x64.png'; + +const BALANCEOF_SIGNATURE = sha3('balanceOf(address)'); +const ADDRESS_PADDING = range(24).map(() => '0').join(''); + +export const ETH_TOKEN = { + address: '', + format: new BigNumber(10).pow(18), + id: sha3('eth_native_token').slice(0, 10), + image: imagesEthereum, + name: 'Ethereum', + native: true, + tag: 'ETH' +}; + +export function fetchTokenIds (tokenregInstance) { + return tokenregInstance.tokenCount + .call() + .then((numTokens) => { + const tokenIndexes = range(numTokens.toNumber()); + + return tokenIndexes; + }); +} + +export function fetchTokenInfo (api, tokenregInstace, tokenIndex) { + return Promise + .all([ + tokenregInstace.token.call({}, [tokenIndex]), + tokenregInstace.meta.call({}, [tokenIndex, 'IMG']) + ]) + .then(([ tokenData, image ]) => { + const [ address, tag, format, name ] = tokenData; + + const token = { + format: format.toString(), + index: tokenIndex, + image: hashToImageUrl(image), + id: sha3(address + tokenIndex).slice(0, 10), + address, + name, + tag + }; + + return token; + }); +} + +/** + * `updates` should be in the shape: + * { + * [ who ]: [ tokenId ] // Array of tokens to updates + * } + * + * Returns a Promise resolved witht the balances in the shape: + * { + * [ who ]: { [ tokenId ]: BigNumber } // The balances of `who` + * } + */ +export function fetchAccountsBalances (api, tokens, updates) { + const addresses = Object.keys(updates); + const promises = addresses + .map((who) => { + const tokensIds = updates[who]; + const tokensToUpdate = tokensIds.map((tokenId) => tokens.find((t) => t.id === tokenId)); + + return fetchAccountBalances(api, tokensToUpdate, who); + }); + + return Promise.all(promises) + .then((results) => { + return results.reduce((balances, accountBalances, index) => { + balances[addresses[index]] = accountBalances; + return balances; + }, {}); + }); +} + +/** + * Returns a Promise resolved with the balances in the shape: + * { + * [ tokenId ]: BigNumber // Token balance value + * } + */ +export function fetchAccountBalances (api, tokens, who) { + const calldata = '0x' + BALANCEOF_SIGNATURE.slice(2, 10) + ADDRESS_PADDING + who.slice(2); + const promises = tokens.map((token) => fetchTokenBalance(api, token, { who, calldata })); + + return Promise.all(promises) + .then((results) => { + return results.reduce((balances, value, index) => { + const token = tokens[index]; + + balances[token.id] = value; + return balances; + }, {}); + }); +} + +export function fetchTokenBalance (api, token, { who, calldata }) { + if (token.native) { + return api.eth.getBalance(who); + } + + return api.eth + .call({ data: calldata, to: token.address }) + .then((result) => { + const cleanResult = result.replace(/^0x/, ''); + + return new BigNumber(`0x${cleanResult || 0}`); + }); +} diff --git a/js/src/util/tx.js b/js-old/src/util/tx.js similarity index 98% rename from js/src/util/tx.js rename to js-old/src/util/tx.js index d5dae650da1ba63e4d996087803b6f183bf4e376..e325e6024045f34e1a0ba43bc57ce59940278a14 100644 --- a/js/src/util/tx.js +++ b/js-old/src/util/tx.js @@ -81,11 +81,12 @@ export function getTxOptions (api, func, _options, values = []) { options.to = options.to || func.contract.address; } - const promise = (!address) - ? Promise.resolve(false) - : WalletsUtils.isWallet(api, address); + if (!address) { + return Promise.resolve({ func, options, values }); + } - return promise + return WalletsUtils + .isWallet(api, address) .then((isWallet) => { if (!isWallet) { return { func, options, values }; diff --git a/js/src/util/validation.js b/js-old/src/util/validation.js similarity index 100% rename from js/src/util/validation.js rename to js-old/src/util/validation.js diff --git a/js/src/util/validation.spec.js b/js-old/src/util/validation.spec.js similarity index 100% rename from js/src/util/validation.spec.js rename to js-old/src/util/validation.spec.js diff --git a/js/src/util/wallets.js b/js-old/src/util/wallets.js similarity index 90% rename from js/src/util/wallets.js rename to js-old/src/util/wallets.js index 9f22ef262ab6e563d57c5a9c4330a74cbc342226..6b1c29d01c05aece9790cce376809f752a4fcdd1 100644 --- a/js/src/util/wallets.js +++ b/js-old/src/util/wallets.js @@ -78,39 +78,13 @@ export default class WalletsUtils { .delegateCall(api, walletContract.address, 'fetchTransactions', [ walletContract ]) .then((transactions) => { return transactions.sort((txA, txB) => { - const bnA = txA.blockNumber; - const bnB = txB.blockNumber; - - if (!bnA) { - console.warn('could not find block number in transaction', txA); - return 1; - } - - if (!bnB) { - console.warn('could not find block number in transaction', txB); - return -1; - } - - const comp = bnA.comparedTo(bnB); + const comp = txB.blockNumber.comparedTo(txA.blockNumber); if (comp !== 0) { return comp; } - const txIdxA = txA.transactionIndex; - const txIdxB = txB.transactionIndex; - - if (!txIdxA) { - console.warn('could not find transaction index in transaction', txA); - return 1; - } - - if (!txIdxB) { - console.warn('could not find transaction index in transaction', txB); - return -1; - } - - return txIdxA.comparedTo(txIdxB); + return txB.transactionIndex.comparedTo(txA.transactionIndex); }); }); } diff --git a/js/src/util/wallets/consensys-wallet.js b/js-old/src/util/wallets/consensys-wallet.js similarity index 99% rename from js/src/util/wallets/consensys-wallet.js rename to js-old/src/util/wallets/consensys-wallet.js index bfc8cb679a047ae0d1301baaa60808850e8c8d37..9f9f9d5fa4e928aef79b384249024b5d1dd55d1f 100644 --- a/js/src/util/wallets/consensys-wallet.js +++ b/js-old/src/util/wallets/consensys-wallet.js @@ -212,7 +212,6 @@ export default class ConsensysWalletUtils { const transaction = { transactionHash: log.transactionHash, - transactionIndex: log.transactionIndex, blockNumber: log.blockNumber }; diff --git a/js/src/util/wallets/foundation-wallet.js b/js-old/src/util/wallets/foundation-wallet.js similarity index 81% rename from js/src/util/wallets/foundation-wallet.js rename to js-old/src/util/wallets/foundation-wallet.js index 926b40a8083e0933ed72249769dee8b6be38b06e..4fb1cfe220787503035ebed50b0bbf2438d6f431 100644 --- a/js/src/util/wallets/foundation-wallet.js +++ b/js-old/src/util/wallets/foundation-wallet.js @@ -130,67 +130,27 @@ export default class FoundationWalletUtils { .ConfirmationNeeded .getAllLogs() .then((logs) => { - return logs - .filter((log) => { - if (!log.blockNumber) { - console.warn('got a log without blockNumber', log); - return false; - } - - if (!log.transactionIndex) { - console.warn('got a log without transactionIndex', log); - return false; - } - - return true; - }) - .map((log) => ({ - initiator: log.params.initiator.value, - to: log.params.to.value, - data: log.params.data.value, - value: log.params.value.value, - operation: bytesToHex(log.params.operation.value), - transactionIndex: log.transactionIndex, - transactionHash: log.transactionHash, - blockNumber: log.blockNumber, - confirmedBy: [] - })); + return logs.map((log) => ({ + initiator: log.params.initiator.value, + to: log.params.to.value, + data: log.params.data.value, + value: log.params.value.value, + operation: bytesToHex(log.params.operation.value), + transactionIndex: log.transactionIndex, + transactionHash: log.transactionHash, + blockNumber: log.blockNumber, + confirmedBy: [] + })); }) .then((logs) => { return logs.sort((logA, logB) => { - const bnA = logA.blockNumber; - const bnB = logA.blockNumber; - - if (!bnA) { - console.warn('could not find block number in log', logA); - return 1; - } - - if (!bnB) { - console.warn('could not find block number in log', logB); - return -1; - } - - const comp = bnA.comparedTo(bnB); + const comp = logA.blockNumber.comparedTo(logB.blockNumber); if (comp !== 0) { return comp; } - const txIdxA = logA.transactionIndex; - const txIdxB = logB.transactionIndex; - - if (!txIdxA) { - console.warn('could not find transaction index in log', logA); - return 1; - } - - if (!txIdxB) { - console.warn('could not find transaction index in log', logB); - return -1; - } - - return txIdxA.comparedTo(txIdxB); + return logA.transactionIndex.comparedTo(logB.transactionIndex); }); }) .then((pendingTxs) => { @@ -245,48 +205,40 @@ export default class FoundationWalletUtils { ] ] }) .then((logs) => { - const transactions = logs - .map((log) => { - const signature = toHex(log.topics[0]); - - const value = log.params.value.value; - const from = signature === WalletSignatures.Deposit - ? log.params['_from'].value - : walletContract.address; - - const to = signature === WalletSignatures.Deposit - ? walletContract.address - : log.params.to.value; - - const transaction = { - transactionHash: log.transactionHash, - transactionIndex: log.transactionIndex, - blockNumber: log.blockNumber, - from, to, value - }; - - if (!transaction.blockNumber) { - console.warn('log without block number', log); - return null; - } + const transactions = logs.map((log) => { + const signature = toHex(log.topics[0]); - if (log.params.created && log.params.created.value && !/^(0x)?0*$/.test(log.params.created.value)) { - transaction.creates = log.params.created.value; - delete transaction.to; - } + const value = log.params.value.value; + const from = signature === WalletSignatures.Deposit + ? log.params['_from'].value + : walletContract.address; - if (log.params.operation) { - transaction.operation = bytesToHex(log.params.operation.value); - checkPendingOperation(api, log, transaction.operation); - } + const to = signature === WalletSignatures.Deposit + ? walletContract.address + : log.params.to.value; - if (log.params.data) { - transaction.data = log.params.data.value; - } + const transaction = { + transactionHash: log.transactionHash, + blockNumber: log.blockNumber, + from, to, value + }; - return transaction; - }) - .filter((tx) => tx); + if (log.params.created && log.params.created.value && !/^(0x)?0*$/.test(log.params.created.value)) { + transaction.creates = log.params.created.value; + delete transaction.to; + } + + if (log.params.operation) { + transaction.operation = bytesToHex(log.params.operation.value); + checkPendingOperation(api, log, transaction.operation); + } + + if (log.params.data) { + transaction.data = log.params.data.value; + } + + return transaction; + }); return transactions; }); diff --git a/js/src/util/wallets/pending-contracts.js b/js-old/src/util/wallets/pending-contracts.js similarity index 100% rename from js/src/util/wallets/pending-contracts.js rename to js-old/src/util/wallets/pending-contracts.js diff --git a/js/src/util/wallets/updates.js b/js-old/src/util/wallets/updates.js similarity index 100% rename from js/src/util/wallets/updates.js rename to js-old/src/util/wallets/updates.js diff --git a/js/src/util/web3.extensions.js b/js-old/src/util/web3.extensions.js similarity index 100% rename from js/src/util/web3.extensions.js rename to js-old/src/util/web3.extensions.js diff --git a/js/src/views/Account/Header/header.css b/js-old/src/views/Account/Header/header.css similarity index 100% rename from js/src/views/Account/Header/header.css rename to js-old/src/views/Account/Header/header.css diff --git a/js/src/views/Account/Header/header.js b/js-old/src/views/Account/Header/header.js similarity index 100% rename from js/src/views/Account/Header/header.js rename to js-old/src/views/Account/Header/header.js diff --git a/js/src/views/Account/Header/header.spec.js b/js-old/src/views/Account/Header/header.spec.js similarity index 100% rename from js/src/views/Account/Header/header.spec.js rename to js-old/src/views/Account/Header/header.spec.js diff --git a/js/src/views/Account/Header/index.js b/js-old/src/views/Account/Header/index.js similarity index 100% rename from js/src/views/Account/Header/index.js rename to js-old/src/views/Account/Header/index.js diff --git a/js/src/views/Account/Transactions/index.js b/js-old/src/views/Account/Transactions/index.js similarity index 100% rename from js/src/views/Account/Transactions/index.js rename to js-old/src/views/Account/Transactions/index.js diff --git a/js/src/views/Account/Transactions/store.js b/js-old/src/views/Account/Transactions/store.js similarity index 100% rename from js/src/views/Account/Transactions/store.js rename to js-old/src/views/Account/Transactions/store.js diff --git a/js/src/views/Account/Transactions/store.spec.js b/js-old/src/views/Account/Transactions/store.spec.js similarity index 100% rename from js/src/views/Account/Transactions/store.spec.js rename to js-old/src/views/Account/Transactions/store.spec.js diff --git a/js/src/views/Account/Transactions/transactions.css b/js-old/src/views/Account/Transactions/transactions.css similarity index 100% rename from js/src/views/Account/Transactions/transactions.css rename to js-old/src/views/Account/Transactions/transactions.css diff --git a/js/src/views/Account/Transactions/transactions.js b/js-old/src/views/Account/Transactions/transactions.js similarity index 100% rename from js/src/views/Account/Transactions/transactions.js rename to js-old/src/views/Account/Transactions/transactions.js diff --git a/js/src/views/Account/Transactions/transactions.spec.js b/js-old/src/views/Account/Transactions/transactions.spec.js similarity index 100% rename from js/src/views/Account/Transactions/transactions.spec.js rename to js-old/src/views/Account/Transactions/transactions.spec.js diff --git a/js/src/views/Account/Transactions/transactions.test.js b/js-old/src/views/Account/Transactions/transactions.test.js similarity index 100% rename from js/src/views/Account/Transactions/transactions.test.js rename to js-old/src/views/Account/Transactions/transactions.test.js diff --git a/js/src/views/Account/account.css b/js-old/src/views/Account/account.css similarity index 100% rename from js/src/views/Account/account.css rename to js-old/src/views/Account/account.css diff --git a/js/src/views/Account/account.js b/js-old/src/views/Account/account.js similarity index 95% rename from js/src/views/Account/account.js rename to js-old/src/views/Account/account.js index 50ad70164bd7e2c792d9b06cb189b58b9e809ebc..fdccac793bd233de618274d3ee92a32d6865cd93 100644 --- a/js/src/views/Account/account.js +++ b/js-old/src/views/Account/account.js @@ -26,6 +26,7 @@ import HardwareStore from '~/mobx/hardwareStore'; import ExportStore from '~/modals/ExportAccount/exportStore'; import { DeleteAccount, EditMeta, Faucet, PasswordManager, Shapeshift, Transfer, Verification } from '~/modals'; import { setVisibleAccounts } from '~/redux/providers/personalActions'; +import { fetchCertifiers, fetchCertifications } from '~/redux/providers/certifications/actions'; import { Actionbar, Button, ConfirmDialog, Input, Page, Portal } from '~/ui'; import { DeleteIcon, DialIcon, EditIcon, LockedIcon, SendIcon, VerifyIcon, FileDownloadIcon } from '~/ui/Icons'; @@ -44,6 +45,8 @@ class Account extends Component { static propTypes = { accounts: PropTypes.object.isRequired, + fetchCertifiers: PropTypes.func.isRequired, + fetchCertifications: PropTypes.func.isRequired, setVisibleAccounts: PropTypes.func.isRequired, account: PropTypes.object, @@ -64,6 +67,7 @@ class Account extends Component { } componentDidMount () { + this.props.fetchCertifiers(); this.setVisibleAccounts(); } @@ -86,10 +90,11 @@ class Account extends Component { } setVisibleAccounts (props = this.props) { - const { params, setVisibleAccounts } = props; + const { params, setVisibleAccounts, fetchCertifications } = props; const addresses = [params.address]; setVisibleAccounts(addresses); + fetchCertifications(params.address); } render () { @@ -365,14 +370,14 @@ class Account extends Component { onDeny={ this.exportClose } title={ } >
@@ -383,13 +388,13 @@ class Account extends Component { type='password' hint={ } label={ } @@ -519,6 +524,8 @@ function mapStateToProps (state, props) { function mapDispatchToProps (dispatch) { return bindActionCreators({ + fetchCertifiers, + fetchCertifications, newError, setVisibleAccounts }, dispatch); diff --git a/js/src/views/Account/account.spec.js b/js-old/src/views/Account/account.spec.js similarity index 95% rename from js/src/views/Account/account.spec.js rename to js-old/src/views/Account/account.spec.js index d8037602987e079af4265cc96c59ca3d7b538816..6a96d63001d6c5d6509abc77dcd8daf35203573a 100644 --- a/js/src/views/Account/account.spec.js +++ b/js-old/src/views/Account/account.spec.js @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import sinon from 'sinon'; import { shallow } from 'enzyme'; import React from 'react'; @@ -35,15 +34,7 @@ function render (props) { />, { context: { - store: createRedux(), - api: { - transport: { - on: sinon.stub() - }, - pubsub: { - subscribeAndGetResult: sinon.stub() - } - } + store: createRedux() } } ).find('Account').shallow(); diff --git a/js/src/views/Account/account.test.js b/js-old/src/views/Account/account.test.js similarity index 100% rename from js/src/views/Account/account.test.js rename to js-old/src/views/Account/account.test.js diff --git a/js/src/views/Account/index.js b/js-old/src/views/Account/index.js similarity index 100% rename from js/src/views/Account/index.js rename to js-old/src/views/Account/index.js diff --git a/js/src/views/Account/store.js b/js-old/src/views/Account/store.js similarity index 100% rename from js/src/views/Account/store.js rename to js-old/src/views/Account/store.js diff --git a/js/src/views/Account/store.spec.js b/js-old/src/views/Account/store.spec.js similarity index 100% rename from js/src/views/Account/store.spec.js rename to js-old/src/views/Account/store.spec.js diff --git a/js/src/views/Accounts/List/index.js b/js-old/src/views/Accounts/List/index.js similarity index 100% rename from js/src/views/Accounts/List/index.js rename to js-old/src/views/Accounts/List/index.js diff --git a/js/src/views/Accounts/List/list.css b/js-old/src/views/Accounts/List/list.css similarity index 100% rename from js/src/views/Accounts/List/list.css rename to js-old/src/views/Accounts/List/list.css diff --git a/js/src/views/Accounts/List/list.js b/js-old/src/views/Accounts/List/list.js similarity index 91% rename from js/src/views/Accounts/List/list.js rename to js-old/src/views/Accounts/List/list.js index 7ff04ab3056321bb6e6f3bda8330d61151a2cadb..2fa3be70b132d79f0171c1a400afe8b59a45b21f 100644 --- a/js/src/views/Accounts/List/list.js +++ b/js-old/src/views/Accounts/List/list.js @@ -17,8 +17,10 @@ import { pick } from 'lodash'; import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; +import { bindActionCreators } from 'redux'; import { Container, SectionList } from '~/ui'; +import { fetchCertifiers, fetchCertifications } from '~/redux/providers/certifications/actions'; import { ETH_TOKEN } from '~/util/tokens'; import Summary from '../Summary'; @@ -36,9 +38,20 @@ class List extends Component { orderFallback: PropTypes.string, search: PropTypes.array, + fetchCertifiers: PropTypes.func.isRequired, + fetchCertifications: PropTypes.func.isRequired, handleAddSearchToken: PropTypes.func }; + componentWillMount () { + const { accounts, fetchCertifiers, fetchCertifications } = this.props; + + fetchCertifiers(); + for (let address in accounts) { + fetchCertifications(address); + } + } + render () { const { accounts, disabled, empty } = this.props; @@ -251,7 +264,14 @@ function mapStateToProps (state, props) { return { balances, certifications }; } +function mapDispatchToProps (dispatch) { + return bindActionCreators({ + fetchCertifiers, + fetchCertifications + }, dispatch); +} + export default connect( mapStateToProps, - null + mapDispatchToProps )(List); diff --git a/js/src/views/Accounts/Summary/index.js b/js-old/src/views/Accounts/Summary/index.js similarity index 100% rename from js/src/views/Accounts/Summary/index.js rename to js-old/src/views/Accounts/Summary/index.js diff --git a/js/src/views/Accounts/Summary/summary.js b/js-old/src/views/Accounts/Summary/summary.js similarity index 100% rename from js/src/views/Accounts/Summary/summary.js rename to js-old/src/views/Accounts/Summary/summary.js diff --git a/js/src/views/Accounts/accounts.css b/js-old/src/views/Accounts/accounts.css similarity index 100% rename from js/src/views/Accounts/accounts.css rename to js-old/src/views/Accounts/accounts.css diff --git a/js/src/views/Accounts/accounts.js b/js-old/src/views/Accounts/accounts.js similarity index 100% rename from js/src/views/Accounts/accounts.js rename to js-old/src/views/Accounts/accounts.js diff --git a/js/src/views/Accounts/accounts.spec.js b/js-old/src/views/Accounts/accounts.spec.js similarity index 95% rename from js/src/views/Accounts/accounts.spec.js rename to js-old/src/views/Accounts/accounts.spec.js index 3fad02643f0172990bc04793c2d35b495b901d21..3c6ab943954ebb907dd4fa0823221740f8b59905 100644 --- a/js/src/views/Accounts/accounts.spec.js +++ b/js-old/src/views/Accounts/accounts.spec.js @@ -27,11 +27,7 @@ let instance; let redux; function createApi () { - api = { - pubsub: { - subscribeAndGetResult: sinon.stub().returns(Promise.reject(new Error('uninitialized'))) - } - }; + api = {}; return api; } diff --git a/js/src/views/Accounts/index.js b/js-old/src/views/Accounts/index.js similarity index 100% rename from js/src/views/Accounts/index.js rename to js-old/src/views/Accounts/index.js diff --git a/js/src/views/Address/Delete/delete.js b/js-old/src/views/Address/Delete/delete.js similarity index 100% rename from js/src/views/Address/Delete/delete.js rename to js-old/src/views/Address/Delete/delete.js diff --git a/js/src/views/Address/Delete/index.js b/js-old/src/views/Address/Delete/index.js similarity index 100% rename from js/src/views/Address/Delete/index.js rename to js-old/src/views/Address/Delete/index.js diff --git a/js/src/views/Address/address.css b/js-old/src/views/Address/address.css similarity index 100% rename from js/src/views/Address/address.css rename to js-old/src/views/Address/address.css diff --git a/js/src/views/Address/address.js b/js-old/src/views/Address/address.js similarity index 100% rename from js/src/views/Address/address.js rename to js-old/src/views/Address/address.js diff --git a/js/src/views/Address/index.js b/js-old/src/views/Address/index.js similarity index 100% rename from js/src/views/Address/index.js rename to js-old/src/views/Address/index.js diff --git a/js/src/views/Addresses/addresses.css b/js-old/src/views/Addresses/addresses.css similarity index 100% rename from js/src/views/Addresses/addresses.css rename to js-old/src/views/Addresses/addresses.css diff --git a/js/src/views/Addresses/addresses.js b/js-old/src/views/Addresses/addresses.js similarity index 100% rename from js/src/views/Addresses/addresses.js rename to js-old/src/views/Addresses/addresses.js diff --git a/js/src/views/Addresses/index.js b/js-old/src/views/Addresses/index.js similarity index 100% rename from js/src/views/Addresses/index.js rename to js-old/src/views/Addresses/index.js diff --git a/js/src/views/Application/Container/container.js b/js-old/src/views/Application/Container/container.js similarity index 100% rename from js/src/views/Application/Container/container.js rename to js-old/src/views/Application/Container/container.js diff --git a/js/src/views/Application/Container/index.js b/js-old/src/views/Application/Container/index.js similarity index 100% rename from js/src/views/Application/Container/index.js rename to js-old/src/views/Application/Container/index.js diff --git a/js/src/views/Application/DappContainer/dappContainer.js b/js-old/src/views/Application/DappContainer/dappContainer.js similarity index 100% rename from js/src/views/Application/DappContainer/dappContainer.js rename to js-old/src/views/Application/DappContainer/dappContainer.js diff --git a/js/src/views/Application/DappContainer/index.js b/js-old/src/views/Application/DappContainer/index.js similarity index 100% rename from js/src/views/Application/DappContainer/index.js rename to js-old/src/views/Application/DappContainer/index.js diff --git a/js/src/views/Application/Extension/extension.css b/js-old/src/views/Application/Extension/extension.css similarity index 100% rename from js/src/views/Application/Extension/extension.css rename to js-old/src/views/Application/Extension/extension.css diff --git a/js/src/views/Application/Extension/extension.js b/js-old/src/views/Application/Extension/extension.js similarity index 100% rename from js/src/views/Application/Extension/extension.js rename to js-old/src/views/Application/Extension/extension.js diff --git a/js/src/views/Application/Extension/index.js b/js-old/src/views/Application/Extension/index.js similarity index 100% rename from js/src/views/Application/Extension/index.js rename to js-old/src/views/Application/Extension/index.js diff --git a/js/src/views/Application/Extension/store.js b/js-old/src/views/Application/Extension/store.js similarity index 82% rename from js/src/views/Application/Extension/store.js rename to js-old/src/views/Application/Extension/store.js index af4b1a2053424327ed12d48729bd66f531a5b471..d1df2eb5b65d4b3afc305513c7a7d7501380a488 100644 --- a/js/src/views/Application/Extension/store.js +++ b/js-old/src/views/Application/Extension/store.js @@ -39,6 +39,7 @@ export default class Store { constructor () { this.nextDisplay = store.get(NEXT_DISPLAY) || 0; + this.testInstall(); } @computed get showWarning () { @@ -58,29 +59,20 @@ export default class Store { store.set(NEXT_DISPLAY, this.nextDisplay); } - @action setShouldInstall = (status) => { - this.shouldInstall = status; - } - - testInstall = () => { - this.readStatus().then(this.setShouldInstall); + @action testInstall = () => { + this.shouldInstall = this.readStatus(); } readStatus = () => { - return new Promise((resolve, reject) => { - // Defer checking for the extension since it may not have loaded yet. - setTimeout(() => { - const hasExtension = Symbol.for('parity.extension') in window; - const ua = browser.analyze(navigator.userAgent || ''); - - if (hasExtension) { - this.setExtensionActive(); - return resolve(false); - } - - return resolve((ua || {}).name.toLowerCase() === 'chrome'); - }, 5000); - }); + const hasExtension = Symbol.for('parity.extension') in window; + const ua = browser.analyze(navigator.userAgent || ''); + + if (hasExtension) { + this.setExtensionActive(); + return false; + } + + return (ua || {}).name.toLowerCase() === 'chrome'; } installExtension = () => { diff --git a/js/src/views/Application/FrameError/frameError.css b/js-old/src/views/Application/FrameError/frameError.css similarity index 100% rename from js/src/views/Application/FrameError/frameError.css rename to js-old/src/views/Application/FrameError/frameError.css diff --git a/js/src/views/Application/FrameError/frameError.js b/js-old/src/views/Application/FrameError/frameError.js similarity index 100% rename from js/src/views/Application/FrameError/frameError.js rename to js-old/src/views/Application/FrameError/frameError.js diff --git a/js/src/views/Application/FrameError/index.js b/js-old/src/views/Application/FrameError/index.js similarity index 100% rename from js/src/views/Application/FrameError/index.js rename to js-old/src/views/Application/FrameError/index.js diff --git a/js/src/views/Application/Requests/index.js b/js-old/src/views/Application/Requests/index.js similarity index 100% rename from js/src/views/Application/Requests/index.js rename to js-old/src/views/Application/Requests/index.js diff --git a/js/src/views/Application/Requests/requests.css b/js-old/src/views/Application/Requests/requests.css similarity index 100% rename from js/src/views/Application/Requests/requests.css rename to js-old/src/views/Application/Requests/requests.css diff --git a/js/src/views/Application/Requests/requests.js b/js-old/src/views/Application/Requests/requests.js similarity index 97% rename from js/src/views/Application/Requests/requests.js rename to js-old/src/views/Application/Requests/requests.js index 81635fd2d0053515d696fd934451cb1bfaf184bf..dfbb866b9061855535afc6b0608430444d576e55 100644 --- a/js/src/views/Application/Requests/requests.js +++ b/js-old/src/views/Application/Requests/requests.js @@ -57,11 +57,6 @@ class Requests extends Component { renderRequest (request, extras = {}) { const { show, transaction } = request; - - if (!transaction) { - return null; - } - const state = this.getTransactionState(request); const displayedTransaction = { ...transaction }; @@ -161,9 +156,9 @@ class Requests extends Component { return ( diff --git a/js/src/views/Application/Requests/savedRequests.js b/js-old/src/views/Application/Requests/savedRequests.js similarity index 100% rename from js/src/views/Application/Requests/savedRequests.js rename to js-old/src/views/Application/Requests/savedRequests.js diff --git a/js/src/views/Application/Requests/savedRequests.spec.js b/js-old/src/views/Application/Requests/savedRequests.spec.js similarity index 100% rename from js/src/views/Application/Requests/savedRequests.spec.js rename to js-old/src/views/Application/Requests/savedRequests.spec.js diff --git a/js/src/views/Application/Snackbar/index.js b/js-old/src/views/Application/Snackbar/index.js similarity index 100% rename from js/src/views/Application/Snackbar/index.js rename to js-old/src/views/Application/Snackbar/index.js diff --git a/js/src/views/Application/Snackbar/snackbar.js b/js-old/src/views/Application/Snackbar/snackbar.js similarity index 100% rename from js/src/views/Application/Snackbar/snackbar.js rename to js-old/src/views/Application/Snackbar/snackbar.js diff --git a/js/src/views/Application/Status/index.js b/js-old/src/views/Application/Status/index.js similarity index 100% rename from js/src/views/Application/Status/index.js rename to js-old/src/views/Application/Status/index.js diff --git a/js/src/views/Application/Status/status.css b/js-old/src/views/Application/Status/status.css similarity index 100% rename from js/src/views/Application/Status/status.css rename to js-old/src/views/Application/Status/status.css diff --git a/js/src/views/Application/Status/status.js b/js-old/src/views/Application/Status/status.js similarity index 100% rename from js/src/views/Application/Status/status.js rename to js-old/src/views/Application/Status/status.js diff --git a/js/src/views/Application/TabBar/Tab/index.js b/js-old/src/views/Application/TabBar/Tab/index.js similarity index 100% rename from js/src/views/Application/TabBar/Tab/index.js rename to js-old/src/views/Application/TabBar/Tab/index.js diff --git a/js/src/views/Application/TabBar/Tab/tab.js b/js-old/src/views/Application/TabBar/Tab/tab.js similarity index 100% rename from js/src/views/Application/TabBar/Tab/tab.js rename to js-old/src/views/Application/TabBar/Tab/tab.js diff --git a/js/src/views/Application/TabBar/Tab/tabs.spec.js b/js-old/src/views/Application/TabBar/Tab/tabs.spec.js similarity index 100% rename from js/src/views/Application/TabBar/Tab/tabs.spec.js rename to js-old/src/views/Application/TabBar/Tab/tabs.spec.js diff --git a/js/src/views/Application/TabBar/index.js b/js-old/src/views/Application/TabBar/index.js similarity index 100% rename from js/src/views/Application/TabBar/index.js rename to js-old/src/views/Application/TabBar/index.js diff --git a/js/src/views/Application/TabBar/tabBar.css b/js-old/src/views/Application/TabBar/tabBar.css similarity index 100% rename from js/src/views/Application/TabBar/tabBar.css rename to js-old/src/views/Application/TabBar/tabBar.css diff --git a/js/src/views/Application/TabBar/tabBar.js b/js-old/src/views/Application/TabBar/tabBar.js similarity index 100% rename from js/src/views/Application/TabBar/tabBar.js rename to js-old/src/views/Application/TabBar/tabBar.js diff --git a/js/src/views/Application/TabBar/tabBar.spec.js b/js-old/src/views/Application/TabBar/tabBar.spec.js similarity index 100% rename from js/src/views/Application/TabBar/tabBar.spec.js rename to js-old/src/views/Application/TabBar/tabBar.spec.js diff --git a/js/src/views/Application/application.css b/js-old/src/views/Application/application.css similarity index 100% rename from js/src/views/Application/application.css rename to js-old/src/views/Application/application.css diff --git a/js/src/views/Application/application.js b/js-old/src/views/Application/application.js similarity index 90% rename from js/src/views/Application/application.js rename to js-old/src/views/Application/application.js index 9c251abb55a46a4309415ce33154fc5d4dd5f025..5566253b810501c9f351ffccf3940cb301604839 100644 --- a/js/src/views/Application/application.js +++ b/js-old/src/views/Application/application.js @@ -19,8 +19,6 @@ import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import UpgradeStore from '~/modals/UpgradeParity/store'; -import { PinMatrix } from '~/modals'; -import HardwareStore from '~/mobx/hardwareStore'; import Connection from '../Connection'; import ParityBar from '../ParityBar'; @@ -54,15 +52,12 @@ class Application extends Component { pending: PropTypes.array } - hwstore = HardwareStore.get(this.context.api); - store = new Store(this.context.api); upgradeStore = UpgradeStore.get(this.context.api); render () { const [root] = (window.location.hash || '').replace('#/', '').split('/'); const isMinimized = root === 'app' || root === 'web'; - const { pinMatrixRequest } = this.hwstore; if (process.env.NODE_ENV !== 'production' && root === 'playground') { return ( @@ -72,14 +67,13 @@ class Application extends Component { ); } - if (inFrame) { - return ( - - ); - } - return (
+ { + inFrame + ? + : null + } { isMinimized ? this.renderMinimized() @@ -91,7 +85,6 @@ class Application extends Component { : null } - { (pinMatrixRequest.length > 0) ? : null }
diff --git a/js/src/views/Application/index.js b/js-old/src/views/Application/index.js similarity index 100% rename from js/src/views/Application/index.js rename to js-old/src/views/Application/index.js diff --git a/js/src/views/Application/store.js b/js-old/src/views/Application/store.js similarity index 100% rename from js/src/views/Application/store.js rename to js-old/src/views/Application/store.js diff --git a/js/src/views/Connection/connection.css b/js-old/src/views/Connection/connection.css similarity index 100% rename from js/src/views/Connection/connection.css rename to js-old/src/views/Connection/connection.css diff --git a/js/src/views/Connection/connection.js b/js-old/src/views/Connection/connection.js similarity index 100% rename from js/src/views/Connection/connection.js rename to js-old/src/views/Connection/connection.js diff --git a/js/src/views/Connection/connection.spec.js b/js-old/src/views/Connection/connection.spec.js similarity index 100% rename from js/src/views/Connection/connection.spec.js rename to js-old/src/views/Connection/connection.spec.js diff --git a/js/src/views/Connection/index.js b/js-old/src/views/Connection/index.js similarity index 100% rename from js/src/views/Connection/index.js rename to js-old/src/views/Connection/index.js diff --git a/js/src/views/Contract/Events/Event/event.js b/js-old/src/views/Contract/Events/Event/event.js similarity index 100% rename from js/src/views/Contract/Events/Event/event.js rename to js-old/src/views/Contract/Events/Event/event.js diff --git a/js/src/views/Contract/Events/Event/index.js b/js-old/src/views/Contract/Events/Event/index.js similarity index 100% rename from js/src/views/Contract/Events/Event/index.js rename to js-old/src/views/Contract/Events/Event/index.js diff --git a/js/src/views/Contract/Events/events.js b/js-old/src/views/Contract/Events/events.js similarity index 100% rename from js/src/views/Contract/Events/events.js rename to js-old/src/views/Contract/Events/events.js diff --git a/js/src/views/Contract/Events/index.js b/js-old/src/views/Contract/Events/index.js similarity index 100% rename from js/src/views/Contract/Events/index.js rename to js-old/src/views/Contract/Events/index.js diff --git a/js/src/views/Contract/Queries/index.js b/js-old/src/views/Contract/Queries/index.js similarity index 100% rename from js/src/views/Contract/Queries/index.js rename to js-old/src/views/Contract/Queries/index.js diff --git a/js/src/views/Contract/Queries/inputQuery.js b/js-old/src/views/Contract/Queries/inputQuery.js similarity index 97% rename from js/src/views/Contract/Queries/inputQuery.js rename to js-old/src/views/Contract/Queries/inputQuery.js index 0e8b043d07ca4bf37fb7f0b80f1366751ef31d9e..7a75727f6e54ffc92f25405314e0e6c647b8df43 100644 --- a/js/src/views/Contract/Queries/inputQuery.js +++ b/js-old/src/views/Contract/Queries/inputQuery.js @@ -35,6 +35,7 @@ class InputQuery extends Component { }; static propTypes = { + accountsInfo: PropTypes.object.isRequired, contract: PropTypes.object.isRequired, inputs: arrayOrObjectProptype().isRequired, outputs: arrayOrObjectProptype().isRequired, @@ -121,7 +122,7 @@ class InputQuery extends Component { renderResults () { const { results, isLoading } = this.state; - const { outputs } = this.props; + const { accountsInfo, outputs } = this.props; if (isLoading) { return ( @@ -142,6 +143,7 @@ class InputQuery extends Component { .map((out, index) => { const input = ( @@ -528,11 +530,12 @@ class Contract extends Component { } function mapStateToProps (state) { - const { accounts, contracts } = state.personal; + const { accounts, accountsInfo, contracts } = state.personal; const { netVersion } = state.nodeStatus; return { accounts, + accountsInfo, contracts, netVersion }; diff --git a/js/src/views/Contract/index.js b/js-old/src/views/Contract/index.js similarity index 100% rename from js/src/views/Contract/index.js rename to js-old/src/views/Contract/index.js diff --git a/js/src/views/Contracts/contracts.js b/js-old/src/views/Contracts/contracts.js similarity index 100% rename from js/src/views/Contracts/contracts.js rename to js-old/src/views/Contracts/contracts.js diff --git a/js/src/views/Contracts/index.js b/js-old/src/views/Contracts/index.js similarity index 100% rename from js/src/views/Contracts/index.js rename to js-old/src/views/Contracts/index.js diff --git a/js/src/views/Dapp/dapp.css b/js-old/src/views/Dapp/dapp.css similarity index 100% rename from js/src/views/Dapp/dapp.css rename to js-old/src/views/Dapp/dapp.css diff --git a/js/src/views/Dapp/dapp.js b/js-old/src/views/Dapp/dapp.js similarity index 100% rename from js/src/views/Dapp/dapp.js rename to js-old/src/views/Dapp/dapp.js diff --git a/js/src/views/Dapp/index.js b/js-old/src/views/Dapp/index.js similarity index 100% rename from js/src/views/Dapp/index.js rename to js-old/src/views/Dapp/index.js diff --git a/js/src/views/Dapps/builtin.json b/js-old/src/views/Dapps/builtin.json similarity index 100% rename from js/src/views/Dapps/builtin.json rename to js-old/src/views/Dapps/builtin.json diff --git a/js/src/views/Dapps/dappStore.spec.js b/js-old/src/views/Dapps/dappStore.spec.js similarity index 100% rename from js/src/views/Dapps/dappStore.spec.js rename to js-old/src/views/Dapps/dappStore.spec.js diff --git a/js/src/views/Dapps/dapps.css b/js-old/src/views/Dapps/dapps.css similarity index 100% rename from js/src/views/Dapps/dapps.css rename to js-old/src/views/Dapps/dapps.css diff --git a/js/src/views/Dapps/dapps.js b/js-old/src/views/Dapps/dapps.js similarity index 100% rename from js/src/views/Dapps/dapps.js rename to js-old/src/views/Dapps/dapps.js diff --git a/js/src/views/Dapps/dappsStore.js b/js-old/src/views/Dapps/dappsStore.js similarity index 100% rename from js/src/views/Dapps/dappsStore.js rename to js-old/src/views/Dapps/dappsStore.js diff --git a/js/src/views/Dapps/index.js b/js-old/src/views/Dapps/index.js similarity index 100% rename from js/src/views/Dapps/index.js rename to js-old/src/views/Dapps/index.js diff --git a/js/src/views/Home/Accounts/accounts.css b/js-old/src/views/Home/Accounts/accounts.css similarity index 100% rename from js/src/views/Home/Accounts/accounts.css rename to js-old/src/views/Home/Accounts/accounts.css diff --git a/js/src/views/Home/Accounts/accounts.js b/js-old/src/views/Home/Accounts/accounts.js similarity index 100% rename from js/src/views/Home/Accounts/accounts.js rename to js-old/src/views/Home/Accounts/accounts.js diff --git a/js/src/views/Home/Accounts/accounts.spec.js b/js-old/src/views/Home/Accounts/accounts.spec.js similarity index 100% rename from js/src/views/Home/Accounts/accounts.spec.js rename to js-old/src/views/Home/Accounts/accounts.spec.js diff --git a/js/src/views/Home/Accounts/index.js b/js-old/src/views/Home/Accounts/index.js similarity index 100% rename from js/src/views/Home/Accounts/index.js rename to js-old/src/views/Home/Accounts/index.js diff --git a/js/src/views/Home/Dapps/dapp.js b/js-old/src/views/Home/Dapps/dapp.js similarity index 93% rename from js/src/views/Home/Dapps/dapp.js rename to js-old/src/views/Home/Dapps/dapp.js index c6be2c52ffca598da17f9d14d0be477d1ec82c87..51e5c21220b1be7f7c180288af885ab742ae3a48 100644 --- a/js/src/views/Home/Dapps/dapp.js +++ b/js-old/src/views/Home/Dapps/dapp.js @@ -35,14 +35,9 @@ export default class Dapp extends Component { } componentWillMount () { - this.isInactive = false; return this.loadApp(); } - componentWillUnmount () { - this.isInactive = true; - } - render () { const { id, timestamp } = this.props; const { dapp } = this.state; @@ -88,10 +83,6 @@ export default class Dapp extends Component { return store .loadApp(id) .then((dapp) => { - if (this.isInactive) { - return; - } - this.setState({ dapp }); }); } diff --git a/js/src/views/Home/Dapps/dapp.spec.js b/js-old/src/views/Home/Dapps/dapp.spec.js similarity index 100% rename from js/src/views/Home/Dapps/dapp.spec.js rename to js-old/src/views/Home/Dapps/dapp.spec.js diff --git a/js/src/views/Home/Dapps/dapps.css b/js-old/src/views/Home/Dapps/dapps.css similarity index 100% rename from js/src/views/Home/Dapps/dapps.css rename to js-old/src/views/Home/Dapps/dapps.css diff --git a/js/src/views/Home/Dapps/dapps.js b/js-old/src/views/Home/Dapps/dapps.js similarity index 100% rename from js/src/views/Home/Dapps/dapps.js rename to js-old/src/views/Home/Dapps/dapps.js diff --git a/js/src/views/Home/Dapps/dapps.spec.js b/js-old/src/views/Home/Dapps/dapps.spec.js similarity index 100% rename from js/src/views/Home/Dapps/dapps.spec.js rename to js-old/src/views/Home/Dapps/dapps.spec.js diff --git a/js/src/views/Home/Dapps/dapps.test.js b/js-old/src/views/Home/Dapps/dapps.test.js similarity index 100% rename from js/src/views/Home/Dapps/dapps.test.js rename to js-old/src/views/Home/Dapps/dapps.test.js diff --git a/js/src/views/Home/Dapps/index.js b/js-old/src/views/Home/Dapps/index.js similarity index 100% rename from js/src/views/Home/Dapps/index.js rename to js-old/src/views/Home/Dapps/index.js diff --git a/js/src/views/Home/News/index.js b/js-old/src/views/Home/News/index.js similarity index 100% rename from js/src/views/Home/News/index.js rename to js-old/src/views/Home/News/index.js diff --git a/js/src/views/Home/News/news.css b/js-old/src/views/Home/News/news.css similarity index 100% rename from js/src/views/Home/News/news.css rename to js-old/src/views/Home/News/news.css diff --git a/js/src/views/Home/News/news.js b/js-old/src/views/Home/News/news.js similarity index 100% rename from js/src/views/Home/News/news.js rename to js-old/src/views/Home/News/news.js diff --git a/js/src/views/Home/News/news.spec.js b/js-old/src/views/Home/News/news.spec.js similarity index 100% rename from js/src/views/Home/News/news.spec.js rename to js-old/src/views/Home/News/news.spec.js diff --git a/js/src/views/Home/News/news.test.js b/js-old/src/views/Home/News/news.test.js similarity index 100% rename from js/src/views/Home/News/news.test.js rename to js-old/src/views/Home/News/news.test.js diff --git a/js/src/views/Home/News/renderers.js b/js-old/src/views/Home/News/renderers.js similarity index 100% rename from js/src/views/Home/News/renderers.js rename to js-old/src/views/Home/News/renderers.js diff --git a/js/src/views/Home/News/store.js b/js-old/src/views/Home/News/store.js similarity index 100% rename from js/src/views/Home/News/store.js rename to js-old/src/views/Home/News/store.js diff --git a/js/src/views/Home/News/store.spec.js b/js-old/src/views/Home/News/store.spec.js similarity index 100% rename from js/src/views/Home/News/store.spec.js rename to js-old/src/views/Home/News/store.spec.js diff --git a/js/src/views/Home/Urls/index.js b/js-old/src/views/Home/Urls/index.js similarity index 100% rename from js/src/views/Home/Urls/index.js rename to js-old/src/views/Home/Urls/index.js diff --git a/js/src/views/Home/Urls/urls.css b/js-old/src/views/Home/Urls/urls.css similarity index 100% rename from js/src/views/Home/Urls/urls.css rename to js-old/src/views/Home/Urls/urls.css diff --git a/js/src/views/Home/Urls/urls.js b/js-old/src/views/Home/Urls/urls.js similarity index 100% rename from js/src/views/Home/Urls/urls.js rename to js-old/src/views/Home/Urls/urls.js diff --git a/js/src/views/Home/Urls/urls.spec.js b/js-old/src/views/Home/Urls/urls.spec.js similarity index 100% rename from js/src/views/Home/Urls/urls.spec.js rename to js-old/src/views/Home/Urls/urls.spec.js diff --git a/js/src/views/Home/home.css b/js-old/src/views/Home/home.css similarity index 100% rename from js/src/views/Home/home.css rename to js-old/src/views/Home/home.css diff --git a/js/src/views/Home/home.js b/js-old/src/views/Home/home.js similarity index 100% rename from js/src/views/Home/home.js rename to js-old/src/views/Home/home.js diff --git a/js/src/views/Home/home.spec.js b/js-old/src/views/Home/home.spec.js similarity index 100% rename from js/src/views/Home/home.spec.js rename to js-old/src/views/Home/home.spec.js diff --git a/js/src/views/Home/index.js b/js-old/src/views/Home/index.js similarity index 100% rename from js/src/views/Home/index.js rename to js-old/src/views/Home/index.js diff --git a/js-old/src/views/ParityBar/accountStore.js b/js-old/src/views/ParityBar/accountStore.js new file mode 100644 index 0000000000000000000000000000000000000000..3d4dbae9cf7868abee08d6a68674f40a23e6b50a --- /dev/null +++ b/js-old/src/views/ParityBar/accountStore.js @@ -0,0 +1,129 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import { action, observable, transaction } from 'mobx'; + +export default class AccountStore { + @observable accounts = []; + @observable defaultAccount = null; + @observable isLoading = false; + + constructor (api) { + this._api = api; + + this.loadDefaultAccount() + .then(() => this.loadAccounts()); + + this.subscribeDefaultAccount(); + } + + @action setAccounts = (accounts) => { + this.accounts = accounts; + } + + @action setDefaultAccount = (defaultAccount) => { + transaction(() => { + this.accounts = this.accounts.map((account) => { + account.checked = account.address === defaultAccount; + + return account; + }); + + this.defaultAccount = defaultAccount; + }); + } + + @action setLoading = (isLoading) => { + this.isLoading = isLoading; + } + + makeDefaultAccount = (defaultAddress) => { + this.setDefaultAccount(defaultAddress); + + return this._api.parity + .setNewDappsDefaultAddress(defaultAddress) + .catch((error) => { + console.warn('makeDefaultAccount', error); + }); + } + + loadDefaultAccount () { + return this._api.parity + .defaultAccount() + .then((address) => this.setDefaultAccount(address)); + } + + loadAccounts () { + this.setLoading(true); + + return Promise + .all([ + this._api.parity.getNewDappsAddresses(), + this._api.parity.allAccountsInfo() + ]) + .then(([whitelist, allAccounts]) => { + transaction(() => { + const accounts = Object + .keys(allAccounts) + .filter((address) => { + const account = allAccounts[address]; + const isAccount = account.uuid; + const isExternal = account.meta && (account.meta.external || account.meta.hardware); + const isWhitelisted = !whitelist || whitelist.includes(address); + + return (isAccount || isExternal) && isWhitelisted; + }) + .map((address) => { + return { + ...allAccounts[address], + checked: address === this.defaultAccount, + address + }; + }); + + this.setLoading(false); + this.setAccounts(accounts); + }); + }) + .catch((error) => { + this.setLoading(false); + console.warn('loadAccounts', error); + }); + } + + subscribeDefaultAccount () { + const promiseDefaultAccount = this._api.subscribe('parity_defaultAccount', (error, defaultAccount) => { + if (!error) { + this.setDefaultAccount(defaultAccount); + } + }); + + const promiseEthAccounts = this._api.subscribe('eth_accounts', (error) => { + if (!error) { + this.loadAccounts(); + } + }); + + const promiseAccountsInfo = this._api + .subscribe('parity_allAccountsInfo', (error, accountsInfo) => { + if (!error) { + this.loadAccounts(); + } + }); + + return Promise.all([ promiseDefaultAccount, promiseEthAccounts, promiseAccountsInfo ]); + } +} diff --git a/js-old/src/views/ParityBar/accountStore.spec.js b/js-old/src/views/ParityBar/accountStore.spec.js new file mode 100644 index 0000000000000000000000000000000000000000..16cebf9e12bd6e73d5d2d2498c139229f5fe248d --- /dev/null +++ b/js-old/src/views/ParityBar/accountStore.spec.js @@ -0,0 +1,112 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import sinon from 'sinon'; + +import AccountStore from './accountStore'; + +import { ACCOUNT_DEFAULT, ACCOUNT_NEW, createApi } from './parityBar.test.js'; + +let api; +let store; + +function create () { + api = createApi(); + store = new AccountStore(api); + + return store; +} + +describe('views/ParityBar/AccountStore', () => { + beforeEach(() => { + create(); + }); + + describe('constructor', () => { + it('subscribes to defaultAccount', () => { + expect(api.subscribe).to.have.been.calledWith('parity_defaultAccount'); + }); + }); + + describe('@action', () => { + describe('setAccounts', () => { + it('sets the accounts', () => { + store.setAccounts('testing'); + expect(store.accounts).to.equal('testing'); + }); + }); + + describe('setDefaultAccount', () => { + it('sets the default account', () => { + store.setDefaultAccount('testing'); + expect(store.defaultAccount).to.equal('testing'); + }); + }); + + describe('setLoading', () => { + it('sets the loading status', () => { + store.setLoading('testing'); + expect(store.isLoading).to.equal('testing'); + }); + }); + }); + + describe('operations', () => { + describe('loadAccounts', () => { + beforeEach(() => { + sinon.spy(store, 'setAccounts'); + + return store.loadAccounts(); + }); + + afterEach(() => { + store.setAccounts.restore(); + }); + + it('calls into parity_getNewDappsAddresses', () => { + expect(api.parity.getNewDappsAddresses).to.have.been.called; + }); + + it('calls into parity_allAccountsInfo', () => { + expect(api.parity.allAccountsInfo).to.have.been.called; + }); + + it('sets the accounts', () => { + expect(store.setAccounts).to.have.been.called; + }); + }); + + describe('loadDefaultAccount', () => { + beforeEach(() => { + return store.loadDefaultAccount(); + }); + + it('load and set the default account', () => { + expect(store.defaultAccount).to.equal(ACCOUNT_DEFAULT); + }); + }); + + describe('makeDefaultAccount', () => { + beforeEach(() => { + return store.makeDefaultAccount(ACCOUNT_NEW); + }); + + it('calls into parity_setNewDappsDefaultAddress', () => { + expect(api.parity.setNewDappsDefaultAddress).to.have.been.calledWith(ACCOUNT_NEW); + }); + }); + }); +}); diff --git a/js/src/views/ParityBar/index.js b/js-old/src/views/ParityBar/index.js similarity index 100% rename from js/src/views/ParityBar/index.js rename to js-old/src/views/ParityBar/index.js diff --git a/js/src/views/ParityBar/parityBar.css b/js-old/src/views/ParityBar/parityBar.css similarity index 100% rename from js/src/views/ParityBar/parityBar.css rename to js-old/src/views/ParityBar/parityBar.css diff --git a/js/src/views/ParityBar/parityBar.js b/js-old/src/views/ParityBar/parityBar.js similarity index 100% rename from js/src/views/ParityBar/parityBar.js rename to js-old/src/views/ParityBar/parityBar.js diff --git a/js/src/views/ParityBar/parityBar.spec.js b/js-old/src/views/ParityBar/parityBar.spec.js similarity index 100% rename from js/src/views/ParityBar/parityBar.spec.js rename to js-old/src/views/ParityBar/parityBar.spec.js diff --git a/js/src/views/ParityBar/parityBar.test.js b/js-old/src/views/ParityBar/parityBar.test.js similarity index 100% rename from js/src/views/ParityBar/parityBar.test.js rename to js-old/src/views/ParityBar/parityBar.test.js diff --git a/js/src/views/RpcCalls/actions/localstorage.js b/js-old/src/views/RpcCalls/actions/localstorage.js similarity index 100% rename from js/src/views/RpcCalls/actions/localstorage.js rename to js-old/src/views/RpcCalls/actions/localstorage.js diff --git a/js/src/views/RpcCalls/actions/logger.js b/js-old/src/views/RpcCalls/actions/logger.js similarity index 100% rename from js/src/views/RpcCalls/actions/logger.js rename to js-old/src/views/RpcCalls/actions/logger.js diff --git a/js/src/views/RpcCalls/actions/rpc.js b/js-old/src/views/RpcCalls/actions/rpc.js similarity index 100% rename from js/src/views/RpcCalls/actions/rpc.js rename to js-old/src/views/RpcCalls/actions/rpc.js diff --git a/js/src/views/RpcCalls/components/AutoComplete/AutoComplete.js b/js-old/src/views/RpcCalls/components/AutoComplete/AutoComplete.js similarity index 100% rename from js/src/views/RpcCalls/components/AutoComplete/AutoComplete.js rename to js-old/src/views/RpcCalls/components/AutoComplete/AutoComplete.js diff --git a/js/src/views/RpcCalls/components/AutoComplete/AutoComplete.spec.js b/js-old/src/views/RpcCalls/components/AutoComplete/AutoComplete.spec.js similarity index 100% rename from js/src/views/RpcCalls/components/AutoComplete/AutoComplete.spec.js rename to js-old/src/views/RpcCalls/components/AutoComplete/AutoComplete.spec.js diff --git a/js/src/views/RpcCalls/components/AutoComplete/index.js b/js-old/src/views/RpcCalls/components/AutoComplete/index.js similarity index 100% rename from js/src/views/RpcCalls/components/AutoComplete/index.js rename to js-old/src/views/RpcCalls/components/AutoComplete/index.js diff --git a/js/src/views/RpcCalls/components/Box/Box.js b/js-old/src/views/RpcCalls/components/Box/Box.js similarity index 100% rename from js/src/views/RpcCalls/components/Box/Box.js rename to js-old/src/views/RpcCalls/components/Box/Box.js diff --git a/js/src/views/RpcCalls/components/Box/Box.spec.js b/js-old/src/views/RpcCalls/components/Box/Box.spec.js similarity index 100% rename from js/src/views/RpcCalls/components/Box/Box.spec.js rename to js-old/src/views/RpcCalls/components/Box/Box.spec.js diff --git a/js/src/views/RpcCalls/components/Box/index.js b/js-old/src/views/RpcCalls/components/Box/index.js similarity index 100% rename from js/src/views/RpcCalls/components/Box/index.js rename to js-old/src/views/RpcCalls/components/Box/index.js diff --git a/js/src/views/RpcCalls/components/Call/Call.css b/js-old/src/views/RpcCalls/components/Call/Call.css similarity index 100% rename from js/src/views/RpcCalls/components/Call/Call.css rename to js-old/src/views/RpcCalls/components/Call/Call.css diff --git a/js/src/views/RpcCalls/components/Call/Call.js b/js-old/src/views/RpcCalls/components/Call/Call.js similarity index 100% rename from js/src/views/RpcCalls/components/Call/Call.js rename to js-old/src/views/RpcCalls/components/Call/Call.js diff --git a/js/src/views/RpcCalls/components/Call/Call.spec.js b/js-old/src/views/RpcCalls/components/Call/Call.spec.js similarity index 100% rename from js/src/views/RpcCalls/components/Call/Call.spec.js rename to js-old/src/views/RpcCalls/components/Call/Call.spec.js diff --git a/js/src/views/RpcCalls/components/Call/index.js b/js-old/src/views/RpcCalls/components/Call/index.js similarity index 100% rename from js/src/views/RpcCalls/components/Call/index.js rename to js-old/src/views/RpcCalls/components/Call/index.js diff --git a/js/src/views/RpcCalls/components/Calls/Calls.css b/js-old/src/views/RpcCalls/components/Calls/Calls.css similarity index 100% rename from js/src/views/RpcCalls/components/Calls/Calls.css rename to js-old/src/views/RpcCalls/components/Calls/Calls.css diff --git a/js/src/views/RpcCalls/components/Calls/Calls.js b/js-old/src/views/RpcCalls/components/Calls/Calls.js similarity index 100% rename from js/src/views/RpcCalls/components/Calls/Calls.js rename to js-old/src/views/RpcCalls/components/Calls/Calls.js diff --git a/js/src/views/RpcCalls/components/Calls/Calls.spec.js b/js-old/src/views/RpcCalls/components/Calls/Calls.spec.js similarity index 100% rename from js/src/views/RpcCalls/components/Calls/Calls.spec.js rename to js-old/src/views/RpcCalls/components/Calls/Calls.spec.js diff --git a/js/src/views/RpcCalls/components/Calls/index.js b/js-old/src/views/RpcCalls/components/Calls/index.js similarity index 100% rename from js/src/views/RpcCalls/components/Calls/index.js rename to js-old/src/views/RpcCalls/components/Calls/index.js diff --git a/js/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.css b/js-old/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.css similarity index 100% rename from js/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.css rename to js-old/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.css diff --git a/js/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.js b/js-old/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.js similarity index 100% rename from js/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.js rename to js-old/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.js diff --git a/js/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.spec.js b/js-old/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.spec.js similarity index 100% rename from js/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.spec.js rename to js-old/src/views/RpcCalls/components/CallsToolbar/CallsToolbar.spec.js diff --git a/js/src/views/RpcCalls/components/CallsToolbar/index.js b/js-old/src/views/RpcCalls/components/CallsToolbar/index.js similarity index 100% rename from js/src/views/RpcCalls/components/CallsToolbar/index.js rename to js-old/src/views/RpcCalls/components/CallsToolbar/index.js diff --git a/js/src/views/RpcCalls/components/EditableValue/EditableValue.css b/js-old/src/views/RpcCalls/components/EditableValue/EditableValue.css similarity index 100% rename from js/src/views/RpcCalls/components/EditableValue/EditableValue.css rename to js-old/src/views/RpcCalls/components/EditableValue/EditableValue.css diff --git a/js/src/views/RpcCalls/components/EditableValue/EditableValue.js b/js-old/src/views/RpcCalls/components/EditableValue/EditableValue.js similarity index 100% rename from js/src/views/RpcCalls/components/EditableValue/EditableValue.js rename to js-old/src/views/RpcCalls/components/EditableValue/EditableValue.js diff --git a/js/src/views/RpcCalls/components/EditableValue/index.js b/js-old/src/views/RpcCalls/components/EditableValue/index.js similarity index 100% rename from js/src/views/RpcCalls/components/EditableValue/index.js rename to js-old/src/views/RpcCalls/components/EditableValue/index.js diff --git a/js/src/views/RpcCalls/components/JsonEditor/JsonEditor.css b/js-old/src/views/RpcCalls/components/JsonEditor/JsonEditor.css similarity index 100% rename from js/src/views/RpcCalls/components/JsonEditor/JsonEditor.css rename to js-old/src/views/RpcCalls/components/JsonEditor/JsonEditor.css diff --git a/js/src/views/RpcCalls/components/JsonEditor/JsonEditor.js b/js-old/src/views/RpcCalls/components/JsonEditor/JsonEditor.js similarity index 100% rename from js/src/views/RpcCalls/components/JsonEditor/JsonEditor.js rename to js-old/src/views/RpcCalls/components/JsonEditor/JsonEditor.js diff --git a/js/src/views/RpcCalls/components/JsonEditor/index.js b/js-old/src/views/RpcCalls/components/JsonEditor/index.js similarity index 100% rename from js/src/views/RpcCalls/components/JsonEditor/index.js rename to js-old/src/views/RpcCalls/components/JsonEditor/index.js diff --git a/js/src/views/RpcCalls/components/Markdown/Markdown.css b/js-old/src/views/RpcCalls/components/Markdown/Markdown.css similarity index 100% rename from js/src/views/RpcCalls/components/Markdown/Markdown.css rename to js-old/src/views/RpcCalls/components/Markdown/Markdown.css diff --git a/js/src/views/RpcCalls/components/Markdown/Markdown.js b/js-old/src/views/RpcCalls/components/Markdown/Markdown.js similarity index 100% rename from js/src/views/RpcCalls/components/Markdown/Markdown.js rename to js-old/src/views/RpcCalls/components/Markdown/Markdown.js diff --git a/js/src/views/RpcCalls/components/Markdown/index.js b/js-old/src/views/RpcCalls/components/Markdown/index.js similarity index 100% rename from js/src/views/RpcCalls/components/Markdown/index.js rename to js-old/src/views/RpcCalls/components/Markdown/index.js diff --git a/js/src/views/RpcCalls/components/Response/Response.css b/js-old/src/views/RpcCalls/components/Response/Response.css similarity index 100% rename from js/src/views/RpcCalls/components/Response/Response.css rename to js-old/src/views/RpcCalls/components/Response/Response.css diff --git a/js/src/views/RpcCalls/components/Response/Response.js b/js-old/src/views/RpcCalls/components/Response/Response.js similarity index 100% rename from js/src/views/RpcCalls/components/Response/Response.js rename to js-old/src/views/RpcCalls/components/Response/Response.js diff --git a/js/src/views/RpcCalls/components/Response/Response.spec.js b/js-old/src/views/RpcCalls/components/Response/Response.spec.js similarity index 100% rename from js/src/views/RpcCalls/components/Response/Response.spec.js rename to js-old/src/views/RpcCalls/components/Response/Response.spec.js diff --git a/js/src/views/RpcCalls/components/Response/index.js b/js-old/src/views/RpcCalls/components/Response/index.js similarity index 100% rename from js/src/views/RpcCalls/components/Response/index.js rename to js-old/src/views/RpcCalls/components/Response/index.js diff --git a/js/src/views/RpcCalls/components/RpcCalls/RpcCalls.css b/js-old/src/views/RpcCalls/components/RpcCalls/RpcCalls.css similarity index 100% rename from js/src/views/RpcCalls/components/RpcCalls/RpcCalls.css rename to js-old/src/views/RpcCalls/components/RpcCalls/RpcCalls.css diff --git a/js/src/views/RpcCalls/components/RpcCalls/RpcCalls.js b/js-old/src/views/RpcCalls/components/RpcCalls/RpcCalls.js similarity index 100% rename from js/src/views/RpcCalls/components/RpcCalls/RpcCalls.js rename to js-old/src/views/RpcCalls/components/RpcCalls/RpcCalls.js diff --git a/js/src/views/RpcCalls/components/RpcCalls/index.js b/js-old/src/views/RpcCalls/components/RpcCalls/index.js similarity index 100% rename from js/src/views/RpcCalls/components/RpcCalls/index.js rename to js-old/src/views/RpcCalls/components/RpcCalls/index.js diff --git a/js/src/views/RpcCalls/components/RpcDocs/RpcDocs.css b/js-old/src/views/RpcCalls/components/RpcDocs/RpcDocs.css similarity index 100% rename from js/src/views/RpcCalls/components/RpcDocs/RpcDocs.css rename to js-old/src/views/RpcCalls/components/RpcDocs/RpcDocs.css diff --git a/js/src/views/RpcCalls/components/RpcDocs/RpcDocs.js b/js-old/src/views/RpcCalls/components/RpcDocs/RpcDocs.js similarity index 100% rename from js/src/views/RpcCalls/components/RpcDocs/RpcDocs.js rename to js-old/src/views/RpcCalls/components/RpcDocs/RpcDocs.js diff --git a/js/src/views/RpcCalls/components/RpcDocs/index.js b/js-old/src/views/RpcCalls/components/RpcDocs/index.js similarity index 100% rename from js/src/views/RpcCalls/components/RpcDocs/index.js rename to js-old/src/views/RpcCalls/components/RpcDocs/index.js diff --git a/js/src/views/RpcCalls/components/RpcNav/RpcNav.css b/js-old/src/views/RpcCalls/components/RpcNav/RpcNav.css similarity index 100% rename from js/src/views/RpcCalls/components/RpcNav/RpcNav.css rename to js-old/src/views/RpcCalls/components/RpcNav/RpcNav.css diff --git a/js/src/views/RpcCalls/components/RpcNav/RpcNav.js b/js-old/src/views/RpcCalls/components/RpcNav/RpcNav.js similarity index 100% rename from js/src/views/RpcCalls/components/RpcNav/RpcNav.js rename to js-old/src/views/RpcCalls/components/RpcNav/RpcNav.js diff --git a/js/src/views/RpcCalls/components/RpcNav/index.js b/js-old/src/views/RpcCalls/components/RpcNav/index.js similarity index 100% rename from js/src/views/RpcCalls/components/RpcNav/index.js rename to js-old/src/views/RpcCalls/components/RpcNav/index.js diff --git a/js/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.css b/js-old/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.css similarity index 100% rename from js/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.css rename to js-old/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.css diff --git a/js/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.js b/js-old/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.js similarity index 100% rename from js/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.js rename to js-old/src/views/RpcCalls/components/ScrollTopButton/ScrollTopButton.js diff --git a/js/src/views/RpcCalls/components/ScrollTopButton/index.js b/js-old/src/views/RpcCalls/components/ScrollTopButton/index.js similarity index 100% rename from js/src/views/RpcCalls/components/ScrollTopButton/index.js rename to js-old/src/views/RpcCalls/components/ScrollTopButton/index.js diff --git a/js/src/views/RpcCalls/components/ScrollTopButton/util.js b/js-old/src/views/RpcCalls/components/ScrollTopButton/util.js similarity index 100% rename from js/src/views/RpcCalls/components/ScrollTopButton/util.js rename to js-old/src/views/RpcCalls/components/ScrollTopButton/util.js diff --git a/js/src/views/RpcCalls/constants/index.js b/js-old/src/views/RpcCalls/constants/index.js similarity index 100% rename from js/src/views/RpcCalls/constants/index.js rename to js-old/src/views/RpcCalls/constants/index.js diff --git a/js/src/views/RpcCalls/containers/RpcPage/RpcPage.js b/js-old/src/views/RpcCalls/containers/RpcPage/RpcPage.js similarity index 100% rename from js/src/views/RpcCalls/containers/RpcPage/RpcPage.js rename to js-old/src/views/RpcCalls/containers/RpcPage/RpcPage.js diff --git a/js/src/views/RpcCalls/containers/RpcPage/index.js b/js-old/src/views/RpcCalls/containers/RpcPage/index.js similarity index 100% rename from js/src/views/RpcCalls/containers/RpcPage/index.js rename to js-old/src/views/RpcCalls/containers/RpcPage/index.js diff --git a/js/src/views/RpcCalls/data/rpc.json b/js-old/src/views/RpcCalls/data/rpc.json similarity index 100% rename from js/src/views/RpcCalls/data/rpc.json rename to js-old/src/views/RpcCalls/data/rpc.json diff --git a/js/src/views/RpcCalls/middleware/index.js b/js-old/src/views/RpcCalls/middleware/index.js similarity index 100% rename from js/src/views/RpcCalls/middleware/index.js rename to js-old/src/views/RpcCalls/middleware/index.js diff --git a/js/src/views/RpcCalls/middleware/localstorage.js b/js-old/src/views/RpcCalls/middleware/localstorage.js similarity index 100% rename from js/src/views/RpcCalls/middleware/localstorage.js rename to js-old/src/views/RpcCalls/middleware/localstorage.js diff --git a/js/src/views/RpcCalls/middleware/localstorage.spec.js b/js-old/src/views/RpcCalls/middleware/localstorage.spec.js similarity index 100% rename from js/src/views/RpcCalls/middleware/localstorage.spec.js rename to js-old/src/views/RpcCalls/middleware/localstorage.spec.js diff --git a/js/src/views/RpcCalls/reducers/index.js b/js-old/src/views/RpcCalls/reducers/index.js similarity index 100% rename from js/src/views/RpcCalls/reducers/index.js rename to js-old/src/views/RpcCalls/reducers/index.js diff --git a/js/src/views/RpcCalls/reducers/logger.js b/js-old/src/views/RpcCalls/reducers/logger.js similarity index 100% rename from js/src/views/RpcCalls/reducers/logger.js rename to js-old/src/views/RpcCalls/reducers/logger.js diff --git a/js/src/views/RpcCalls/reducers/rpc.js b/js-old/src/views/RpcCalls/reducers/rpc.js similarity index 100% rename from js/src/views/RpcCalls/reducers/rpc.js rename to js-old/src/views/RpcCalls/reducers/rpc.js diff --git a/js/src/views/RpcCalls/util/error.js b/js-old/src/views/RpcCalls/util/error.js similarity index 100% rename from js/src/views/RpcCalls/util/error.js rename to js-old/src/views/RpcCalls/util/error.js diff --git a/js/src/views/RpcCalls/util/error.spec.js b/js-old/src/views/RpcCalls/util/error.spec.js similarity index 100% rename from js/src/views/RpcCalls/util/error.spec.js rename to js-old/src/views/RpcCalls/util/error.spec.js diff --git a/js/src/views/RpcCalls/util/index.js b/js-old/src/views/RpcCalls/util/index.js similarity index 100% rename from js/src/views/RpcCalls/util/index.js rename to js-old/src/views/RpcCalls/util/index.js diff --git a/js/src/views/RpcCalls/util/index.spec.js b/js-old/src/views/RpcCalls/util/index.spec.js similarity index 100% rename from js/src/views/RpcCalls/util/index.spec.js rename to js-old/src/views/RpcCalls/util/index.spec.js diff --git a/js/src/views/RpcCalls/util/react.js b/js-old/src/views/RpcCalls/util/react.js similarity index 100% rename from js/src/views/RpcCalls/util/react.js rename to js-old/src/views/RpcCalls/util/react.js diff --git a/js/src/views/RpcCalls/util/rpc-md.js b/js-old/src/views/RpcCalls/util/rpc-md.js similarity index 100% rename from js/src/views/RpcCalls/util/rpc-md.js rename to js-old/src/views/RpcCalls/util/rpc-md.js diff --git a/js/src/views/Settings/Background/background.css b/js-old/src/views/Settings/Background/background.css similarity index 100% rename from js/src/views/Settings/Background/background.css rename to js-old/src/views/Settings/Background/background.css diff --git a/js/src/views/Settings/Background/background.js b/js-old/src/views/Settings/Background/background.js similarity index 100% rename from js/src/views/Settings/Background/background.js rename to js-old/src/views/Settings/Background/background.js diff --git a/js/src/views/Settings/Background/index.js b/js-old/src/views/Settings/Background/index.js similarity index 100% rename from js/src/views/Settings/Background/index.js rename to js-old/src/views/Settings/Background/index.js diff --git a/js/src/views/Settings/Parity/index.js b/js-old/src/views/Settings/Parity/index.js similarity index 100% rename from js/src/views/Settings/Parity/index.js rename to js-old/src/views/Settings/Parity/index.js diff --git a/js/src/views/Settings/Parity/parity.js b/js-old/src/views/Settings/Parity/parity.js similarity index 96% rename from js/src/views/Settings/Parity/parity.js rename to js-old/src/views/Settings/Parity/parity.js index 853ba3aa193211a7c977d9d3802c50c57e72d984..7de9b8061e19f4da36464792db985791211b2c91 100644 --- a/js/src/views/Settings/Parity/parity.js +++ b/js-old/src/views/Settings/Parity/parity.js @@ -46,8 +46,6 @@ export default class Parity extends Component { } > - -
@@ -60,10 +58,10 @@ export default class Parity extends Component {
{ this.renderChains() } { this.renderModes() } +
- { this.renderLogsConfig() } ); @@ -263,14 +261,6 @@ export default class Parity extends Component { /> )) } - { - this.renderItem('musicoin', ( - - )) - } { this.renderItem('dev', ( p { diff --git a/js/src/views/Signer/components/SignRequest/signRequest.js b/js-old/src/views/Signer/components/SignRequest/signRequest.js similarity index 83% rename from js/src/views/Signer/components/SignRequest/signRequest.js rename to js-old/src/views/Signer/components/SignRequest/signRequest.js index bad7e55dd9dcff2239467fc819d0605c1739812f..2f97f140f5f0382245988f7152449de5bf74a643 100644 --- a/js/src/views/Signer/components/SignRequest/signRequest.js +++ b/js-old/src/views/Signer/components/SignRequest/signRequest.js @@ -18,10 +18,8 @@ import { observer } from 'mobx-react'; import React, { Component, PropTypes } from 'react'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; -import ReactMarkdown from 'react-markdown'; import ReactTooltip from 'react-tooltip'; -import { hexToAscii } from '~/api/util/format'; import HardwareStore from '~/mobx/hardwareStore'; import Account from '../Account'; @@ -31,39 +29,16 @@ import RequestOrigin from '../RequestOrigin'; import styles from './signRequest.css'; function isAscii (data) { - for (let i = 2; i < data.length; i += 2) { + for (var i = 2; i < data.length; i += 2) { let n = parseInt(data.substr(i, 2), 16); if (n < 32 || n >= 128) { return false; } } - return true; } -function decodeMarkdown (data) { - return decodeURIComponent(escape(hexToAscii(data))); -} - -export function isMarkdown (data) { - try { - const decoded = decodeMarkdown(data); - - for (let i = 0; i < decoded.length; i++) { - const code = decoded.charCodeAt(i); - - if (code < 32 && code !== 10) { - return false; - } - } - - return decoded.indexOf('#') !== -1 || decoded.indexOf('*') !== -1; - } catch (error) { - return false; - } -} - @observer class SignRequest extends Component { static contextTypes = { @@ -138,26 +113,29 @@ class SignRequest extends Component { ); } - renderData (data) { - if (isAscii(data)) { - return hexToAscii(data); - } - - if (isMarkdown(data)) { - return ( - - ); - } + renderAsciiDetails (ascii) { + return ( +
+

{ascii}

+
+ ); + } + renderBinaryDetails (data) { return ( - +
+

+ +

+
); } renderDetails () { + const { api } = this.context; const { address, data, netVersion, origin, signerStore } = this.props; const { hashToSign } = this.state; const { balances, externalLink } = signerStore; @@ -171,14 +149,12 @@ class SignRequest extends Component { const tooltip = [ , -
, +
, @@ -212,14 +188,16 @@ class SignRequest extends Component { defaultMessage='A request to sign data using your account:' />

-
-

{ this.renderData(data) }

-
+ { + isAscii(data) + ? this.renderAsciiDetails(api.util.hexToAscii(data)) + : this.renderBinaryDetails(data) + }

diff --git a/js/src/views/Signer/components/SignRequest/signRequest.spec.js b/js-old/src/views/Signer/components/SignRequest/signRequest.spec.js similarity index 50% rename from js/src/views/Signer/components/SignRequest/signRequest.spec.js rename to js-old/src/views/Signer/components/SignRequest/signRequest.spec.js index 3cd9a33ded6bd5599bb2019d01dea23548c1e882..7cc61601b7875d2a2c9ba5e9795020ec73708dab 100644 --- a/js/src/views/Signer/components/SignRequest/signRequest.spec.js +++ b/js-old/src/views/Signer/components/SignRequest/signRequest.spec.js @@ -18,9 +18,7 @@ import { shallow } from 'enzyme'; import React from 'react'; import sinon from 'sinon'; -import { asciiToHex } from '~/api/util/format'; - -import SignRequest, { isMarkdown } from './signRequest'; +import SignRequest from './'; let component; let reduxStore; @@ -50,32 +48,27 @@ function createReduxStore () { function render () { reduxStore = createReduxStore(); signerStore = createSignerStore(); - const context = { - store: reduxStore, - api: { - transport: { - on: sinon.stub() - }, - pubsub: { - subscribeAndGetResult: sinon.stub().returns(Promise.resolve(1)) - }, - util: { - sha3: (x) => x, - hexToBytes: (x) => x, - asciiToHex: (x) => x - } - } - }; component = shallow( , - { context } - ).find('SignRequest').shallow({ context }); + { + context: { + store: reduxStore, + api: { + util: { + sha3: (x) => x, + hexToBytes: (x) => x, + asciiToHex: (x) => x + } + } + } + } + ).find('SignRequest').shallow(); return component; } -describe('views/Signer/components/SignRequest', () => { +describe.only('views/Signer/components/SignRequest', () => { beforeEach(() => { render(); }); @@ -83,24 +76,4 @@ describe('views/Signer/components/SignRequest', () => { it('renders', () => { expect(component).to.be.ok; }); - - describe('isMarkdown', () => { - it('returns true for markdown', () => { - const testMd = '# this is some\n\n*markdown*'; - const encodedMd = asciiToHex(unescape(encodeURIComponent(testMd))); - - expect(isMarkdown(encodedMd)).to.be.true; - }); - - it('return true with utf-8 markdown', () => { - const testMd = '# header\n\n(n) you are not a citizen of, or resident in, or located in, or incorporated or otherwise established in, the People\'s Republic of China 参与方并非中华人民共和国公民,或不常住中华人民共和国,或不位于中华人民共和国境内,或并非在中华人民共和国设立或以其他方式组建; and'; - const encodedMd = asciiToHex(unescape(encodeURIComponent(testMd))); - - expect(isMarkdown(encodedMd)).to.be.true; - }); - - it('returns false for random data', () => { - expect(isMarkdown('0x1234')).to.be.false; - }); - }); }); diff --git a/js/src/views/Signer/components/TransactionMainDetails/index.js b/js-old/src/views/Signer/components/TransactionMainDetails/index.js similarity index 100% rename from js/src/views/Signer/components/TransactionMainDetails/index.js rename to js-old/src/views/Signer/components/TransactionMainDetails/index.js diff --git a/js/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.css b/js-old/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.css similarity index 100% rename from js/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.css rename to js-old/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.css diff --git a/js/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.js b/js-old/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.js similarity index 100% rename from js/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.js rename to js-old/src/views/Signer/components/TransactionMainDetails/transactionMainDetails.js diff --git a/js/src/views/Signer/components/TransactionPending/index.js b/js-old/src/views/Signer/components/TransactionPending/index.js similarity index 100% rename from js/src/views/Signer/components/TransactionPending/index.js rename to js-old/src/views/Signer/components/TransactionPending/index.js diff --git a/js/src/views/Signer/components/TransactionPending/transactionPending.css b/js-old/src/views/Signer/components/TransactionPending/transactionPending.css similarity index 100% rename from js/src/views/Signer/components/TransactionPending/transactionPending.css rename to js-old/src/views/Signer/components/TransactionPending/transactionPending.css diff --git a/js/src/views/Signer/components/TransactionPending/transactionPending.js b/js-old/src/views/Signer/components/TransactionPending/transactionPending.js similarity index 95% rename from js/src/views/Signer/components/TransactionPending/transactionPending.js rename to js-old/src/views/Signer/components/TransactionPending/transactionPending.js index 2d6797b69e58bcbf17eec998beaa45723284341d..b9cc8f684ba627d4ea24dc9b722124c75ccd5824 100644 --- a/js/src/views/Signer/components/TransactionPending/transactionPending.js +++ b/js-old/src/views/Signer/components/TransactionPending/transactionPending.js @@ -36,7 +36,6 @@ class TransactionPending extends Component { }; static propTypes = { - availability: PropTypes.string.isRequired, accounts: PropTypes.object.isRequired, className: PropTypes.string, date: PropTypes.instanceOf(Date).isRequired, @@ -141,11 +140,11 @@ class TransactionPending extends Component { } renderTxEditor () { - const { availability, className } = this.props; + const { className } = this.props; return (
- +