Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unlimited-curry

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unlimited-curry - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

17

dist/src/index.js
'use strict';
var returnFromPromise = 1;
var returnFromCallback = 0;
var getFrom = function getFrom(from, dataArgument) {

@@ -39,3 +42,3 @@ var workData = dataArgument;

var timeoutSate = null;
if (callback && 'function' === typeof callback) {
if (callback && typeof callback === 'function') {
timeoutSate = setTimeout(callback, 0, 2, data);

@@ -53,3 +56,7 @@ }

var state = {
timeoutSate: timeoutSate, level: level, returnArray: returnArray, returnArrayChunks: returnArrayChunks, resetMe: false,
timeoutSate: timeoutSate,
level: level,
returnArray: returnArray,
returnArrayChunks: returnArrayChunks,
resetMe: false,
reset: function reset() {

@@ -106,3 +113,3 @@ if (this.resetMe) {

if (typeof callback === 'function') {
ret = callback(1, data);
ret = callback(returnFromPromise, data);
} else {

@@ -121,7 +128,7 @@ ret = data;

/* istanbul ignore else */
if (typeof callback === "function") {
if (typeof callback === 'function') {
clearTimeout(state.timeoutSate);
state.resetMe = true;
return callback(0, data);
return callback(returnFromCallback, data);
}

@@ -128,0 +135,0 @@ }

{
"name": "unlimited-curry",
"version": "1.3.0",
"version": "1.3.1",
"description": "Unlimited curry",

@@ -12,8 +12,9 @@ "main": "dist/src/index.js",

"test": "mkdir tmp;PROD=true node_modules/.bin/nyc --reporter=lcov --reporter=clover --reporter=text --cache npm run test-dev-coverage",
"test-compiled": "PROD=true node_modules/.bin/nyc --reporter=lcov --reporter=clover --reporter=text --cache node_modules/mocha/bin/mocha --recursive dist/tests/",
"build-src": "mkdir tmp; rm -rf dist; mkdir dist; node_modules/babel-cli/bin/babel.js src --presets babel-preset-env --out-dir dist/src",
"build-test": "rm -rf test-build;mkdir dist/tests; node_modules/babel-cli/bin/babel.js tests --presets babel-preset-env --out-dir dist/tests",
"test-all": "node_modules/.bin/depcheck && npm run standard-fix && npm test",
"test-compiled": "node_modules/mocha/bin/mocha --require babel-core/register --require babel-polyfill --recursive dist/tests/tests",
"build-src": "mkdir tmp; rm -rf dist;mkdir dist;mkdir dist/src;node_modules/babel-cli/bin/babel.js src --presets babel-preset-env --out-dir dist/src",
"build-test": "mkdir dist/tests; node_modules/babel-cli/bin/babel.js tests --presets babel-preset-env --out-dir dist/tests",
"prepublish": "npm run build-src && npm run build-test",
"standard-fix": "node_modules/standard/bin/cmd.js --fix src/index.js src/**/*.js test/**/*.js",
"clean": "rm -rf tests/tmp; rm -rf dist;"
"clean": "rm -rf tests/tmp; rm -rf dist;",
"standard-fix": "node_modules/.bin/standard --fix src/index.js src/**/*.js test/**/*.js"
},

@@ -60,20 +61,10 @@ "repository": {

"homepage": "https://github.com/vidaxl-com/cowlog#readme",
"dependencies": {
"babel-runtime": "^6.26.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"chai": "^4.1.2 ",
"eslint-plugin-import": "^2.9.0",
"flat": "^4.1.0",
"generic-text-linker": "^1.3.0",
"depcheck": "^0.6.11",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"standard": "^11.0.1"
"standard": "^12.0.1"
},

@@ -96,3 +87,3 @@ "engines": {

},
"gitHead": "6d8dcd08707e3e9797ef61830ad45381107ef864"
"gitHead": "6337b3a3daf912224c828f78d64444dee9a2b38d"
}
<!--- destination qa rewrite begin -->
### QA
### QA monorepo
[![CircleCI](https://circleci.com/gh/vidaxl-com/cowlog/tree/master.svg?style=svg)](https://circleci.com/gh/vidaxl-com/cowlog/tree/master)

@@ -12,2 +13,4 @@ [![Test Coverage](https://api.codeclimate.com/v1/badges/d3fce811aecbe5c73ffb/test_coverage)](https://codeclimate.com/github/vidaxl-com/cowlog/test_coverage)

<!--- destination qa rewrite end -->
####QA this package
[![Known Vulnerabilities](https://snyk.io/test/github/vidaxl-com/cowlog/badge.svg?targetFile=packages%2Funlimited-curry%2Fpackage.json)](https://snyk.io/test/github/vidaxl-com/cowlog?targetFile=packages%2Funlimited-curry%2Fpackage.json)

@@ -14,0 +17,0 @@ # Installation

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