Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "l", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Mix Async/Sync code with Promises and Streams in a reusable unified line", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,3 +23,3 @@ # L | ||
var line = l([ | ||
var calc = l([ | ||
(val) => val * 5, // sync | ||
@@ -33,7 +33,7 @@ { // Split | ||
l(1, function (error, answer) { // with a callback | ||
calc(1, function (error, answer) { // with a callback | ||
require('assert').strictEqual(answer, 42) | ||
}) | ||
l(Math.PI).then(result => { // as a promise | ||
calc(Math.PI).then(result => { // as a promise | ||
console.log(result) // 127.66370614359172 | ||
@@ -40,0 +40,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
23568
1