diff --git a/.bithoundrc b/.bithoundrc deleted file mode 100644 index 31a10e6..0000000 --- a/.bithoundrc +++ /dev/null @@ -1,53 +0,0 @@ -{ - "ignore": [ - "**/deps/**", - "**/node_modules/**", - "**/thirdparty/**", - "**/third_party/**", - "**/vendor/**", - "**/**-min-**", - "**/**-min.**", - "**/**.min.**", - "**/**jquery.?(ui|effects)-*.*.?(*).?(cs|j)s", - "**/**jquery-*.*.?(*).?(cs|j)s", - "**/prototype?(*).js", - "**/**?(*).ts", - "**/mootools*.*.*.js", - "**/dojo.js", - "**/MochiKit.js", - "**/yahoo-*.js", - "**/yui*.js", - "**/ckeditor*.js", - "**/tiny_mce*.js", - "**/tiny_mce/?(langs|plugins|themes|utils)/**", - "**/MathJax/**", - "**/shBrush*.js", - "**/shCore.js", - "**/shLegacy.js", - "**/modernizr.custom.?(*).js", - "**/knockout-*.*.*.debug.js", - "**/extjs/*.js", - "**/extjs/*.xml", - "**/extjs/*.txt", - "**/extjs/*.html", - "**/extjs/*.properties", - "**/extjs/.sencha", - "**/extjs/docs/**", - "**/extjs/builds/**", - "**/extjs/cmd/**", - "**/extjs/examples/**", - "**/extjs/locale/**", - "**/extjs/packages/**", - "**/extjs/plugins/**", - "**/extjs/resources/**", - "**/extjs/src/**", - "**/extjs/welcome/**", - "bower_components/**" - ], - "test": [ - "**/test/**", - "**/tests/**", - "**/spec/**", - "**/specs/**" - ] -} diff --git a/README.md b/README.md index 6f6c1e9..468972f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# phonegap-plugin-contentsync [![Build Status](https://travis-ci.org/phonegap/phonegap-plugin-contentsync.svg?branch=master)](https://travis-ci.org/phonegap/phonegap-plugin-contentsync) [![bitHound Score][bithound-img]][bithound-url] +# phonegap-plugin-contentsync [![Build Status](https://travis-ci.org/phonegap/phonegap-plugin-contentsync.svg?branch=master)](https://travis-ci.org/phonegap/phonegap-plugin-contentsync) > Download and cache remotely hosted zipped content bundles, unzipping automatically. @@ -20,7 +20,9 @@ phonegap plugin add https://github.com/phonegap/phonegap-plugin-contentsync - Android - iOS -- WP8 +- Windows UWP** + +> **While windows supports the full api defined here, the ability to navigate your app to the newly downloaded content is not supported because of security restrictions in windows, and the way that cordova-window is architected. ## Quick Example @@ -265,7 +267,7 @@ sync.on('complete', function(data) { }); ``` -As of version 1.2.0 of the plugin the location in which the plugin stores the synched content is equivaltent to the `cordova.file.dataDirectory` path from the `cordova-plugin-file` package. This is a change from previous versions so please be aware you may need to do a full sync after upgrading to version 1.2.0. +As of version 1.2.0 of the plugin the location in which the plugin stores the synced content is equivaltent to the `cordova.file.dataDirectory` path from the `cordova-plugin-file` package. This is a change from previous versions so please be aware you may need to do a full sync after upgrading to version 1.2.0. Platform | Path ------------------ | ----------- @@ -301,7 +303,7 @@ This results in the `copyRootApp` taking about a third of the time as when a man ## Persistence of Synced Content -Content downloaded via this plugin persists between runs of the application or reboots of the phone. The content will only be removed if the application is uninstalled or you use the File API to remove the location of the synched content. +Content downloaded via this plugin persists between runs of the application or reboots of the phone. The content will only be removed if the application is uninstalled or you use the File API to remove the location of the synced content. ## Native Requirements @@ -372,5 +374,4 @@ or on-edit linting. [travis-ci-img]: https://travis-ci.org/phonegap/phonegap-plugin-contentsync.svg?branch=master [travis-ci-url]: http://travis-ci.org/phonegap/phonegap-plugin-contentsync -[bithound-img]: https://www.bithound.io/github/phonegap/phonegap-plugin-contentsync/badges/score.svg -[bithound-url]: https://www.bithound.io/github/phonegap/phonegap-plugin-contentsync + diff --git a/package-lock.json b/package-lock.json index 226b340..6a15a0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "phonegap-plugin-contentsync", - "version": "1.4.0", + "version": "1.4.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -10,7 +10,7 @@ "integrity": "sha1-LwwWWIKXOa3V67FeawxuNCPwFro=", "dev": true, "requires": { - "string-width": "1.0.2" + "string-width": "^1.0.1" } }, "ansi-escapes": { @@ -49,7 +49,7 @@ "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", "dev": true, "requires": { - "array-uniq": "1.0.3" + "array-uniq": "^1.0.1" } }, "array-uniq": { @@ -67,8 +67,7 @@ "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "boxen": { "version": "0.6.0", @@ -76,24 +75,23 @@ "integrity": "sha1-g2TUJIrDT/DvGy8r9JpsYM4NgbY=", "dev": true, "requires": { - "ansi-align": "1.1.0", - "camelcase": "2.1.1", - "chalk": "1.1.3", - "cli-boxes": "1.0.0", - "filled-array": "1.1.0", - "object-assign": "4.1.1", - "repeating": "2.0.1", - "string-width": "1.0.2", - "widest-line": "1.0.0" + "ansi-align": "^1.1.0", + "camelcase": "^2.1.0", + "chalk": "^1.1.1", + "cli-boxes": "^1.0.0", + "filled-array": "^1.0.0", + "object-assign": "^4.0.1", + "repeating": "^2.0.0", + "string-width": "^1.0.1", + "widest-line": "^1.0.0" } }, "brace-expansion": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", - "dev": true, "requires": { - "balanced-match": "1.0.0", + "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, @@ -115,8 +113,8 @@ "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", "dev": true, "requires": { - "camelcase": "2.1.1", - "map-obj": "1.0.1" + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" } }, "capture-stack-trace": { @@ -131,11 +129,11 @@ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "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" + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" } }, "cli-boxes": { @@ -150,7 +148,7 @@ "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", "dev": true, "requires": { - "restore-cursor": "1.0.1" + "restore-cursor": "^1.0.1" } }, "cli-spinners": { @@ -165,17 +163,10 @@ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, - "coffee-script": { - "version": "1.12.7", - "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz", - "integrity": "sha512-fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==", - "dev": true - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "configstore": { "version": "2.1.0", @@ -183,15 +174,15 @@ "integrity": "sha1-c3o6cDbpiGECqmCZ5HuzOrGroaE=", "dev": true, "requires": { - "dot-prop": "3.0.0", - "graceful-fs": "4.1.11", - "mkdirp": "0.5.1", - "object-assign": "4.1.1", - "os-tmpdir": "1.0.2", - "osenv": "0.1.4", - "uuid": "2.0.3", - "write-file-atomic": "1.3.4", - "xdg-basedir": "2.0.0" + "dot-prop": "^3.0.0", + "graceful-fs": "^4.1.2", + "mkdirp": "^0.5.0", + "object-assign": "^4.0.1", + "os-tmpdir": "^1.0.0", + "osenv": "^0.1.0", + "uuid": "^2.0.1", + "write-file-atomic": "^1.1.2", + "xdg-basedir": "^2.0.0" }, "dependencies": { "minimist": { @@ -223,7 +214,7 @@ "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", "dev": true, "requires": { - "capture-stack-trace": "1.0.0" + "capture-stack-trace": "^1.0.0" } }, "cross-spawn-async": { @@ -232,8 +223,8 @@ "integrity": "sha1-hF/wwINKPe2dFg2sptOQkGuyiMw=", "dev": true, "requires": { - "lru-cache": "4.1.1", - "which": "1.3.0" + "lru-cache": "^4.0.0", + "which": "^1.2.8" }, "dependencies": { "lru-cache": { @@ -242,8 +233,8 @@ "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", "dev": true, "requires": { - "pseudomap": "1.0.2", - "yallist": "2.1.2" + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" } } } @@ -254,9 +245,15 @@ "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", "dev": true, "requires": { - "array-find-index": "1.0.2" + "array-find-index": "^1.0.1" } }, + "dateformat": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz", + "integrity": "sha1-QGXiATz5+5Ft39gu+1Bq1MZ2kGI=", + "dev": true + }, "decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", @@ -275,13 +272,13 @@ "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" + "globby": "^5.0.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "rimraf": "^2.2.8" } }, "dot-prop": { @@ -290,7 +287,7 @@ "integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=", "dev": true, "requires": { - "is-obj": "1.0.1" + "is-obj": "^1.0.0" } }, "duplexer2": { @@ -299,7 +296,7 @@ "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", "dev": true, "requires": { - "readable-stream": "2.3.3" + "readable-stream": "^2.0.2" } }, "error-ex": { @@ -308,7 +305,7 @@ "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", "dev": true, "requires": { - "is-arrayish": "0.2.1" + "is-arrayish": "^0.2.1" } }, "escape-string-regexp": { @@ -323,12 +320,12 @@ "integrity": "sha1-TrZGejaglfq7KXD/nV4/t7zm68M=", "dev": true, "requires": { - "cross-spawn-async": "2.2.5", - "is-stream": "1.1.0", - "npm-run-path": "1.0.0", - "object-assign": "4.1.1", - "path-key": "1.0.0", - "strip-eof": "1.0.0" + "cross-spawn-async": "^2.1.1", + "is-stream": "^1.1.0", + "npm-run-path": "^1.0.0", + "object-assign": "^4.0.1", + "path-key": "^1.0.0", + "strip-eof": "^1.0.0" } }, "exit-hook": { @@ -343,18 +340,8 @@ "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", "dev": true, "requires": { - "escape-string-regexp": "1.0.5", - "object-assign": "4.1.1" - } - }, - "fileset": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/fileset/-/fileset-0.1.8.tgz", - "integrity": "sha1-UGuRqTluqn4y+0KoQHfHoMc2t0E=", - "dev": true, - "requires": { - "glob": "3.2.11", - "minimatch": "0.2.14" + "escape-string-regexp": "^1.0.5", + "object-assign": "^4.1.0" } }, "filled-array": { @@ -369,25 +356,14 @@ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "dev": true, "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "gaze": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/gaze/-/gaze-0.3.4.tgz", - "integrity": "sha1-X5S92gr+U7xxCWm81vKCVI1gwnk=", - "dev": true, - "requires": { - "fileset": "0.1.8", - "minimatch": "0.2.14" - } + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "get-stdin": { "version": "4.0.1", @@ -396,25 +372,16 @@ "dev": true }, "glob": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz", - "integrity": "sha1-Spc/Y1uRkPcV0QmH1cAP0oFevj0=", - "dev": true, + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "requires": { - "inherits": "2.0.3", - "minimatch": "0.3.0" - }, - "dependencies": { - "minimatch": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz", - "integrity": "sha1-J12O2qxPG7MyZHIInnlJyDlGmd0=", - "dev": true, - "requires": { - "lru-cache": "2.7.3", - "sigmund": "1.0.1" - } - } + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, "globby": { @@ -423,12 +390,12 @@ "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" + "array-union": "^1.0.1", + "arrify": "^1.0.0", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" }, "dependencies": { "glob": { @@ -437,12 +404,12 @@ "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" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, "minimatch": { @@ -451,7 +418,7 @@ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { - "brace-expansion": "1.1.8" + "brace-expansion": "^1.1.7" } } } @@ -462,21 +429,21 @@ "integrity": "sha1-X4FjWmHkplifGAVp6k44FoClHzU=", "dev": true, "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" + "create-error-class": "^3.0.1", + "duplexer2": "^0.1.4", + "is-redirect": "^1.0.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "lowercase-keys": "^1.0.0", + "node-status-codes": "^1.0.0", + "object-assign": "^4.0.1", + "parse-json": "^2.1.0", + "pinkie-promise": "^2.0.0", + "read-all-stream": "^3.0.0", + "readable-stream": "^2.0.5", + "timed-out": "^3.0.0", + "unzip-response": "^1.0.2", + "url-parse-lax": "^1.0.0" } }, "graceful-fs": { @@ -485,19 +452,13 @@ "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", "dev": true }, - "growl": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.7.0.tgz", - "integrity": "sha1-3i1mE20ALhErpw8/EMMc98NQsto=", - "dev": true - }, "has-ansi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, "hosted-git-info": { @@ -518,24 +479,22 @@ "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", "dev": true, "requires": { - "repeating": "2.0.1" + "repeating": "^2.0.0" } }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" + "once": "^1.3.0", + "wrappy": "1" } }, "inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, "ini": { "version": "1.3.4", @@ -555,7 +514,7 @@ "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "dev": true, "requires": { - "builtin-modules": "1.1.1" + "builtin-modules": "^1.0.0" } }, "is-finite": { @@ -564,7 +523,7 @@ "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", "dev": true, "requires": { - "number-is-nan": "1.0.1" + "number-is-nan": "^1.0.0" } }, "is-fullwidth-code-point": { @@ -573,7 +532,7 @@ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "requires": { - "number-is-nan": "1.0.1" + "number-is-nan": "^1.0.0" } }, "is-npm": { @@ -600,7 +559,7 @@ "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", "dev": true, "requires": { - "is-path-inside": "1.0.0" + "is-path-inside": "^1.0.0" } }, "is-path-inside": { @@ -609,7 +568,7 @@ "integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=", "dev": true, "requires": { - "path-is-inside": "1.0.2" + "path-is-inside": "^1.0.1" } }, "is-redirect": { @@ -648,39 +607,19 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "jasmine-growl-reporter": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/jasmine-growl-reporter/-/jasmine-growl-reporter-0.0.3.tgz", - "integrity": "sha1-uHrlUeNZ0orVIXdl6u9sB7dj9sg=", - "dev": true, + "jasmine": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.3.0.tgz", + "integrity": "sha512-haZzMvmoWSI2VCKfDgPqyEOPBQA7C1fgtIMgKNU4hVMcrVkWU5NPOWQqOTA6mVFyKcSUUrnkXu/ZEgY0bRnd6A==", "requires": { - "growl": "1.7.0" + "glob": "^7.0.6", + "jasmine-core": "~3.3.0" } }, - "jasmine-node": { - "version": "1.14.5", - "resolved": "https://registry.npmjs.org/jasmine-node/-/jasmine-node-1.14.5.tgz", - "integrity": "sha1-GOg5e4VpJO53ADZmw3MbWupQw50=", - "dev": true, - "requires": { - "coffee-script": "1.12.7", - "gaze": "0.3.4", - "jasmine-growl-reporter": "0.0.3", - "jasmine-reporters": "1.0.2", - "mkdirp": "0.3.5", - "requirejs": "2.3.5", - "underscore": "1.8.3", - "walkdir": "0.0.11" - } - }, - "jasmine-reporters": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/jasmine-reporters/-/jasmine-reporters-1.0.2.tgz", - "integrity": "sha1-q2E+1Zd9x0h+hbPBL2qOqNsq3jE=", - "dev": true, - "requires": { - "mkdirp": "0.3.5" - } + "jasmine-core": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.3.0.tgz", + "integrity": "sha512-3/xSmG/d35hf80BEN66Y6g9Ca5l/Isdeg/j6zvbTYlTzeKinzmaTM4p9am5kYqOmE05D7s1t8FGjzdSnbUbceA==" }, "latest-version": { "version": "2.0.0", @@ -688,7 +627,7 @@ "integrity": "sha1-VvjWE5YghHuAF/jx9NeOIRMkFos=", "dev": true, "requires": { - "package-json": "2.4.0" + "package-json": "^2.0.0" } }, "lazy-req": { @@ -703,15 +642,15 @@ "integrity": "sha1-IwLLJNKvAqrYSNEzEZy6//q50j0=", "dev": true, "requires": { - "chalk": "1.1.3", - "figures": "1.7.0", - "indent-string": "2.1.0", - "is-stream": "1.1.0", - "log-symbols": "1.0.2", - "log-update": "1.0.2", - "ora": "0.2.3", - "stream-to-observable": "0.1.0", - "strip-ansi": "3.0.1" + "chalk": "^1.1.3", + "figures": "^1.7.0", + "indent-string": "^2.1.0", + "is-stream": "^1.1.0", + "log-symbols": "^1.0.2", + "log-update": "^1.0.2", + "ora": "^0.2.3", + "stream-to-observable": "^0.1.0", + "strip-ansi": "^3.0.1" }, "dependencies": { "stream-to-observable": { @@ -728,11 +667,11 @@ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "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" + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" } }, "log-symbols": { @@ -741,7 +680,7 @@ "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", "dev": true, "requires": { - "chalk": "1.1.3" + "chalk": "^1.0.0" } }, "log-update": { @@ -750,8 +689,8 @@ "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", "dev": true, "requires": { - "ansi-escapes": "1.4.0", - "cli-cursor": "1.0.2" + "ansi-escapes": "^1.0.0", + "cli-cursor": "^1.0.2" } }, "loud-rejection": { @@ -760,8 +699,8 @@ "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", "dev": true, "requires": { - "currently-unhandled": "0.4.1", - "signal-exit": "3.0.2" + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" } }, "lowercase-keys": { @@ -770,12 +709,6 @@ "integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=", "dev": true }, - "lru-cache": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", - "integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=", - "dev": true - }, "map-obj": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", @@ -788,26 +721,24 @@ "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", "dev": true, "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" + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" } }, "minimatch": { - "version": "0.2.14", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz", - "integrity": "sha1-x054BXT2PG+aCQ6Q775u9TpqdWo=", - "dev": true, + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "requires": { - "lru-cache": "2.7.3", - "sigmund": "1.0.1" + "brace-expansion": "^1.1.7" } }, "minimist": { @@ -816,12 +747,6 @@ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, - "mkdirp": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz", - "integrity": "sha1-3j5fiWHIjHh+4TaN+EmsRBPsqNc=", - "dev": true - }, "node-status-codes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz", @@ -834,10 +759,10 @@ "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", "dev": true, "requires": { - "hosted-git-info": "2.5.0", - "is-builtin-module": "1.0.0", - "semver": "5.4.1", - "validate-npm-package-license": "3.0.1" + "hosted-git-info": "^2.1.4", + "is-builtin-module": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" } }, "npm-run-path": { @@ -846,7 +771,7 @@ "integrity": "sha1-9cMr9ZX+ga6Sfa7FLoL4sACsPI8=", "dev": true, "requires": { - "path-key": "1.0.0" + "path-key": "^1.0.0" } }, "number-is-nan": { @@ -865,9 +790,8 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "requires": { - "wrappy": "1.0.2" + "wrappy": "1" } }, "onetime": { @@ -882,10 +806,10 @@ "integrity": "sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q=", "dev": true, "requires": { - "chalk": "1.1.3", - "cli-cursor": "1.0.2", - "cli-spinners": "0.1.2", - "object-assign": "4.1.1" + "chalk": "^1.1.1", + "cli-cursor": "^1.0.2", + "cli-spinners": "^0.1.2", + "object-assign": "^4.0.1" } }, "os-homedir": { @@ -906,8 +830,8 @@ "integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=", "dev": true, "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" } }, "package-json": { @@ -916,10 +840,10 @@ "integrity": "sha1-DRW9Z9HLvduyyiIv8u24a8sxqLs=", "dev": true, "requires": { - "got": "5.7.1", - "registry-auth-token": "3.3.1", - "registry-url": "3.1.0", - "semver": "5.4.1" + "got": "^5.0.0", + "registry-auth-token": "^3.0.1", + "registry-url": "^3.0.3", + "semver": "^5.1.0" } }, "parse-json": { @@ -928,7 +852,7 @@ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "requires": { - "error-ex": "1.3.1" + "error-ex": "^1.2.0" } }, "path-exists": { @@ -937,14 +861,13 @@ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "dev": true, "requires": { - "pinkie-promise": "2.0.1" + "pinkie-promise": "^2.0.0" } }, "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=", - "dev": true + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-is-inside": { "version": "1.0.2", @@ -964,9 +887,9 @@ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, "pify": { @@ -987,27 +910,28 @@ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { - "pinkie": "2.0.4" + "pinkie": "^2.0.0" } }, "pluginpub": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/pluginpub/-/pluginpub-0.0.6.tgz", - "integrity": "sha1-DEJywFsQTGMITF/pCKA0wprMVpI=", - "dev": true, - "requires": { - "any-observable": "0.2.0", - "del": "2.2.2", - "execa": "0.4.0", - "listr": "0.4.3", - "meow": "3.7.0", - "pify": "2.3.0", - "rxjs": "5.4.3", - "semver": "5.4.1", - "split": "1.0.1", - "stream-to-observable": "0.2.0", - "update-notifier": "1.0.3", - "xml2js": "0.4.19" + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/pluginpub/-/pluginpub-0.0.9.tgz", + "integrity": "sha512-ulgYcVIUnPcFY9bsaIlHd8G1rRTwzq4DldR2H5etnM8Gzf2JB151yT9MWqIs+9LI3ad/746HrRKnrLzE5jYLNA==", + "dev": true, + "requires": { + "any-observable": "^0.2.0", + "dateformat": "^2.0.0", + "del": "^2.2.0", + "execa": "^0.4.0", + "listr": "^0.4.3", + "meow": "^3.7.0", + "pify": "^2.3.0", + "rxjs": "^5.0.0-beta.9", + "semver": "^5.1.0", + "split": "^1.0.0", + "stream-to-observable": "^0.2.0", + "update-notifier": "^1.0.1", + "xml2js": "^0.4.17" } }, "prepend-http": { @@ -1034,10 +958,10 @@ "integrity": "sha1-LgPo5C7kULjLPc5lvhv4l04d/ZU=", "dev": true, "requires": { - "deep-extend": "0.4.2", - "ini": "1.3.4", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" + "deep-extend": "~0.4.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" } }, "read-all-stream": { @@ -1046,8 +970,8 @@ "integrity": "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po=", "dev": true, "requires": { - "pinkie-promise": "2.0.1", - "readable-stream": "2.3.3" + "pinkie-promise": "^2.0.0", + "readable-stream": "^2.0.0" } }, "read-pkg": { @@ -1056,9 +980,9 @@ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "dev": true, "requires": { - "load-json-file": "1.1.0", - "normalize-package-data": "2.4.0", - "path-type": "1.1.0" + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" } }, "read-pkg-up": { @@ -1067,8 +991,8 @@ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", "dev": true, "requires": { - "find-up": "1.1.2", - "read-pkg": "1.1.0" + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" } }, "readable-stream": { @@ -1077,13 +1001,13 @@ "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", "dev": true, "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" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~1.0.6", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.0.3", + "util-deprecate": "~1.0.1" } }, "redent": { @@ -1092,8 +1016,8 @@ "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", "dev": true, "requires": { - "indent-string": "2.1.0", - "strip-indent": "1.0.1" + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" } }, "registry-auth-token": { @@ -1102,8 +1026,8 @@ "integrity": "sha1-+w0yie4Nmtosu1KvXf5mywcNMAY=", "dev": true, "requires": { - "rc": "1.2.1", - "safe-buffer": "5.1.1" + "rc": "^1.1.6", + "safe-buffer": "^5.0.1" } }, "registry-url": { @@ -1112,7 +1036,7 @@ "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", "dev": true, "requires": { - "rc": "1.2.1" + "rc": "^1.0.1" } }, "repeating": { @@ -1121,23 +1045,17 @@ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true, "requires": { - "is-finite": "1.0.2" + "is-finite": "^1.0.0" } }, - "requirejs": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.5.tgz", - "integrity": "sha512-svnO+aNcR/an9Dpi44C7KSAy5fFGLtmPbaaCeQaklUz8BQhS64tWWIIlvEA5jrWICzlO/X9KSzSeXFnZdBu8nw==", - "dev": true - }, "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" + "exit-hook": "^1.0.0", + "onetime": "^1.0.0" } }, "rimraf": { @@ -1146,7 +1064,7 @@ "integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=", "dev": true, "requires": { - "glob": "7.1.2" + "glob": "^7.0.5" }, "dependencies": { "glob": { @@ -1155,12 +1073,12 @@ "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" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, "minimatch": { @@ -1169,7 +1087,7 @@ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { - "brace-expansion": "1.1.8" + "brace-expansion": "^1.1.7" } } } @@ -1180,7 +1098,7 @@ "integrity": "sha512-fSNi+y+P9ss+EZuV0GcIIqPUK07DEaMRUtLJvdcvMyFjc9dizuDjere+A4V7JrLGnm9iCc+nagV/4QdMTkqC4A==", "dev": true, "requires": { - "symbol-observable": "1.0.4" + "symbol-observable": "^1.0.1" } }, "safe-buffer": { @@ -1207,15 +1125,9 @@ "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", "dev": true, "requires": { - "semver": "5.4.1" + "semver": "^5.0.3" } }, - "sigmund": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", - "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=", - "dev": true - }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", @@ -1234,7 +1146,7 @@ "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", "dev": true, "requires": { - "spdx-license-ids": "1.2.2" + "spdx-license-ids": "^1.0.2" } }, "spdx-expression-parse": { @@ -1255,7 +1167,7 @@ "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", "dev": true, "requires": { - "through": "2.3.8" + "through": "2" } }, "stream-to-observable": { @@ -1264,16 +1176,7 @@ "integrity": "sha1-WdbqOT2HwsDdrBCqDVYbxrpvDhA=", "dev": true, "requires": { - "any-observable": "0.2.0" - } - }, - "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==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" + "any-observable": "^0.2.0" } }, "string-width": { @@ -1282,9 +1185,18 @@ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "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==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" } }, "strip-ansi": { @@ -1293,7 +1205,7 @@ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, "strip-bom": { @@ -1302,7 +1214,7 @@ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", "dev": true, "requires": { - "is-utf8": "0.2.1" + "is-utf8": "^0.2.0" } }, "strip-eof": { @@ -1317,7 +1229,7 @@ "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", "dev": true, "requires": { - "get-stdin": "4.0.1" + "get-stdin": "^4.0.1" } }, "strip-json-comments": { @@ -1356,12 +1268,6 @@ "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", "dev": true }, - "underscore": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", - "dev": true - }, "unzip-response": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz", @@ -1374,14 +1280,14 @@ "integrity": "sha1-j5LFFUgr1oMbfJMBPnD4dVLHz1o=", "dev": true, "requires": { - "boxen": "0.6.0", - "chalk": "1.1.3", - "configstore": "2.1.0", - "is-npm": "1.0.0", - "latest-version": "2.0.0", - "lazy-req": "1.1.0", - "semver-diff": "2.1.0", - "xdg-basedir": "2.0.0" + "boxen": "^0.6.0", + "chalk": "^1.0.0", + "configstore": "^2.0.0", + "is-npm": "^1.0.0", + "latest-version": "^2.0.0", + "lazy-req": "^1.1.0", + "semver-diff": "^2.0.0", + "xdg-basedir": "^2.0.0" } }, "url-parse-lax": { @@ -1390,7 +1296,7 @@ "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", "dev": true, "requires": { - "prepend-http": "1.0.4" + "prepend-http": "^1.0.1" } }, "util-deprecate": { @@ -1411,23 +1317,17 @@ "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", "dev": true, "requires": { - "spdx-correct": "1.0.2", - "spdx-expression-parse": "1.0.4" + "spdx-correct": "~1.0.0", + "spdx-expression-parse": "~1.0.0" } }, - "walkdir": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.0.11.tgz", - "integrity": "sha1-oW0CXrkxvQO1LzCMrtD0D86+lTI=", - "dev": true - }, "which": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", "dev": true, "requires": { - "isexe": "2.0.0" + "isexe": "^2.0.0" } }, "widest-line": { @@ -1436,14 +1336,13 @@ "integrity": "sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw=", "dev": true, "requires": { - "string-width": "1.0.2" + "string-width": "^1.0.1" } }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write-file-atomic": { "version": "1.3.4", @@ -1451,9 +1350,9 @@ "integrity": "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "imurmurhash": "0.1.4", - "slide": "1.1.6" + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "slide": "^1.1.5" } }, "xdg-basedir": { @@ -1462,7 +1361,7 @@ "integrity": "sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I=", "dev": true, "requires": { - "os-homedir": "1.0.2" + "os-homedir": "^1.0.0" } }, "xml2js": { @@ -1471,8 +1370,8 @@ "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", "dev": true, "requires": { - "sax": "1.2.4", - "xmlbuilder": "9.0.4" + "sax": ">=0.6.0", + "xmlbuilder": "~9.0.1" } }, "xmlbuilder": { diff --git a/package.json b/package.json index 9117204..23bad82 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,7 @@ "platforms": [ "ios", "android", - "windows8", "windows", - "wp8", "browser", "osx" ] @@ -27,9 +25,7 @@ "ecosystem:phonegap", "cordova-ios", "cordova-android", - "cordova-windows8", "cordova-windows", - "cordova-wp8", "cordova-browser", "cordova-osx" ], @@ -42,11 +38,13 @@ "author": "Adobe PhoneGap Team", "license": "Apache-2.0", "scripts": { - "test": "jasmine-node --color spec", + "test": "jasmine JASMINE_CONFIG_PATH=spec/jasmine.json", "paramedic": "./tests/scripts/start-server.sh && cordova-paramedic --platform ios && ./tests/scripts/stop-server.sh" }, "devDependencies": { - "jasmine-node": "1.14.5", "pluginpub": "^0.0.9" + }, + "dependencies": { + "jasmine": "^3.3.0" } } diff --git a/spec/index.spec.js b/spec/index.spec.js index 3cef6f0..23a307a 100644 --- a/spec/index.spec.js +++ b/spec/index.spec.js @@ -16,7 +16,7 @@ describe('phonegap-plugin-contentsync', function() { beforeEach(function() { options = { src: 'http://path/to/src.zip', id: 'app-1' }; execWin = jasmine.createSpy(); - execSpy = spyOn(cordova.required, 'cordova/exec').andCallFake(execWin); + execSpy = spyOn(cordova.required, 'cordova/exec').and.callFake(execWin); }); describe('.sync', function() { @@ -86,7 +86,7 @@ describe('phonegap-plugin-contentsync', function() { describe('options.src', function() { it('should be passed to exec', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[0]).toEqual(options.src); done(); }); @@ -97,7 +97,7 @@ describe('phonegap-plugin-contentsync', function() { describe('options.id', function() { it('should be passed to exec', function(done) { options.id = '1234567890'; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[1]).toEqual(options.id); done(); }); @@ -107,7 +107,7 @@ describe('phonegap-plugin-contentsync', function() { describe('options.type', function() { it('should default to "replace"', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[2]).toEqual('replace'); done(); }); @@ -116,7 +116,7 @@ describe('phonegap-plugin-contentsync', function() { it('should be passed as whatever we specify', function(done) { options.type = 'superduper'; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[2]).toEqual(options.type); done(); }); @@ -126,7 +126,7 @@ describe('phonegap-plugin-contentsync', function() { describe('options.headers', function() { it('should default to null', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[3]).toEqual(null); done(); }); @@ -135,7 +135,7 @@ describe('phonegap-plugin-contentsync', function() { it('should be passed as whatever we specify', function(done) { options.headers = { 'Authorization': 'SECRET_PASSWORD' }; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[3]).toEqual(options.headers); done(); }); @@ -145,7 +145,7 @@ describe('phonegap-plugin-contentsync', function() { describe('options.copyCordovaAssets', function() { it('should default to false', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[4]).toEqual(false); done(); }); @@ -153,7 +153,7 @@ describe('phonegap-plugin-contentsync', function() { }); it('should be passed as whatever we specify', function(done) { options.copyCordovaAssets = true; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[4]).toEqual(options.copyCordovaAssets); done(); }); @@ -163,7 +163,7 @@ describe('phonegap-plugin-contentsync', function() { describe('options.copyRootApp', function() { it('should default to false', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[5]).toEqual(false); done(); }); @@ -171,7 +171,7 @@ describe('phonegap-plugin-contentsync', function() { }); it('should be passed as whatever we specify', function(done) { options.copyRootApp = true; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[5]).toEqual(options.copyRootApp); done(); }); @@ -180,7 +180,7 @@ describe('phonegap-plugin-contentsync', function() { }); describe('options.timeout', function() { it('should default to 15.0', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[6]).toEqual(15.0); done(); }); @@ -188,7 +188,7 @@ describe('phonegap-plugin-contentsync', function() { }); it('should be passed as whatever we specify', function(done) { options.timeout = 30.0; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[6]).toEqual(options.timeout); done(); }); @@ -197,7 +197,7 @@ describe('phonegap-plugin-contentsync', function() { }); describe('options.trustHost', function() { it('should default to false', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[7]).toEqual(false); done(); }); @@ -205,7 +205,7 @@ describe('phonegap-plugin-contentsync', function() { }); it('should be passed as whatever we specify', function(done) { options.trustHost = true; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[7]).toEqual(options.trustHost); done(); }); @@ -214,7 +214,7 @@ describe('phonegap-plugin-contentsync', function() { }); describe('options.manifest', function() { it('should default to the empty string', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[8]).toEqual(""); done(); }); @@ -222,7 +222,7 @@ describe('phonegap-plugin-contentsync', function() { }); it('should be passed as whatever we specify', function(done) { options.manifest = "manifest.json"; - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { expect(args[8]).toEqual(options.manifest); done(); }); @@ -233,7 +233,7 @@ describe('phonegap-plugin-contentsync', function() { describe('on "progress" event', function() { it('should be emitted with an argument', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { win({ 'progress': 1 }); }); var sync = contentSync.sync(options); @@ -246,7 +246,7 @@ describe('phonegap-plugin-contentsync', function() { describe('on "complete" event', function() { beforeEach(function() { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { win({ localPath: 'file:///path/to/content' }); @@ -271,7 +271,7 @@ describe('phonegap-plugin-contentsync', function() { describe('on "error" event', function() { it('should be emitted with an Error', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { fail('something went wrong'); }); var sync = contentSync.sync(options); @@ -289,8 +289,8 @@ describe('phonegap-plugin-contentsync', function() { sync.cancel(); setTimeout(function() { expect(execSpy).toHaveBeenCalled(); - expect(execSpy.callCount).toEqual(2); // 1) sync, 2) cancel - expect(execSpy.mostRecentCall.args).toEqual([ + expect(execSpy.calls.count()).toBe(2); // 1) sync, 2) cancel + expect(execSpy.calls.mostRecent().args).toEqual([ jasmine.any(Function), jasmine.any(Function), 'Sync', @@ -302,7 +302,7 @@ describe('phonegap-plugin-contentsync', function() { }); it('should emit the "cancel" event', function(done) { - execSpy.andCallFake(function(win, fail, service, id, args) { + execSpy.and.callFake(function(win, fail, service, id, args) { win(); }); var sync = contentSync.sync(options); diff --git a/spec/jasmine.json b/spec/jasmine.json new file mode 100644 index 0000000..b112715 --- /dev/null +++ b/spec/jasmine.json @@ -0,0 +1,11 @@ +{ + "spec_dir": "spec", + "spec_files": [ + "**/*[sS]pec.js", + "**/*[sS]pec.js" + ], + "helpers": [ + "../spec/helper/cordova.js" + ], + "random": false +} \ No newline at end of file