resin-image-fs
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -18,3 +18,3 @@ // Generated by CoffeeScript 1.12.7 | ||
*/ | ||
var Promise, SECTOR_SIZE, _, createDriverFromFile, createExtDriverDisposer, createFatDriverDisposer, ext2fs, fatfs, partitioninfo; | ||
var Promise, SECTOR_SIZE, _, createDriverFromFile, createExtDriverDisposer, createFatDriverDisposer, ext2fs, partitioninfo; | ||
@@ -25,4 +25,2 @@ partitioninfo = require('partitioninfo'); | ||
fatfs = require('fatfs'); | ||
_ = require('lodash'); | ||
@@ -35,3 +33,4 @@ | ||
createFatDriverDisposer = function(disk, offset, size) { | ||
var fat, sectorPosition; | ||
var fat, fatfs, sectorPosition; | ||
fatfs = require('fatfs'); | ||
sectorPosition = function(sector) { | ||
@@ -38,0 +37,0 @@ return offset + sector * SECTOR_SIZE; |
@@ -7,2 +7,6 @@ # Change Log | ||
## v5.0.3 - 2018-04-30 | ||
* Only require `fatfs` when it's needed. #39 [Pagan Gazzard] | ||
## v5.0.2 - 2018-04-25 | ||
@@ -9,0 +13,0 @@ |
{ | ||
"name": "resin-image-fs", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Resin.io image filesystem manipulation utilities", | ||
@@ -5,0 +5,0 @@ "main": "build/imagefs.js", |
40156