Comparing version 2.1.1 to 2.1.2
@@ -63,4 +63,4 @@ declare module 'nsfw' { | ||
debounceMS?: number; | ||
/** callback to fire in the case of errors */ | ||
errorCallback: (err: any) => void | ||
/** callback to fire in the case of errors */ | ||
errorCallback?: (err: any) => void | ||
} | ||
@@ -67,0 +67,0 @@ } |
@@ -105,2 +105,4 @@ const { promises: fs } = require('fs'); | ||
nsfw._native = NSFW; | ||
if (NSFW.getAllocatedInstanceCount) { | ||
@@ -107,0 +109,0 @@ nsfw.getAllocatedInstanceCount = NSFW.getAllocatedInstanceCount; |
{ | ||
"name": "nsfw", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "A simple file watcher for Node", | ||
@@ -8,3 +8,3 @@ "main": "js/src/index.js", | ||
"lint": "eslint js/src js/spec", | ||
"test": "yarn lint && mocha --expose-gc js/spec" | ||
"test": "yarn lint && node js/scripts/test.js" | ||
}, | ||
@@ -11,0 +11,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
76885
148