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

lazy-socket

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lazy-socket - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.package.json.un~

10

package.json

@@ -5,3 +5,3 @@ {

"description": "A stateless socket that always lets you write().",
"version": "0.0.2",
"version": "0.0.3",
"homepage": "https://github.com/felixge/node-lazy-socket",

@@ -18,8 +18,8 @@ "repository": {

},
"dependencies": {
"dependencies": {},
"devDependencies": {
"sinon": "1.2.0",
"utest": "0.0.3",
"sinon": "1.2.0",
"urun": "0.0.4"
},
"devDependencies": {}
}
}

@@ -26,3 +26,8 @@ var common = require('../common');

socket = new LazySocket();
fakeSocket = sinon.stub(Object.create(net.Socket.prototype));
fakeSocket = sinon.stub({
once: function() {},
destroy: function() {},
end: function() {},
write: function() {},
});

@@ -29,0 +34,0 @@ sinon.stub(net, 'createConnection').returns(fakeSocket);

Sorry, the diff of this file is not supported yet

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