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

chrome-fs

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chrome-fs - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

13

chrome.js

@@ -1114,2 +1114,3 @@ var util = require('util')

this.tds = 0
exports.open(this.path, this.flags, this.mode, function (er, fd) {

@@ -1170,9 +1171,16 @@ if (er) {

this.writelist.push(data)
this.tds += data.length
this.currentbuffersize += data.length
callback(null, data.length)
if (this.currentbuffersize > 10240) {
this._intenalwrite()
}
this.tds += data.length
}
WriteStream.prototype._intenalwrite = function () {
// if fd is null then don't write
// filewriter isn't setup so lets ignore it and
// see if we try again
if (this.fd === null) {

@@ -1183,2 +1191,3 @@ return

this.writelist = []
this.currentbuffersize = 0
var initblob = new Blob([dataToWrite]) // eslint-disable-line

@@ -1185,0 +1194,0 @@ this.fd.write(initblob)

2

package.json
{
"name": "chrome-fs",
"version": "9.0.0",
"version": "9.0.1",
"description": "Use the Node `fs` API in Chrome Apps",

@@ -5,0 +5,0 @@ "main": "main.js",

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