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

grunt

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

12

lib/grunt/file.js

@@ -297,3 +297,8 @@ 'use strict';

file.copy = function copy(srcpath, destpath, options) {
if (file._isSymbolicLink(srcpath)) {
if (file.isLink(destpath)) {
// in case destpath is a symlink, avoid following the symlink, instead overwrite it later
fs.unlinkSync(destpath);
}
if (file.isLink(srcpath)) {
file._copySymbolicLink(srcpath, destpath);

@@ -456,7 +461,2 @@ } else if (file.isDir(srcpath)) {

file._isSymbolicLink = function() {
var filepath = path.join.apply(path, arguments);
return fs.lstatSync(filepath).isSymbolicLink();
};
file._copySymbolicLink = function(srcpath, destpath) {

@@ -463,0 +463,0 @@ var destdir = path.join(destpath, '..');

{
"name": "grunt",
"description": "The JavaScript Task Runner",
"version": "1.5.1",
"version": "1.5.2",
"author": "Grunt Development Team (https://gruntjs.com/development-team)",

@@ -6,0 +6,0 @@ "homepage": "https://gruntjs.com/",

Sorry, the diff of this file is not supported yet

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