Comparing version 1.3.0 to 2.0.0
@@ -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": [ |
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
9404
4
5
212
1
+ Added@types/node@^12.0.2
+ Added@types/node@12.20.55(transitive)