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

@electric-eloquence/chokidar

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electric-eloquence/chokidar - npm Package Compare versions

Comparing version 1.7.7 to 1.7.8

2

CHANGELOG.md
# Chokidar Changelog
### 1.7.8
### 1.7.7

@@ -4,0 +6,0 @@ * Disabling fsevents for macOS versions < Sierra

'use strict';
var EventEmitter = require('events').EventEmitter;
var fs = require('fs');
var os = require('os');
var sysPath = require('path');
var asyncEach = require('async-each');

@@ -16,2 +18,5 @@ var anymatch = require('anymatch');

var osMajor = parseInt(os.release().split('.')[0], 10);
var isDarwin = process.platform === 'darwin';
var slashStringOrArray = function(stringOrArray) {

@@ -127,6 +132,10 @@ var slashed;

// Darwin major version 15 is macOS 10.11 El Capitan.
// fsevents does not work in 10.11 El Capitan and lower.
if (isDarwin && osMajor > 15) opts.useFsEvents = false;
// Use polling on Mac if not using fsevents.
// Other platforms use non-polling fs.watch.
if (undef('usePolling') && !opts.useFsEvents) {
opts.usePolling = process.platform === 'darwin';
opts.usePolling = isDarwin;
}

@@ -133,0 +142,0 @@

2

package.json
{
"name": "@electric-eloquence/chokidar",
"description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.",
"version": "1.7.7",
"version": "1.7.8",
"keywords": [

@@ -6,0 +6,0 @@ "fs",

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