pathwatcher
Advanced tools
Comparing version 4.4.4 to 4.4.5-0
88
api.json
@@ -6,3 +6,3 @@ { | ||
"filename": "src/directory.coffee", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L14", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L14", | ||
"sections": [ | ||
@@ -35,3 +35,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L27", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L27", | ||
"visibility": "Public", | ||
@@ -58,3 +58,3 @@ "summary": "Configures a new Directory instance, no files are accessed.", | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L51", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L51", | ||
"visibility": "Public", | ||
@@ -75,3 +75,3 @@ "summary": "Creates the directory on disk that corresponds to `::getPath()` if\nno such directory already exists.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L73", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L73", | ||
"visibility": "Public", | ||
@@ -98,3 +98,3 @@ "summary": "Invoke the given callback when the directory's contents change.", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L95", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L95", | ||
"visibility": "Public", | ||
@@ -113,3 +113,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L98", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L98", | ||
"visibility": "Public", | ||
@@ -128,3 +128,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L101", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L101", | ||
"visibility": "Public", | ||
@@ -143,3 +143,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L106", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L106", | ||
"visibility": "Public", | ||
@@ -158,3 +158,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L111", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L111", | ||
"visibility": "Public", | ||
@@ -173,3 +173,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L116", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L116", | ||
"visibility": "Public", | ||
@@ -182,3 +182,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.4.4/src/directory.coffee#L127", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L127", | ||
"visibility": "Public", | ||
@@ -197,3 +197,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L133", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L133", | ||
"visibility": "Public", | ||
@@ -212,3 +212,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L144", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L144", | ||
"visibility": "Public", | ||
@@ -227,3 +227,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L149", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L149", | ||
"visibility": "Public", | ||
@@ -242,3 +242,3 @@ "summary": "", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L206", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L206", | ||
"visibility": "Public", | ||
@@ -257,3 +257,3 @@ "summary": "Traverse to the parent directory.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L215", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L215", | ||
"visibility": "Public", | ||
@@ -280,3 +280,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.4.4/src/directory.coffee#L225", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L225", | ||
"visibility": "Public", | ||
@@ -303,3 +303,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.4.4/src/directory.coffee#L231", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L231", | ||
"visibility": "Public", | ||
@@ -318,3 +318,3 @@ "summary": "Reads file entries in this directory from disk synchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L252", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L252", | ||
"visibility": "Public", | ||
@@ -349,3 +349,3 @@ "summary": "Reads file entries in this directory from disk asynchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/directory.coffee#L283", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/directory.coffee#L283", | ||
"visibility": "Public", | ||
@@ -379,3 +379,3 @@ "summary": "Determines if the given path (real or symbolic) is inside this\ndirectory. This method does not actually check if the path exists, it just\nchecks if the path is under this directory.", | ||
"filename": "src/file.coffee", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L19", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L19", | ||
"sections": [ | ||
@@ -412,3 +412,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L32", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L32", | ||
"visibility": "Public", | ||
@@ -435,3 +435,3 @@ "summary": "Configures a new File instance, no files are accessed.", | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L54", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L54", | ||
"visibility": "Public", | ||
@@ -450,3 +450,3 @@ "summary": "Creates the file on disk that corresponds to `::getPath()` if no\nsuch file already exists.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L72", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L72", | ||
"visibility": "Public", | ||
@@ -473,3 +473,3 @@ "summary": "Invoke the given callback when the file's contents change.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L81", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L81", | ||
"visibility": "Public", | ||
@@ -496,3 +496,3 @@ "summary": "Invoke the given callback when the file's path changes.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L90", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L90", | ||
"visibility": "Public", | ||
@@ -519,3 +519,3 @@ "summary": "Invoke the given callback when the file is deleted.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L103", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L103", | ||
"visibility": "Public", | ||
@@ -558,3 +558,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.4.4/src/file.coffee#L125", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L125", | ||
"visibility": "Public", | ||
@@ -573,3 +573,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L128", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L128", | ||
"visibility": "Public", | ||
@@ -588,3 +588,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L131", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L131", | ||
"visibility": "Public", | ||
@@ -603,3 +603,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L136", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L136", | ||
"visibility": "Public", | ||
@@ -618,3 +618,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L141", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L141", | ||
"visibility": "Public", | ||
@@ -633,3 +633,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L147", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L147", | ||
"visibility": "Public", | ||
@@ -648,3 +648,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L156", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L156", | ||
"visibility": "Public", | ||
@@ -663,3 +663,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L166", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L166", | ||
"visibility": "Public", | ||
@@ -680,3 +680,3 @@ "summary": "Sets the file's character set encoding name.", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L177", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L177", | ||
"visibility": "Public", | ||
@@ -695,3 +695,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L184", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L184", | ||
"visibility": "Public", | ||
@@ -710,3 +710,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L191", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L191", | ||
"visibility": "Public", | ||
@@ -725,3 +725,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L200", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L200", | ||
"visibility": "Public", | ||
@@ -740,3 +740,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L208", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L208", | ||
"visibility": "Public", | ||
@@ -749,3 +749,3 @@ "summary": "Return the {String} filename without any directory information. ", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L216", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L216", | ||
"visibility": "Public", | ||
@@ -758,3 +758,3 @@ "summary": "Return the {Directory} that contains this file. ", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L252", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L252", | ||
"visibility": "Public", | ||
@@ -781,3 +781,3 @@ "summary": "Reads the contents of the file.", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L290", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L290", | ||
"visibility": "Public", | ||
@@ -804,3 +804,3 @@ "summary": "Overwrites the file with the given text.", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.4/src/file.coffee#L302", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.5-0/src/file.coffee#L303", | ||
"visibility": "Public", | ||
@@ -807,0 +807,0 @@ "summary": "Overwrites the file with the given text.", |
@@ -337,2 +337,3 @@ (function() { | ||
_this.cachedContents = text; | ||
_this.setDigest(text); | ||
if (!previouslyExisted && _this.hasSubscriptions()) { | ||
@@ -352,2 +353,3 @@ _this.subscribeToNativeChangeEvents(); | ||
this.cachedContents = text; | ||
this.setDigest(text); | ||
if (!previouslyExisted && this.hasSubscriptions()) { | ||
@@ -416,2 +418,4 @@ this.subscribeToNativeChangeEvents(); | ||
oldContents = this.cachedContents; | ||
this.cachedContents = null; | ||
this.digest = null; | ||
handleReadError = (function(_this) { | ||
@@ -418,0 +422,0 @@ return function(error) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Watch files and directories for changes", | ||
"version": "4.4.4", | ||
"version": "4.4.5-0", | ||
"licenses": [ | ||
@@ -8,0 +8,0 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93757
1753
1