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

bower-files

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower-files - npm Package Compare versions

Comparing version 3.1.1 to 3.2.0

6

lib/utils/is-symlink.js

@@ -6,3 +6,7 @@ 'use strict';

module.exports = function isSymLink(filepath) {
return fs.existsSync(filepath) && fs.lstatSync(filepath).isSymbolicLink();
// TODO remove this ternary thing when fs.existsSync is no longer in use.
var exists = fs.accessSync ?
!fs.accessSync(filepath, fs.F_OK) :
fs.existsSync(filepath);
return exists && fs.lstatSync(filepath).isSymbolicLink();
};

2

package.json
{
"name": "bower-files",
"version": "3.1.1",
"version": "3.2.0",
"description": "Pulls in dynamic list of filepaths to bower components",

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

# bower-files
[![io.js compatibility](https://img.shields.io/badge/io.js-compatible-brightgreen.svg?style=flat)](https://iojs.org/)
[![node.js compatibility](https://img.shields.io/badge/node.js-compatible-brightgreen.svg?style=flat)](https://nodejs.org/)
[![NPM version](http://img.shields.io/npm/v/bower-files.svg?style=flat)](https://www.npmjs.org/package/bower-files)

@@ -4,0 +7,0 @@ [![Dependency Status](http://img.shields.io/gemnasium/ksmithut/bower-files.svg?style=flat)](https://gemnasium.com/ksmithut/bower-files)

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