east-migration-progress-indicator-helper
Advanced tools
Comparing version 1.0.0 to 1.1.0
'use strict'; | ||
const createProgressIndicator = require('./createProgressIndicator'); | ||
const createIndicator = require('./createIndicator'); | ||
const createBar = require('./createBar'); | ||
@@ -11,3 +12,6 @@ exports.register = (registerParams) => { | ||
migrationParams.createProgressIndicator = createProgressIndicator; | ||
migrationParams.createIndicator = createIndicator; | ||
// TODO: remove this fallback alias on next major release | ||
migrationParams.createProgressIndicator = createIndicator; | ||
migrationParams.createBar = createBar; | ||
}; | ||
@@ -14,0 +18,0 @@ |
{ | ||
"name": "east-migration-progress-indicator-helper", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "East plugin which provides migration helper to log progress", | ||
@@ -8,2 +8,3 @@ "main": "lib/index.js", | ||
"testSpecified": "tap --reporter spec --no-coverage --color --timeout 10 --bail --jobs-auto", | ||
"testWithNode": "for file in `find test -name *.js`; do node \"$file\" || exit 1; done;", | ||
"test": "npm run testSpecified test", | ||
@@ -36,3 +37,3 @@ "makeTestSnapshots": "TAP_SNAPSHOT=1 npm run testSpecified test", | ||
"peerDependencies": { | ||
"east": ">=1.2.0-rc.1 <2.0.0" | ||
"east": ">=1.2.0-rc.1 <3.0.0" | ||
}, | ||
@@ -45,3 +46,3 @@ "devDependencies": { | ||
"expect.js": "0.3.1", | ||
"tap": "12.4.1" | ||
"tap": "12.7.0" | ||
}, | ||
@@ -52,4 +53,5 @@ "engines": { | ||
"dependencies": { | ||
"deprecate": "1.1.1", | ||
"progress": "2.0.3" | ||
} | ||
} |
@@ -28,3 +28,3 @@ # east migration progress indicator helper | ||
After that `createProgressIndicator` can be used in migrations e.g.: | ||
After that `createIndicator` can be used in migrations e.g.: | ||
@@ -34,3 +34,3 @@ ```js | ||
exports.migrate = function(client, done) { | ||
const indicator = client.createProgressIndicator({total: 150}); | ||
const indicator = client.createIndicator({total: 150}); | ||
@@ -37,0 +37,0 @@ indicator.tick(5); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6177
7
89
3
+ Addeddeprecate@1.1.1
+ Addedaggregate-error@3.1.0(transitive)
+ Addedclean-stack@2.2.0(transitive)
+ Addedcommander@5.1.0(transitive)
+ Addeddeprecate@1.1.1(transitive)
+ Addedeast@2.0.3(transitive)
+ Addedindent-string@4.0.0(transitive)
+ Addedp-map@4.0.0(transitive)
+ Addedp-props@4.0.0(transitive)
+ Addedp-timeout@3.2.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedunderscore@1.12.1(transitive)
- Removedcallbackify@1.1.0(transitive)
- Removedcommander@3.0.1(transitive)
- Removedeast@1.3.0(transitive)
- Removedfs-extra@5.0.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedjsonfile@4.0.0(transitive)
- Removedp-each-series@1.0.0(transitive)
- Removedp-map@1.2.0(transitive)
- Removedp-props@1.2.0(transitive)
- Removedp-reduce@1.0.0(transitive)
- Removedp-timeout@2.0.1(transitive)
- Removedpify@3.0.0(transitive)
- Removedunderscore@1.9.1(transitive)
- Removeduniversalify@0.1.2(transitive)