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

kitx

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kitx - npm Package Compare versions

Comparing version 1.3.0 to 2.0.0

lib/index.d.ts

4

lib/index.js

@@ -38,3 +38,3 @@ 'use strict';

return new Buffer(str, encoding);
return Buffer.from(str, encoding);
};

@@ -60,3 +60,3 @@

* @param {String|Buffer} data data.
* @param {String} encoding optionnal. can be 'hex', 'binary', 'base64'.
* @param {String} encoding optional. can be 'hex', 'binary', 'base64'.
* @return {String|Buffer} if no encoding is provided, a buffer is returned.

@@ -63,0 +63,0 @@ */

{
"name": "kitx",
"version": "1.3.0",
"version": "2.0.0",
"description": "toolkit",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"directories": {

@@ -10,3 +11,6 @@ "test": "test"

"scripts": {
"test": "make test"
"lint": "eslint --fix lib",
"test": "mocha --reporter spec --timeout 3000 test/*.test.js",
"test-cov": "nyc -r=lcov -r=html -r=text -r=json mocha -t 3000 -R spec test/*.test.js",
"ci": "npm run test-cov && cat ./coverage/lcov.info | coveralls"
},

@@ -27,8 +31,10 @@ "repository": {

],
"dependencies": {
"@types/node": "^12.0.2"
},
"devDependencies": {
"co-mocha": "~1.1.2",
"coveralls": "~2.11.9",
"expect.js": "~0.3.1",
"istanbul": "~0.4.2",
"mocha": "^3.4.2"
"expect.js": "^0.3.1",
"mocha": "^6.2.0",
"nyc": "^14.1.1"
},

@@ -35,0 +41,0 @@ "files": [

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