New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nyks

Package Overview
Dependencies
Maintainers
3
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nyks - npm Package Compare versions

Comparing version 6.6.1 to 6.6.2

8

fs/tmppath.js

@@ -36,9 +36,6 @@ "use strict";

function tmppath(ext, trash, len) {
ext = ext || "tmp"; len = len || 8;
if(trash === undefined) trash = true;
function tmppath(ext = "tmp", trash = true, len = 8, basedir = os.tmpdir()) {
var body = crypto.randomBytes(len).toString('base64').replace(/\//g, '+').substr(0, len);
var fname = ext + "-" + body + "." + ext;
var file_path = path.join(os.tmpdir(), fname);
var file_path = path.join(basedir, fname);

@@ -52,2 +49,3 @@ var fullpath = fs.existsSync(file_path) ? tmppath(ext, trash, len + 1) : file_path;

module.exports = tmppath;
{
"name": "nyks",
"version": "6.6.1",
"version": "6.6.2",
"description": "nodejs exupery style",

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

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