@zag-js/file-utils
Advanced tools
Comparing version 0.70.0 to 0.71.0
@@ -1,35 +0,3 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
'use strict'; | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
dataURItoBlob: () => dataURItoBlob, | ||
downloadFile: () => downloadFile, | ||
getAcceptAttrString: () => getAcceptAttrString, | ||
getFileDataUrl: () => getFileDataUrl, | ||
getTotalFileSize: () => getTotalFileSize, | ||
isFileEqual: () => isFileEqual, | ||
isMSEdge: () => isMSEdge, | ||
isValidFileSize: () => isValidFileSize, | ||
isValidFileType: () => isValidFileType | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// src/data-url-to-blob.ts | ||
@@ -163,14 +131,11 @@ function dataURItoBlob(uri) { | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
dataURItoBlob, | ||
downloadFile, | ||
getAcceptAttrString, | ||
getFileDataUrl, | ||
getTotalFileSize, | ||
isFileEqual, | ||
isMSEdge, | ||
isValidFileSize, | ||
isValidFileType | ||
}); | ||
//# sourceMappingURL=index.js.map | ||
exports.dataURItoBlob = dataURItoBlob; | ||
exports.downloadFile = downloadFile; | ||
exports.getAcceptAttrString = getAcceptAttrString; | ||
exports.getFileDataUrl = getFileDataUrl; | ||
exports.getTotalFileSize = getTotalFileSize; | ||
exports.isFileEqual = isFileEqual; | ||
exports.isMSEdge = isMSEdge; | ||
exports.isValidFileSize = isValidFileSize; | ||
exports.isValidFileType = isValidFileType; |
{ | ||
"name": "@zag-js/file-utils", | ||
"version": "0.70.0", | ||
"version": "0.71.0", | ||
"description": "JS File API utilities", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/i18n-utils": "0.70.0" | ||
"@zag-js/i18n-utils": "0.71.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17550
7
298
+ Added@zag-js/dom-query@0.71.0(transitive)
+ Added@zag-js/i18n-utils@0.71.0(transitive)
- Removed@zag-js/dom-query@0.70.0(transitive)
- Removed@zag-js/i18n-utils@0.70.0(transitive)
Updated@zag-js/i18n-utils@0.71.0