Socket
Socket
Sign inDemoInstall

east-migration-progress-indicator-helper

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

east-migration-progress-indicator-helper - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

lib/createBar.js

8

lib/index.js
'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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc