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

pathwatcher

Package Overview
Dependencies
Maintainers
6
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pathwatcher - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

72

api.json

@@ -6,3 +6,3 @@ {

"filename": "src/directory.coffee",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L14",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L14",
"sections": [

@@ -35,3 +35,3 @@ {

"sectionName": "Construction",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L29",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L29",
"visibility": "Public",

@@ -58,3 +58,3 @@ "summary": "Configures a new Directory instance, no files are accessed.",

"sectionName": "Event Subscription",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L53",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L53",
"visibility": "Public",

@@ -81,3 +81,3 @@ "summary": "Invoke the given callback when the directory's contents change.",

"sectionName": "Directory Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L81",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L81",
"visibility": "Public",

@@ -96,3 +96,3 @@ "summary": "",

"sectionName": "Directory Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L84",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L84",
"visibility": "Public",

@@ -111,3 +111,3 @@ "summary": "",

"sectionName": "Directory Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L88",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L88",
"visibility": "Public",

@@ -120,3 +120,3 @@ "summary": "Return a {Boolean}, true if this {Directory} is the root directory\nof the filesystem, or false if it isn't. ",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L99",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L99",
"visibility": "Public",

@@ -135,3 +135,3 @@ "summary": "",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L105",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L105",
"visibility": "Public",

@@ -150,3 +150,3 @@ "summary": "",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L116",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L116",
"visibility": "Public",

@@ -165,3 +165,3 @@ "summary": "",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L121",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L121",
"visibility": "Public",

@@ -180,3 +180,3 @@ "summary": "",

"sectionName": "Traversing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L178",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L178",
"visibility": "Public",

@@ -195,3 +195,3 @@ "summary": "Traverse to the parent directory.",

"sectionName": "Traversing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L187",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L187",
"visibility": "Public",

@@ -218,3 +218,3 @@ "summary": "Traverse within this Directory to a child File. This method doesn't\nactually check to see if the File exists, it just creates the File object.",

"sectionName": "Traversing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L197",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L197",
"visibility": "Public",

@@ -241,3 +241,3 @@ "summary": "Traverse within this a Directory to a child Directory. This method\ndoesn't actually check to see if the Directory exists, it just creates the\nDirectory object.",

"sectionName": "Traversing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L203",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L203",
"visibility": "Public",

@@ -256,3 +256,3 @@ "summary": "Reads file entries in this directory from disk synchronously.",

"sectionName": "Traversing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L224",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L224",
"visibility": "Public",

@@ -287,3 +287,3 @@ "summary": "Reads file entries in this directory from disk asynchronously.",

"sectionName": "Traversing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/directory.coffee#L251",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/directory.coffee#L251",
"visibility": "Public",

@@ -309,3 +309,3 @@ "summary": "",

"filename": "src/file.coffee",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L20",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L20",
"sections": [

@@ -342,3 +342,3 @@ {

"sectionName": "Construction",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L35",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L35",
"visibility": "Public",

@@ -365,3 +365,3 @@ "summary": "Creates a new file.",

"sectionName": "Event Subscription",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L69",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L69",
"visibility": "Public",

@@ -388,3 +388,3 @@ "summary": "Invoke the given callback when the file's contents change.",

"sectionName": "Event Subscription",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L78",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L78",
"visibility": "Public",

@@ -411,3 +411,3 @@ "summary": "Invoke the given callback when the file's path changes.",

"sectionName": "Event Subscription",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L87",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L87",
"visibility": "Public",

@@ -434,3 +434,3 @@ "summary": "Invoke the given callback when the file is deleted.",

"sectionName": "Event Subscription",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L100",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L100",
"visibility": "Public",

@@ -473,3 +473,3 @@ "summary": "Invoke the given callback when there is an error with the watch.\nWhen your callback has been invoked, the file will have unsubscribed from\nthe file watches.",

"sectionName": "File Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L122",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L122",
"visibility": "Public",

@@ -488,3 +488,3 @@ "summary": "",

"sectionName": "File Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L125",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L125",
"visibility": "Public",

@@ -503,3 +503,3 @@ "summary": "",

"sectionName": "File Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L133",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L133",
"visibility": "Public",

@@ -518,3 +518,3 @@ "summary": "",

"sectionName": "File Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L139",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L139",
"visibility": "Public",

@@ -533,3 +533,3 @@ "summary": "Get the SHA-1 digest of this file",

"sectionName": "File Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L148",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L148",
"visibility": "Public",

@@ -548,3 +548,3 @@ "summary": "Get the SHA-1 digest of this file",

"sectionName": "File Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L159",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L159",
"visibility": "Public",

@@ -565,3 +565,3 @@ "summary": "Sets the file's character set encoding name.",

"sectionName": "File Metadata",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L162",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L162",
"visibility": "Public",

@@ -580,3 +580,3 @@ "summary": "",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L169",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L169",
"visibility": "Public",

@@ -595,3 +595,3 @@ "summary": "",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L176",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L176",
"visibility": "Public",

@@ -610,3 +610,3 @@ "summary": "",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L186",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L186",
"visibility": "Public",

@@ -625,3 +625,3 @@ "summary": "",

"sectionName": "Managing Paths",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L194",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L194",
"visibility": "Public",

@@ -634,3 +634,3 @@ "summary": "Return the {String} filename without any directory information. ",

"sectionName": "Traversing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L202",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L202",
"visibility": "Public",

@@ -643,3 +643,3 @@ "summary": "Return the {Directory} that contains this file. ",

"sectionName": "Reading and Writing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L240",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L240",
"visibility": "Public",

@@ -666,3 +666,3 @@ "summary": "Reads the contents of the file.",

"sectionName": "Reading and Writing",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.0/src/file.coffee#L278",
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.0.1/src/file.coffee#L278",
"visibility": "Public",

@@ -669,0 +669,0 @@ "summary": "Overwrites the file with the given text.",

@@ -335,5 +335,5 @@ (function() {

if (encoding === 'utf8') {
return Q.nfcall(fs.writeFile(filePath, contents, {
return Q.nfcall(fs.writeFile, filePath, contents, {
encoding: encoding
}));
});
} else {

@@ -340,0 +340,0 @@ if (iconv == null) {

@@ -5,3 +5,3 @@ {

"description": "Watch files and directories for changes",
"version": "4.0.0",
"version": "4.0.1",
"licenses": [

@@ -8,0 +8,0 @@ {

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