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.15.1031 to 2.16.430

6.x.x/ia32/fswin.node

20

index.js
'use strict';
var v = process.version.match(/(\d+\.)(\d+)\./);
if (v[1] === '0.') {
v[2] = parseInt(v[2]);
if (v[2] % 2) {
v[2]++;
if (process.platform === 'win32') {
var v = process.version.match(/(\d+\.)(\d+)\./);
if (v[1] === '0.') {
v[2] = parseInt(v[2]);
if (v[2] % 2) {
v[2]++;
}
} else {
v[2] = 'x';
}
module.exports = require('./' + v[1] + v[2] + '.x' + '/' + process.arch + '/fswin.node');
} else {
v[2] = 'x';
}
module.exports = require('./' + v[1] + v[2] + '.x' + '/' + process.arch + '/fswin.node');
throw 'this module only works on window';
}

2

package.json
{
"name": "fswin",
"version": "2.15.1031",
"version": "2.16.430",
"description": "nodejs fs extensions for windows",

@@ -5,0 +5,0 @@ "main": "index.js",

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