@datashaper/utilities
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -1,2 +0,5 @@ | ||
import { getDataURL, getDsvFileContent, getJsonFileContentFromFile, getTextFromFile, isDsvFile, isJsonFile, isSupportedFile, isTableFile, isZipFile, loadTable } from '../utils/index.js'; | ||
/*! | ||
* Copyright (c) Microsoft. All rights reserved. | ||
* Licensed under the MIT license. See LICENSE file in the project. | ||
*/ import { getDataURL, getDsvFileContent, getJsonFileContentFromFile, getTextFromFile, isDsvFile, isJsonFile, isSupportedFile, isTableFile, isZipFile, loadTable } from '../utils/index.js'; | ||
import { FileWithPath } from './FileWithPath.js'; | ||
@@ -3,0 +6,0 @@ export class BaseFile extends FileWithPath { |
@@ -1,2 +0,5 @@ | ||
import { FileType } from '../types.js'; | ||
/*! | ||
* Copyright (c) Microsoft. All rights reserved. | ||
* Licensed under the MIT license. See LICENSE file in the project. | ||
*/ import { FileType } from '../types.js'; | ||
import { createFileWithPath, fetchFile, getFilesFromZip, isZipFile, renameDuplicatedFiles, tableToHTML, toZip } from '../utils/index.js'; | ||
@@ -3,0 +6,0 @@ import { BaseFile } from './BaseFile.js'; |
@@ -1,2 +0,5 @@ | ||
export var FileType; | ||
/*! | ||
* Copyright (c) Microsoft. All rights reserved. | ||
* Licensed under the MIT license. See LICENSE file in the project. | ||
*/ export var FileType; | ||
(function(FileType) { | ||
@@ -3,0 +6,0 @@ FileType["csv"] = "csv"; |
@@ -1,2 +0,5 @@ | ||
/** | ||
/*! | ||
* Copyright (c) Microsoft. All rights reserved. | ||
* Licensed under the MIT license. See LICENSE file in the project. | ||
*/ /** | ||
* Downloads a copy of a file in the specified format | ||
@@ -3,0 +6,0 @@ * @param filename - |
@@ -1,2 +0,5 @@ | ||
import { BlobReader, BlobWriter, Data64URIWriter, ZipReader, ZipWriter } from '@zip.js/zip.js'; | ||
/*! | ||
* Copyright (c) Microsoft. All rights reserved. | ||
* Licensed under the MIT license. See LICENSE file in the project. | ||
*/ import { BlobReader, BlobWriter, Data64URIWriter, ZipReader, ZipWriter } from '@zip.js/zip.js'; | ||
import { FileWithPath } from '../common/index.js'; | ||
@@ -3,0 +6,0 @@ export async function getFilesFromZip(zipFile) { |
{ | ||
"name": "@datashaper/utilities", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"type": "module", | ||
@@ -37,21 +37,22 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@zip.js/zip.js": "^2.4.26" | ||
"@zip.js/zip.js": "2.3.18" | ||
}, | ||
"devDependencies": { | ||
"@essex/jest-config": "^21.0.13", | ||
"@essex/scripts": "^22.0.5", | ||
"@essex/jest-config": "^21.0.14", | ||
"@essex/scripts": "^22.0.7", | ||
"@essex/tsconfig-base": "^1.0.2", | ||
"@essex/vite-config": "^19.0.11", | ||
"@types/node": "^18.0.0", | ||
"arquero": "^4.8.8", | ||
"jest": "^28.1.2", | ||
"jest-environment-jsdom": "^28.1.2", | ||
"node-fetch": "^3.2.6", | ||
"@essex/vite-config": "^19.0.12", | ||
"@types/jest": "^29.0.2", | ||
"@types/node": "^18.7.18", | ||
"arquero": "^5.1.0", | ||
"jest": "^29.0.3", | ||
"jest-environment-jsdom": "^29.0.3", | ||
"node-fetch": "^3.2.10", | ||
"regenerator-runtime": "^0.13.9", | ||
"typescript": "^4.7.4" | ||
"typescript": "^4.8.3" | ||
}, | ||
"peerDependencies": { | ||
"arquero": "^4.8.7" | ||
"arquero": "^5.1.0" | ||
}, | ||
"types": "dist/index.d.ts" | ||
} |
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
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
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
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
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
135464
2016
12
3
+ Added@swc/helpers@0.5.15(transitive)
+ Added@types/command-line-args@5.2.3(transitive)
+ Added@types/command-line-usage@5.0.4(transitive)
+ Added@types/node@20.17.9(transitive)
+ Added@zip.js/zip.js@2.3.18(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedapache-arrow@15.0.2(transitive)
+ Addedarquero@5.4.1(transitive)
+ Addedarray-back@3.1.06.2.2(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedchalk-template@0.4.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcommand-line-args@5.2.1(transitive)
+ Addedcommand-line-usage@7.0.3(transitive)
+ Addedfind-replace@3.0.0(transitive)
+ Addedflatbuffers@23.5.26(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtable-layout@4.1.1(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedtypical@4.0.07.3.0(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedwordwrapjs@5.1.0(transitive)
- Removed@types/flatbuffers@1.10.3(transitive)
- Removed@types/node@12.20.55(transitive)
- Removed@types/text-encoding-utf-8@1.0.5(transitive)
- Removed@zip.js/zip.js@2.7.53(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedapache-arrow@3.0.0(transitive)
- Removedargv-tools@0.1.2(transitive)
- Removedarquero@4.8.8(transitive)
- Removedarray-back@2.0.0(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcommand-line-args@5.0.2(transitive)
- Removedcommand-line-usage@5.0.5(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedfind-replace@2.0.1(transitive)
- Removedflatbuffers@1.11.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedlodash.padend@4.6.1(transitive)
- Removedpad-left@2.1.0(transitive)
- Removedreduce-flatten@1.0.1(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtable-layout@0.4.5(transitive)
- Removedtest-value@3.0.0(transitive)
- Removedtext-encoding-utf-8@1.0.2(transitive)
- Removedtslib@1.14.1(transitive)
- Removedtypical@2.6.1(transitive)
- Removedwordwrapjs@3.0.0(transitive)
Updated@zip.js/zip.js@2.3.18