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

@zag-js/file-utils

Package Overview
Dependencies
Maintainers
0
Versions
473
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/file-utils - npm Package Compare versions

Comparing version 0.70.0 to 0.71.0

57

dist/index.js

@@ -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;

4

package.json
{
"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

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