Socket
Socket
Sign inDemoInstall

node-sass

Package Overview
Dependencies
189
Maintainers
3
Versions
148
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 6.0.1

9

lib/extensions.js

@@ -7,7 +7,6 @@ /*!

fs = require('fs'),
path = require('path'),
trueCasePathSync = require('true-case-path'),
pkg = require('../package.json'),
mkdir = require('mkdirp'),
path = require('path'),
defaultBinaryDir = path.join(__dirname, '..', 'vendor'),
trueCasePathSync = require('true-case-path');
defaultBinaryDir = path.join(__dirname, '..', 'vendor');

@@ -356,3 +355,3 @@ /**

try {
mkdir.sync(cachePath);
fs.mkdirSync(cachePath, {recursive: true});
return cachePath;

@@ -359,0 +358,0 @@ } catch (e) {

@@ -7,3 +7,2 @@ /*!

fs = require('fs'),
mkdirp = require('mkdirp'),
path = require('path'),

@@ -70,3 +69,3 @@ sass = require('./');

mkdirp(path.dirname(destination), function(err) {
fs.mkdir(path.dirname(destination), {recursive: true}, function(err) {
if (err) {

@@ -90,3 +89,3 @@ return emitter.emit('error', chalk.red(err));

mkdirp(path.dirname(sourceMap), function(err) {
fs.mkdir(path.dirname(sourceMap), {recursive: true}, function(err) {
if (err) {

@@ -93,0 +92,0 @@ return emitter.emit('error', chalk.red(err));

{
"name": "node-sass",
"version": "6.0.0",
"version": "6.0.1",
"libsass": "3.5.5",

@@ -63,4 +63,3 @@ "description": "Wrapper around libsass",

"lodash": "^4.17.15",
"meow": "^3.7.0",
"mkdirp": "^0.5.1",
"meow": "^9.0.0",
"nan": "^2.13.2",

@@ -77,3 +76,3 @@ "node-gyp": "^7.1.0",

"fs-extra": "^0.30.0",
"mocha": "^8.1.3",
"mocha": "^9.0.1",
"nyc": "^15.1.0",

@@ -80,0 +79,0 @@ "rimraf": "^3.0.2",

@@ -6,3 +6,2 @@ /*!

var fs = require('fs'),
mkdir = require('mkdirp'),
path = require('path'),

@@ -28,3 +27,3 @@ spawn = require('cross-spawn'),

mkdir(path.dirname(install), function(err) {
fs.mkdir(path.dirname(install), {recursive: true}, function(err) {
if (err && err.code !== 'EEXIST') {

@@ -31,0 +30,0 @@ console.error(err.message);

@@ -7,7 +7,6 @@ /*!

eol = require('os').EOL,
mkdir = require('mkdirp'),
path = require('path'),
sass = require('../lib/extensions'),
request = require('request'),
log = require('npmlog'),
sass = require('../lib/extensions'),
downloadOptions = require('./util/downloadoptions');

@@ -115,3 +114,3 @@

try {
mkdir.sync(path.dirname(binaryPath));
fs.mkdirSync(path.dirname(binaryPath), {recursive: true});
} catch (err) {

@@ -142,3 +141,3 @@ console.error('Unable to save binary', path.dirname(binaryPath), ':', err);

try {
mkdir.sync(path.dirname(cachedBinary));
fs.mkdirSync(path.dirname(cachedBinary), {recursive: true});
fs.createReadStream(binaryPath)

@@ -145,0 +144,0 @@ .pipe(fs.createWriteStream(cachedBinary))

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc