Comparing version 3.1.0 to 3.2.0
@@ -197,6 +197,9 @@ 'use strict'; | ||
module.exports = function (opts) { | ||
const oraFactory = function (opts) { | ||
return new Ora(opts); | ||
}; | ||
module.exports = oraFactory; | ||
module.exports.default = oraFactory; | ||
module.exports.promise = (action, options) => { | ||
@@ -203,0 +206,0 @@ if (typeof action.then !== 'function') { |
{ | ||
"name": "ora", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Elegant terminal spinner", | ||
@@ -16,6 +16,7 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "xo && ava" | ||
"test": "xo && ava && tsd-check" | ||
}, | ||
"files": [ | ||
"index.js" | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
@@ -41,3 +42,3 @@ "keywords": [ | ||
"cli-cursor": "^2.1.0", | ||
"cli-spinners": "^1.3.1", | ||
"cli-spinners": "^2.0.0", | ||
"log-symbols": "^2.2.0", | ||
@@ -48,6 +49,8 @@ "strip-ansi": "^5.0.0", | ||
"devDependencies": { | ||
"@types/node": "^11.10.4", | ||
"ava": "^1.2.1", | ||
"get-stream": "^4.1.0", | ||
"tsd-check": "^0.3.0", | ||
"xo": "^0.24.0" | ||
} | ||
} |
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
16159
5
367
5
+ Addedcli-spinners@2.9.2(transitive)
- Removedcli-spinners@1.3.1(transitive)
Updatedcli-spinners@^2.0.0