@loaders.gl/zip
Advanced tools
Comparing version 4.1.0-alpha.9 to 4.1.0-alpha.10
import { MD5Hash } from '@loaders.gl/crypto'; | ||
import { concatenateArrayBuffers } from '@loaders.gl/loader-utils'; | ||
import { concatenateArrayBuffers, concatenateArrayBuffersFromArray } from '@loaders.gl/loader-utils'; | ||
import { makeZipCDHeaderIterator } from "./parse-zip/cd-file-header.js"; | ||
@@ -36,3 +36,3 @@ export function parseHashTable(arrayBuffer) { | ||
}).sort(compareHashes); | ||
return concatenateArrayBuffers(...bufferArray); | ||
return concatenateArrayBuffersFromArray(bufferArray); | ||
} | ||
@@ -39,0 +39,0 @@ function compareHashes(arrA, arrB) { |
import JSZip from 'jszip'; | ||
const VERSION = typeof "4.1.0-alpha.9" !== 'undefined' ? "4.1.0-alpha.9" : 'latest'; | ||
const VERSION = typeof "4.1.0-alpha.10" !== 'undefined' ? "4.1.0-alpha.10" : 'latest'; | ||
export const ZipLoader = { | ||
@@ -4,0 +4,0 @@ id: 'zip', |
import JSZip from 'jszip'; | ||
const VERSION = typeof "4.1.0-alpha.9" !== 'undefined' ? "4.1.0-alpha.9" : 'latest'; | ||
const VERSION = typeof "4.1.0-alpha.10" !== 'undefined' ? "4.1.0-alpha.10" : 'latest'; | ||
export const ZipWriter = { | ||
@@ -4,0 +4,0 @@ name: 'Zip Archive', |
{ | ||
"name": "@loaders.gl/zip", | ||
"version": "4.1.0-alpha.9", | ||
"version": "4.1.0-alpha.10", | ||
"description": "Zip Archive Loader", | ||
@@ -25,5 +25,5 @@ "license": "MIT", | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts" | ||
"require": "./dist/index.cjs" | ||
} | ||
@@ -42,9 +42,9 @@ }, | ||
"dependencies": { | ||
"@loaders.gl/compression": "4.1.0-alpha.9", | ||
"@loaders.gl/crypto": "4.1.0-alpha.9", | ||
"@loaders.gl/loader-utils": "4.1.0-alpha.9", | ||
"@loaders.gl/compression": "4.1.0-alpha.10", | ||
"@loaders.gl/crypto": "4.1.0-alpha.10", | ||
"@loaders.gl/loader-utils": "4.1.0-alpha.10", | ||
"jszip": "^3.1.5", | ||
"md5": "^2.3.0" | ||
}, | ||
"gitHead": "0291d4d78d71202385d0368942f84778d6aafa82" | ||
"gitHead": "19f43c2d90d8b50860c3f8e487429779a386287d" | ||
} |
@@ -6,3 +6,7 @@ // loaders.gl | ||
import {MD5Hash} from '@loaders.gl/crypto'; | ||
import {FileProvider, concatenateArrayBuffers} from '@loaders.gl/loader-utils'; | ||
import { | ||
FileProvider, | ||
concatenateArrayBuffers, | ||
concatenateArrayBuffersFromArray | ||
} from '@loaders.gl/loader-utils'; | ||
import {makeZipCDHeaderIterator} from './parse-zip/cd-file-header'; | ||
@@ -70,3 +74,3 @@ | ||
.sort(compareHashes); | ||
return concatenateArrayBuffers(...bufferArray); | ||
return concatenateArrayBuffersFromArray(bufferArray); | ||
} | ||
@@ -73,0 +77,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
616532
12866
+ Added@loaders.gl/compression@4.1.0-alpha.10(transitive)
+ Added@loaders.gl/crypto@4.1.0-alpha.10(transitive)
+ Added@loaders.gl/loader-utils@4.1.0-alpha.10(transitive)
+ Added@loaders.gl/worker-utils@4.1.0-alpha.10(transitive)
- Removed@loaders.gl/compression@4.1.0-alpha.9(transitive)
- Removed@loaders.gl/crypto@4.1.0-alpha.9(transitive)
- Removed@loaders.gl/loader-utils@4.1.0-alpha.9(transitive)
- Removed@loaders.gl/worker-utils@4.1.0-alpha.9(transitive)