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

tmp-sync

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmp-sync - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

1

index.js

@@ -24,2 +24,3 @@ 'use strict';

tmp.in = function (root) {
root = root || require('osenv').tmpdir();
// Everytime it returns a different directory

@@ -26,0 +27,0 @@ var dir = node_path.join(

17

package.json
{
"name": "tmp-sync",
"version": "1.0.1",
"version": "1.1.0",
"description": "The sync version of tmp just for test cases, making it much easier.",

@@ -15,8 +15,8 @@ "main": "index.js",

"tmp-sync",
"temporary",
"tmp",
"temp",
"tempdir",
"tempfile",
"tmpdir",
"temporary",
"tmp",
"temp",
"tempdir",
"tempfile",
"tmpdir",
"tmpfile"

@@ -37,4 +37,5 @@ ],

"dependencies": {
"fs-sync": "^0.2.4"
"fs-sync": "^0.2.4",
"osenv": "^0.1.0"
}
}

@@ -19,3 +19,3 @@ # tmp-sync [![NPM version](https://badge.fury.io/js/tmp-sync.svg)](http://badge.fury.io/js/tmp-sync) [![Build Status](https://travis-ci.org/kaelzhang/node-tmp-sync.svg?branch=master)](https://travis-ci.org/kaelzhang/node-tmp-sync) [![Dependency Status](https://gemnasium.com/kaelzhang/node-tmp-sync.svg)](https://gemnasium.com/kaelzhang/node-tmp-sync)

- root `path` the root path for the temp directory
- root `path` the root path for the temp directory (default to OS tmp directory)

@@ -22,0 +22,0 @@ Makes a temp dir inside `root` and returns `path` the newly created dir.

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