New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

abstract-file

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-file - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

lib/index.js

@@ -411,3 +411,3 @@ (function() {

result = this.loadContentSync(aOptions);
if (aOptions.skipSize && isFunction(result.slice)) {
if (aOptions.skipSize > 0 && isFunction(result.slice)) {
result = result.slice(aOptions.skipSize);

@@ -428,3 +428,3 @@ }

return this.loadContent(aOptions, function(err, result) {
if (result && aOptions.skipSize && isFunction(result.slice)) {
if (result && aOptions.skipSize > 0 && isFunction(result.slice)) {
result = result.slice(aOptions.skipSize);

@@ -431,0 +431,0 @@ }

{
"name": "abstract-file",
"description": "It can be used on any virtual file system, and stream supports.",
"version": "0.3.1",
"version": "0.3.2",
"homepage": "https://github.com/snowyu/abstract-file.js",

@@ -6,0 +6,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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