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

fswin

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fswin - npm Package Compare versions

Comparing version 2.17.1227 to 3.18.908

electron/ia32/fswin.node

14

index.js
'use strict';
var v, isElectron = process.versions && process.versions.electron;
if (process.platform === 'win32') {
v = (isElectron ? process.versions.electron : process.version).match(/(\d+\.)(\d+)\./);
if (isElectron || v[1] === '0.') {
v[2] = parseInt(v[2]);
if (!isElectron && v[2] % 2) {
v[2]++;
}
} else {
v[2] = 'x';
}
module.exports = require((isElectron ? './electron/' : './node/') + v[1] + v[2] + '.x' + '/' + process.arch + '/fswin.node');
module.exports = require((process.versions && process.versions.electron ? './electron/' : './node/') + process.arch + '/fswin.node');
} else {
throw 'this module only works on windows';
module.exports = null;
}
{
"name": "fswin",
"version": "2.17.1227",
"version": "3.18.908",
"description": "nodejs fs extensions for windows",
"main": "index.js",
"engines": {
"node": ">= 0.6"
"node": ">= 8.0"
},

@@ -25,2 +25,2 @@ "repository": {

"readmeFilename": "readme.md"
}
}

@@ -9,2 +9,4 @@ Introduction

NOTE: fswin is based on n-api since v3.0. which requires node.js v8.0 or later.
License

@@ -11,0 +13,0 @@ =======

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