pathwatcher
Advanced tools
Comparing version 4.4.1 to 4.4.2
84
api.json
@@ -6,3 +6,3 @@ { | ||
"filename": "src/directory.coffee", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L14", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L14", | ||
"sections": [ | ||
@@ -35,3 +35,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L27", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/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.1/src/directory.coffee#L51", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/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.1/src/directory.coffee#L73", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/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.1/src/directory.coffee#L95", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L95", | ||
"visibility": "Public", | ||
@@ -113,3 +113,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L98", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L98", | ||
"visibility": "Public", | ||
@@ -128,3 +128,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L102", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L102", | ||
"visibility": "Public", | ||
@@ -143,3 +143,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L107", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L107", | ||
"visibility": "Public", | ||
@@ -158,3 +158,3 @@ "summary": "", | ||
"sectionName": "Directory Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L112", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L112", | ||
"visibility": "Public", | ||
@@ -167,3 +167,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.1/src/directory.coffee#L123", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L123", | ||
"visibility": "Public", | ||
@@ -182,3 +182,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L129", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L129", | ||
"visibility": "Public", | ||
@@ -197,3 +197,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L140", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L140", | ||
"visibility": "Public", | ||
@@ -212,3 +212,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L145", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L145", | ||
"visibility": "Public", | ||
@@ -227,3 +227,3 @@ "summary": "", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L202", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L202", | ||
"visibility": "Public", | ||
@@ -242,3 +242,3 @@ "summary": "Traverse to the parent directory.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L211", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L211", | ||
"visibility": "Public", | ||
@@ -265,3 +265,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.1/src/directory.coffee#L221", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L221", | ||
"visibility": "Public", | ||
@@ -288,3 +288,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.1/src/directory.coffee#L227", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L227", | ||
"visibility": "Public", | ||
@@ -303,3 +303,3 @@ "summary": "Reads file entries in this directory from disk synchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L248", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L248", | ||
"visibility": "Public", | ||
@@ -334,3 +334,3 @@ "summary": "Reads file entries in this directory from disk asynchronously.", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/directory.coffee#L279", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/directory.coffee#L279", | ||
"visibility": "Public", | ||
@@ -364,3 +364,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.1/src/file.coffee#L19", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L19", | ||
"sections": [ | ||
@@ -397,3 +397,3 @@ { | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L32", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L32", | ||
"visibility": "Public", | ||
@@ -420,3 +420,3 @@ "summary": "Configures a new File instance, no files are accessed.", | ||
"sectionName": "Construction", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L54", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L54", | ||
"visibility": "Public", | ||
@@ -435,3 +435,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.1/src/file.coffee#L72", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L72", | ||
"visibility": "Public", | ||
@@ -458,3 +458,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.1/src/file.coffee#L81", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L81", | ||
"visibility": "Public", | ||
@@ -481,3 +481,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.1/src/file.coffee#L90", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L90", | ||
"visibility": "Public", | ||
@@ -504,3 +504,3 @@ "summary": "Invoke the given callback when the file is deleted.", | ||
"sectionName": "Event Subscription", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L103", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L103", | ||
"visibility": "Public", | ||
@@ -543,3 +543,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.1/src/file.coffee#L125", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L125", | ||
"visibility": "Public", | ||
@@ -558,3 +558,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L128", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L128", | ||
"visibility": "Public", | ||
@@ -573,3 +573,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L132", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L132", | ||
"visibility": "Public", | ||
@@ -588,3 +588,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L137", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L137", | ||
"visibility": "Public", | ||
@@ -603,3 +603,3 @@ "summary": "", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L143", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L143", | ||
"visibility": "Public", | ||
@@ -618,3 +618,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L152", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L152", | ||
"visibility": "Public", | ||
@@ -633,3 +633,3 @@ "summary": "Get the SHA-1 digest of this file", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L162", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L162", | ||
"visibility": "Public", | ||
@@ -650,3 +650,3 @@ "summary": "Sets the file's character set encoding name.", | ||
"sectionName": "File Metadata", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L165", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L169", | ||
"visibility": "Public", | ||
@@ -665,3 +665,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L172", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L176", | ||
"visibility": "Public", | ||
@@ -680,3 +680,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L179", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L183", | ||
"visibility": "Public", | ||
@@ -695,3 +695,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L188", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L192", | ||
"visibility": "Public", | ||
@@ -710,3 +710,3 @@ "summary": "", | ||
"sectionName": "Managing Paths", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L196", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L200", | ||
"visibility": "Public", | ||
@@ -719,3 +719,3 @@ "summary": "Return the {String} filename without any directory information. ", | ||
"sectionName": "Traversing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L204", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L208", | ||
"visibility": "Public", | ||
@@ -728,3 +728,3 @@ "summary": "Return the {Directory} that contains this file. ", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L240", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L244", | ||
"visibility": "Public", | ||
@@ -751,3 +751,3 @@ "summary": "Reads the contents of the file.", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L278", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L282", | ||
"visibility": "Public", | ||
@@ -774,3 +774,3 @@ "summary": "Overwrites the file with the given text.", | ||
"sectionName": "Reading and Writing", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.1/src/file.coffee#L290", | ||
"srcUrl": "https://github.com/atom/node-pathwatcher/blob/v4.4.2/src/file.coffee#L294", | ||
"visibility": "Public", | ||
@@ -777,0 +777,0 @@ "summary": "Overwrites the file with the given text.", |
@@ -174,3 +174,7 @@ (function() { | ||
File.prototype.setEncoding = function(encoding) { | ||
this.encoding = encoding != null ? encoding : 'utf8'; | ||
if (encoding == null) { | ||
encoding = 'utf8'; | ||
} | ||
iconv.getCodec(encoding); | ||
return this.encoding = encoding; | ||
}; | ||
@@ -177,0 +181,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Watch files and directories for changes", | ||
"version": "4.4.1", | ||
"version": "4.4.2", | ||
"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
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
92258
1710