Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

repository-provider

Package Overview
Dependencies
Maintainers
1
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repository-provider - npm Package Compare versions

Comparing version 5.2.2 to 5.2.3

8

dist/provider.js

@@ -365,3 +365,9 @@ 'use strict';

toString() {
return this.path;
if (typeof this.content === "string" || this.content instanceof String) {
return this.content;
}
if (Buffer.isBuffer(this.content)) {
return this.content.toString('utf8');
}
return undefined;
}

@@ -368,0 +374,0 @@ toJSON() {

2

package.json
{
"name": "repository-provider",
"version": "5.2.2",
"version": "5.2.3",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -57,3 +57,11 @@ /**

toString() {
return this.path;
if (typeof this.content === "string" || this.content instanceof String) {
return this.content;
}
if (Buffer.isBuffer(this.content)) {
return this.content.toString('utf8');
}
return undefined;
}

@@ -60,0 +68,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc