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

temporary

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temporary - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/file.js

@@ -58,3 +58,3 @@ /**

File.prototype.writeFile = function() {
fs.writeFile.apply(fs, this.prepareArgs(arguments, ['', {}, function(err) {throw Error(err)}]));
fs.writeFile.apply(fs, this.prepareArgs(arguments, [{}, function(err) {throw Error(err)}]));
};

@@ -61,0 +61,0 @@

{
"name": "temporary",
"version": "1.0.0",
"version": "1.0.1",
"description": "The lord of tmp.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -49,3 +49,3 @@ /**

var tmp = new Tempfile;
tmp.writeFile('test.txt', {}, function() {});
tmp.writeFile({}, function() {});
fs.writeFile.getCall(0).args[0].should.eql(tmp.path);

@@ -52,0 +52,0 @@ fs.writeFile.restore();

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