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

b64

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b64 - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

CONTRIBUTING.md

@@ -13,5 +13,5 @@ # How to contribute

* Fork the repository on GitHub.
* Fix the issue ensuring that your code follows the [style guide](https://github.com/hapijs/hapi/blob/master/docs/Style.md).
* Fix the issue ensuring that your code follows the [style guide](https://github.com/hapijs/contrib/blob/master/Style.md).
* Add tests for your new code ensuring that you have 100% code coverage (we can help you reach 100% but will not merge without it).
* Run `npm test` to generate a report of test coverage
* [Pull requests](http://help.github.com/send-pull-requests/) should be made to the [master branch](https://github.com/hapijs/b64/tree/master).

@@ -44,3 +44,3 @@ /*

var c1, c2, c3, c4;
for (var i = 0, j = 0; i < len;) {
for (var i = 0, j = 0; i < len; ) {
do {

@@ -47,0 +47,0 @@ c1 = decodeChars[buffer[i++] & 0xff];

{
"name": "b64",
"description": "Base64 streaming encoder and decoder",
"version": "2.0.0",
"version": "2.0.1",
"repository": "git://github.com/hapijs/b64",
"main": "index",
"main": "lib/index.js",
"keywords": [

@@ -21,14 +21,11 @@ "buffer",

"devDependencies": {
"lab": "4.x.x",
"code": "1.x.x",
"lab": "5.x.x",
"wreck": "5.x.x"
},
"scripts": {
"test": "make test-cov"
"test": "lab -a code -t 100 -L",
"test-cov-html": "lab -a code -r html -o coverage.html"
},
"licenses": [
{
"type": "BSD",
"url": "http://github.com/hapijs/b64/raw/master/LICENSE"
}
]
"license": "BSD-3-Clause"
}

@@ -6,2 +6,3 @@ // Load modules

var B64 = require('..');
var Code = require('code');
var Hoek = require('hoek');

@@ -22,3 +23,3 @@ var Lab = require('lab');

var it = lab.it;
var expect = Lab.expect;
var expect = Code.expect;

@@ -31,3 +32,3 @@

expect(err).to.not.exist;
expect(err).to.not.exist();
expect(payload).to.equal(buffer.toString());

@@ -90,3 +91,3 @@ done();

expect(err).to.not.exist;
expect(err).to.not.exist();
expect(payload).to.equal(Buffer.concat(buffer).toString());

@@ -102,3 +103,3 @@ done();

expect(err).to.not.exist;
expect(err).to.not.exist();
expect(payload).to.equal(Buffer.concat(buffer).toString());

@@ -114,3 +115,3 @@ done();

expect(err).to.not.exist;
expect(err).to.not.exist();
expect(payload).to.equal(Buffer.concat(buffer).toString());

@@ -135,3 +136,3 @@ done();

expect(err).to.not.exist;
expect(err).to.not.exist();
expect(payload.toString()).to.equal(value.toString());

@@ -152,3 +153,3 @@ done();

expect(err).to.not.exist;
expect(err).to.not.exist();
expect(payload.toString()).to.equal(value.toString());

@@ -155,0 +156,0 @@ done();

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