@protobufjs/fetch
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -28,3 +28,3 @@ "use strict"; | ||
return fs.readFile(path, "utf8", function fetchReadFileCallback(err, contents) { | ||
return err && typeof XMLHttpRequest !== 'undefined' | ||
return err && typeof XMLHttpRequest !== "undefined" | ||
? fetch_xhr(path, callback) | ||
@@ -31,0 +31,0 @@ : callback(err, contents); |
{ | ||
"name": "@protobufjs/fetch", | ||
"description": "Fetches the contents of a file accross node and browsers.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Daniel Wirtz <dcode+protobufjs@dcode.io>", | ||
@@ -6,0 +6,0 @@ "repository": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3