@bytescale/sdk 3.52.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytescale/sdk",
3
- "version": "3.52.0",
3
+ "version": "3.55.0",
4
4
  "description": "Bytescale JavaScript SDK",
5
5
  "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
6
6
  "license": "MIT",
@@ -84,14 +84,45 @@
84
84
  "prettier -w"
85
85
  ]
86
86
  },
87
+ "overrides": {
88
+ "@eslint/eslintrc": {
89
+ "ajv": "6.14.0"
90
+ },
91
+ "anymatch": {
92
+ "picomatch": "2.3.2"
93
+ },
94
+ "brace-expansion": "1.1.13",
95
+ "cross-spawn": "7.0.6",
96
+ "eslint": {
97
+ "ajv": "6.14.0",
98
+ "flatted": "3.4.2",
99
+ "js-yaml": "3.14.2",
100
+ "table": {
101
+ "ajv": "8.18.0"
102
+ }
103
+ },
104
+ "jest-util": {
105
+ "picomatch": "2.3.2"
106
+ },
107
+ "micromatch": {
108
+ "picomatch": "2.3.2"
109
+ },
110
+ "minimatch": "3.1.4",
111
+ "readdirp": {
112
+ "picomatch": "2.3.2"
113
+ },
114
+ "table": {
115
+ "ajv": "8.18.0"
116
+ }
117
+ },
87
118
  "devDependencies": {
88
- "@babel/cli": "7.24.1",
89
- "@babel/core": "7.24.1",
90
- "@babel/preset-env": "7.24.1",
119
+ "@babel/cli": "7.28.6",
120
+ "@babel/core": "7.29.0",
121
+ "@babel/preset-env": "7.29.2",
91
122
  "@types/jest": "29.2.4",
92
123
  "@typescript-eslint/eslint-plugin": "4.33.0",
93
124
  "@typescript-eslint/parser": "4.33.0",
94
- "babel-loader": "8.3.0",
125
+ "babel-loader": "10.1.1",
95
126
  "babel-plugin-transform-async-to-promises": "0.8.18",
96
127
  "eslint": "7.32.0",
97
128
  "eslint-config-prettier": "6.15.0",
@@ -101,16 +132,16 @@
101
132
  "eslint-plugin-promise": "4.2.1",
102
133
  "eslint-plugin-return-types-object-literals": "1.0.1",
103
134
  "eslint-plugin-standard": "4.1.0",
104
- "husky": "4.3.8",
135
+ "husky": "9.1.7",
105
136
  "jest": "29.3.1",
106
- "lint-staged": "10.5.1",
137
+ "lint-staged": "16.4.0",
107
138
  "node-fetch": "3.3.0",
108
139
  "prettier": "2.8.8",
109
140
  "ts-jest": "29.0.3",
110
141
  "ts-loader": "9.5.1",
111
142
  "tsc-alias": "1.2.10",
112
143
  "typescript": "4.9.5",
113
- "webpack": "5.94.0",
144
+ "webpack": "5.106.1",
114
145
  "webpack-cli": "4.10.0",
115
146
  "webpack-node-externals": "2.5.2",
116
147
  "webpack-shell-plugin-next": "2.3.1"
@@ -7,10 +7,10 @@ import { promises as fsAsync } from "fs";
7
7
  import { prepareTempDirectory } from "./utils/TempUtils";
8
8
  import * as Path from "path";
9
9
 
10
- if (process.env.BYTESCALE_SECRET_API_KEY === undefined) {
10
+ if (process.env.BYTESCALE_SECRET_API_KEY === undefined || process.env.BYTESCALE_SECRET_API_KEY.trim().length === 0) {
11
11
  throw new Error("Expected env var: BYTESCALE_SECRET_API_KEY");
12
12
  }
13
- if (process.env.BYTESCALE_ACCOUNT_ID === undefined) {
13
+ if (process.env.BYTESCALE_ACCOUNT_ID === undefined || process.env.BYTESCALE_ACCOUNT_ID.trim().length === 0) {
14
14
  throw new Error("Expected env var: BYTESCALE_ACCOUNT_ID");
15
15
  }
16
16
  const accountId = process.env.BYTESCALE_ACCOUNT_ID;