@loaders.gl/zip
Advanced tools
Comparing version 2.2.0-alpha.3 to 2.2.0-beta.1
@@ -38,3 +38,3 @@ "use strict"; | ||
extensions: ['tar'], | ||
mimeType: 'application/x-tar', | ||
mimeTypes: ['application/x-tar'], | ||
builder: TARBuilder, | ||
@@ -41,0 +41,0 @@ options: TAR_BUILDER_OPTIONS |
@@ -16,3 +16,3 @@ "use strict"; | ||
var VERSION = typeof "2.2.0-alpha.3" !== 'undefined' ? "2.2.0-alpha.3" : 'latest'; | ||
var VERSION = typeof "2.2.0-beta.1" !== 'undefined' ? "2.2.0-beta.1" : 'latest'; | ||
var ZipLoader = { | ||
@@ -23,3 +23,3 @@ id: 'zip', | ||
extensions: ['zip'], | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
category: 'archive', | ||
@@ -26,0 +26,0 @@ test: 'PK', |
@@ -16,3 +16,3 @@ "use strict"; | ||
category: 'archive', | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
encode: encodeZipAsync | ||
@@ -19,0 +19,0 @@ }; |
@@ -17,3 +17,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
extensions: ['tar'], | ||
mimeType: 'application/x-tar', | ||
mimeTypes: ['application/x-tar'], | ||
builder: TARBuilder, | ||
@@ -20,0 +20,0 @@ options: TAR_BUILDER_OPTIONS |
import JSZip from 'jszip'; | ||
const VERSION = typeof "2.2.0-alpha.3" !== 'undefined' ? "2.2.0-alpha.3" : 'latest'; | ||
const VERSION = typeof "2.2.0-beta.1" !== 'undefined' ? "2.2.0-beta.1" : 'latest'; | ||
export const ZipLoader = { | ||
@@ -8,3 +8,3 @@ id: 'zip', | ||
extensions: ['zip'], | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
category: 'archive', | ||
@@ -11,0 +11,0 @@ test: 'PK', |
@@ -6,3 +6,3 @@ import JSZip from 'jszip'; | ||
category: 'archive', | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
encode: encodeZipAsync | ||
@@ -9,0 +9,0 @@ }; |
@@ -24,3 +24,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
extensions: ['tar'], | ||
mimeType: 'application/x-tar', | ||
mimeTypes: ['application/x-tar'], | ||
builder: TARBuilder, | ||
@@ -27,0 +27,0 @@ options: TAR_BUILDER_OPTIONS |
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator"; | ||
import JSZip from 'jszip'; | ||
var VERSION = typeof "2.2.0-alpha.3" !== 'undefined' ? "2.2.0-alpha.3" : 'latest'; | ||
var VERSION = typeof "2.2.0-beta.1" !== 'undefined' ? "2.2.0-beta.1" : 'latest'; | ||
export var ZipLoader = { | ||
@@ -10,3 +10,3 @@ id: 'zip', | ||
extensions: ['zip'], | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
category: 'archive', | ||
@@ -13,0 +13,0 @@ test: 'PK', |
@@ -6,3 +6,3 @@ import JSZip from 'jszip'; | ||
category: 'archive', | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
encode: encodeZipAsync | ||
@@ -9,0 +9,0 @@ }; |
{ | ||
"name": "@loaders.gl/zip", | ||
"version": "2.2.0-alpha.3", | ||
"version": "2.2.0-beta.1", | ||
"description": "Zip Archive Loader", | ||
@@ -36,3 +36,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "4a14e79ae0486151240fb18896c413edeb5b0b67" | ||
"gitHead": "a7d54a19c9825399723df9138dd1ce3cf6d412b9" | ||
} |
@@ -14,3 +14,3 @@ /* global Response */ | ||
extensions: ['tar'], | ||
mimeType: 'application/x-tar', | ||
mimeTypes: ['application/x-tar'], | ||
builder: TARBuilder, | ||
@@ -17,0 +17,0 @@ options: TAR_BUILDER_OPTIONS |
@@ -1,5 +0,4 @@ | ||
// __VERSION__ is injected by babel-plugin-version-inline | ||
/* global __VERSION__ */ | ||
import JSZip from 'jszip'; | ||
// __VERSION__ is injected by babel-plugin-version-inline | ||
// @ts-ignore TS2304: Cannot find name '__VERSION__'. | ||
@@ -13,3 +12,3 @@ const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest'; | ||
extensions: ['zip'], | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
category: 'archive', | ||
@@ -16,0 +15,0 @@ test: 'PK', |
@@ -7,3 +7,3 @@ import JSZip from 'jszip'; | ||
category: 'archive', | ||
mimeType: 'application/zip', | ||
mimeTypes: ['application/zip'], | ||
encode: encodeZipAsync | ||
@@ -10,0 +10,0 @@ }; |
Sorry, the diff of this file is too big to display
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
322289
3482