From 8d10c7041615857ca3a13505ae40da8f68e376f6 Mon Sep 17 00:00:00 2001 From: SethK Date: Wed, 3 Apr 2024 03:10:47 +0530 Subject: [PATCH 1/4] chore: Updated change log and version --- CHANGELOG.md | 6 ++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88196676..86c2a671 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [3.32.0](https://github.com/filestack/filestack-js/compare/v3.31.0...v3.32.0) (2024-04-03) + +### Updgrade + * **picker:** Upgraded picker to v1.27.1. + * **picker:** Fixed support for hpt file type ([558](https://github.com/filestack/filestack-js/pull/558/)) + ## [3.30.2](https://github.com/filestack/filestack-js/compare/v3.30.2...v3.31.0) (2024-03-10) ### Updgrade diff --git a/package-lock.json b/package-lock.json index 44ed559a..8bcf4b9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "filestack-js", - "version": "3.31.0", + "version": "3.32.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 01d4f464..5e4bfc5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "filestack-js", - "version": "3.31.0", + "version": "3.32.0", "description": "Official JavaScript library for Filestack", "main": "build/main/index.js", "module": "build/module/index.js", From 80228349236bd9de2e35f91d6867b73d70265e9e Mon Sep 17 00:00:00 2001 From: gary-singh-filestack Date: Thu, 23 May 2024 14:33:27 +0530 Subject: [PATCH 2/4] fix:(FS-11598: handle support for vsdx accept option) --- src/lib/utils/extensions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/utils/extensions.ts b/src/lib/utils/extensions.ts index b3e02d32..60c06155 100644 --- a/src/lib/utils/extensions.ts +++ b/src/lib/utils/extensions.ts @@ -640,6 +640,7 @@ export const ExtensionsMap = { 'application/vnd.uoml+xml': ['uoml'], 'application/vnd.vcx': ['vcx'], 'application/vnd.visio': ['vsd', 'vst', 'vss', 'vsw'], + 'application/vnd.ms-visio.drawing.main+xml': ['vsdx'], 'application/vnd.visionary': ['vis'], 'application/vnd.vsf': ['vsf'], 'application/vnd.wap.wbxml': ['wbxml'], From dd6b663027a6e714f2111b071bb882c4f366ff6d Mon Sep 17 00:00:00 2001 From: sethk4783 Date: Thu, 30 May 2024 17:30:32 +0530 Subject: [PATCH 3/4] chore:Updated changelog and version --- CHANGELOG.md | 3 +++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86c2a671..90d168f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [3.32.1](https://github.com/filestack/filestack-js/compare/v3.32.0...v3.32.1) (2024-05-30) + * **miemtypes:** Fixed support for vsdx file using through accept params + ## [3.32.0](https://github.com/filestack/filestack-js/compare/v3.31.0...v3.32.0) (2024-04-03) ### Updgrade diff --git a/package-lock.json b/package-lock.json index 8bcf4b9b..449fd1c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "filestack-js", - "version": "3.32.0", + "version": "3.32.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 5e4bfc5c..ab1c5d59 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "filestack-js", - "version": "3.32.0", + "version": "3.32.1", "description": "Official JavaScript library for Filestack", "main": "build/main/index.js", "module": "build/module/index.js", From 8f89b695f295e5646c863aad406528f7b86e24f1 Mon Sep 17 00:00:00 2001 From: Stanislav Termosa Date: Wed, 12 Jun 2024 12:02:10 +0400 Subject: [PATCH 4/4] fix: Replace outdated sentry/minimal with newer sentry/core --- README.md | 2 +- package-lock.json | 137 +++++++++++++--------------------------------- package.json | 2 +- src/lib/client.ts | 12 +++- 4 files changed, 50 insertions(+), 103 deletions(-) diff --git a/README.md b/README.md index 015f7dd9..0829d095 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ Upload abort throws an `FilestackError` with type `FilestackErrorType.ABORTED` ## Sentry Integration -If you're using [Sentry](https://sentry.io/welcome/) to monitor your application, Filestack will automatically report upload errors to Sentry, and tag them with helpful diagnostic information via [`@sentry/minimal`](https://github.com/getsentry/sentry-javascript/tree/master/packages/minimal). +If you're using [Sentry](https://sentry.io/welcome/) to monitor your application, Filestack will automatically report upload errors to Sentry, and tag them with helpful diagnostic information via [`@sentry/core`](https://github.com/getsentry/sentry-javascript/tree/master/packages/core). ## Versioning diff --git a/package-lock.json b/package-lock.json index 449fd1c2..e79c553f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,12 +6,12 @@ "packages": { "": { "name": "filestack-js", - "version": "3.29.0", + "version": "3.32.1", "license": "MIT", "dependencies": { "@babel/runtime": "^7.8.4", "@filestack/loader": "^1.0.9", - "@sentry/minimal": "^6.19.7", + "@sentry/core": "^8.9.1", "abab": "^2.0.6", "debug": "^4.3.4", "eventemitter3": "^5.0.0", @@ -3217,67 +3217,37 @@ "webpack": ">= 4.0.0" } }, - "node_modules/@sentry/hub": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.19.7.tgz", - "integrity": "sha512-y3OtbYFAqKHCWezF0EGGr5lcyI2KbaXW2Ik7Xp8Mu9TxbSTuwTe4rTntwg8ngPjUQU3SUHzgjqVB8qjiGqFXCA==", + "node_modules/@sentry/core": { + "version": "8.9.1", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.9.1.tgz", + "integrity": "sha512-7Q1yB4ZMJoNT6LsBVx1EyTsVemqYuKZoyEDEzZOYZsa/W438oF7M6g0JqK6TJG8JIZN50Lj5MrJOs6FAu51CCw==", "dependencies": { - "@sentry/types": "6.19.7", - "@sentry/utils": "6.19.7", - "tslib": "^1.9.3" + "@sentry/types": "8.9.1", + "@sentry/utils": "8.9.1" }, "engines": { - "node": ">=6" + "node": ">=14.18" } }, - "node_modules/@sentry/hub/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/minimal": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.19.7.tgz", - "integrity": "sha512-wcYmSJOdvk6VAPx8IcmZgN08XTXRwRtB1aOLZm+MVHjIZIhHoBGZJYTVQS/BWjldsamj2cX3YGbGXNunaCfYJQ==", - "dependencies": { - "@sentry/hub": "6.19.7", - "@sentry/types": "6.19.7", - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@sentry/minimal/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@sentry/types": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz", - "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==", + "node_modules/@sentry/core/node_modules/@sentry/types": { + "version": "8.9.1", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.9.1.tgz", + "integrity": "sha512-V+TkaDVhakH/oW6f1KQiRbvHcczQLEzdwlH2lAP5Flh+wESS5VaSPqj+esLg53GFF8q0tw7QH1tSUGXWeGoJ5g==", "engines": { - "node": ">=6" + "node": ">=14.18" } }, - "node_modules/@sentry/utils": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz", - "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==", + "node_modules/@sentry/core/node_modules/@sentry/utils": { + "version": "8.9.1", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.9.1.tgz", + "integrity": "sha512-9TROyW7PbyokwVO41wIhQRenhW+kPg2ws2nzz21aFbLCrwXvF2nNsZ67roeXOiu9n2Oy/O1yEksPOcT4zFcesQ==", "dependencies": { - "@sentry/types": "6.19.7", - "tslib": "^1.9.3" + "@sentry/types": "8.9.1" }, "engines": { - "node": ">=6" + "node": ">=14.18" } }, - "node_modules/@sentry/utils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", @@ -27268,58 +27238,27 @@ "webpack-sources": "^1.0.0" } }, - "@sentry/hub": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.19.7.tgz", - "integrity": "sha512-y3OtbYFAqKHCWezF0EGGr5lcyI2KbaXW2Ik7Xp8Mu9TxbSTuwTe4rTntwg8ngPjUQU3SUHzgjqVB8qjiGqFXCA==", + "@sentry/core": { + "version": "8.9.1", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.9.1.tgz", + "integrity": "sha512-7Q1yB4ZMJoNT6LsBVx1EyTsVemqYuKZoyEDEzZOYZsa/W438oF7M6g0JqK6TJG8JIZN50Lj5MrJOs6FAu51CCw==", "requires": { - "@sentry/types": "6.19.7", - "@sentry/utils": "6.19.7", - "tslib": "^1.9.3" + "@sentry/types": "8.9.1", + "@sentry/utils": "8.9.1" }, "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/minimal": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.19.7.tgz", - "integrity": "sha512-wcYmSJOdvk6VAPx8IcmZgN08XTXRwRtB1aOLZm+MVHjIZIhHoBGZJYTVQS/BWjldsamj2cX3YGbGXNunaCfYJQ==", - "requires": { - "@sentry/hub": "6.19.7", - "@sentry/types": "6.19.7", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@sentry/types": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz", - "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==" - }, - "@sentry/utils": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz", - "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==", - "requires": { - "@sentry/types": "6.19.7", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "@sentry/types": { + "version": "8.9.1", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.9.1.tgz", + "integrity": "sha512-V+TkaDVhakH/oW6f1KQiRbvHcczQLEzdwlH2lAP5Flh+wESS5VaSPqj+esLg53GFF8q0tw7QH1tSUGXWeGoJ5g==" + }, + "@sentry/utils": { + "version": "8.9.1", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.9.1.tgz", + "integrity": "sha512-9TROyW7PbyokwVO41wIhQRenhW+kPg2ws2nzz21aFbLCrwXvF2nNsZ67roeXOiu9n2Oy/O1yEksPOcT4zFcesQ==", + "requires": { + "@sentry/types": "8.9.1" + } } } }, diff --git a/package.json b/package.json index ab1c5d59..cf18ee18 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "dependencies": { "@babel/runtime": "^7.8.4", "@filestack/loader": "^1.0.9", - "@sentry/minimal": "^6.19.7", + "@sentry/core": "^8.9.1", "abab": "^2.0.6", "debug": "^4.3.4", "eventemitter3": "^5.0.0", diff --git a/src/lib/client.ts b/src/lib/client.ts index d0ae40da..92a5d186 100644 --- a/src/lib/client.ts +++ b/src/lib/client.ts @@ -16,7 +16,7 @@ */ import { EventEmitter } from 'eventemitter3'; -import * as Sentry from '@sentry/minimal'; +import * as Sentry from '@sentry/core'; import { config, Hosts } from '../config'; import { FilestackError } from './../filestack_error'; import { metadata, MetadataOptions, remove, retrieve, RetrieveOptions, download } from './api/file'; @@ -305,7 +305,15 @@ export class Client extends EventEmitter { * @param headers Optional headers to send * @param workflowIds Optional workflowIds to send */ - storeURL(url: string, storeParams?: StoreParams, token?: any, security?: Security, uploadTags?: UploadTags, headers?: {[key: string]: string}, workflowIds?: string[]): Promise { + storeURL( + url: string, + storeParams?: StoreParams, + token?: any, + security?: Security, + uploadTags?: UploadTags, + headers?: { [key: string]: string }, + workflowIds?: string[] + ): Promise { return storeURL({ session: this.session, url,