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

zames

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zames - npm Package Compare versions

Comparing version 2.0.1 to 3.0.0

4

lib/zames.js
'use strict';
const promisify = require('es6-promisify').promisify;
const currify = require('currify/legacy');
const {promisify} = require('es6-promisify');
const currify = require('currify');

@@ -6,0 +6,0 @@ module.exports = (fn, ctx) => {

{
"name": "zames",
"version": "2.0.1",
"version": "3.0.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -22,21 +22,17 @@ "description": "converts callback-based functions to Promises and apply currying to arguments",

"scripts": {
"test": "tape test/*.js",
"coverage": "nyc npm test",
"lint": "eslint lib test",
"report": "nyc report --reporter=text-lcov | coveralls",
"build": "redrun clean 6to5 legacy:*",
"6to5": "babel -d legacy/lib lib",
"wisdom": "npm run build",
"clean": "rimraf legacy/*",
"watcher": "nodemon -w test -w lib --exec",
"watch:test": "npm run watcher -- npm test",
"watch:lint": "npm run watcher -- 'npm run lint'",
"watch:tape": "nodemon -w test -w lib --exec tape",
"watch:coverage:base": "npm run watcher -- nyc npm test",
"watch:coverage:tape": "npm run watcher -- nyc tape",
"watch:coverage": "bin/redrun.js watch:coverage:base",
"legacy:index": "echo \"module.exports = require('./lib/zames');\" > legacy/index.js"
"test": "madrun test",
"coverage": "madrun coverage",
"lint": "madrun lint",
"fix:lint": "madrun fix:lint",
"report": "madrun report",
"watcher": "madrun watcher",
"watch:test": "madrun watch:test",
"watch:lint": "madrun watch:lint",
"watch:tape": "madrun watch:tape",
"watch:coverage:base": "madrun watch:coverage:base",
"watch:coverage:tape": "madrun watch:coverage:tape",
"watch:coverage": "madrun watch:coverage"
},
"dependencies": {
"currify": "^3.0.0",
"currify": "^4.0.0",
"es6-promisify": "^6.0.0"

@@ -46,12 +42,12 @@ },

"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"coveralls": "^3.0.0",
"eslint": "^5.6.0",
"eslint": "^6.4.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-putout": "^2.0.0",
"madrun": "^3.0.5",
"nodemon": "^1.11.0",
"nyc": "^13.0.1",
"redrun": "^7.0.0",
"tape": "^4.5.1"
"nyc": "^14.0.0",
"putout": "^6.1.0",
"supertape": "^1.2.3"
}
}

@@ -58,10 +58,2 @@ # Zames [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

## Environments
In old `node.js` environments that not fully supports `es2015`, `zames` can be used with:
```js
var zames = require('zames/legacy');
```
## Related

@@ -68,0 +60,0 @@

Sorry, the diff of this file is not supported yet

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