Socket
Socket
Sign inDemoInstall

@protobufjs/fetch

Package Overview
Dependencies
2
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc