@jetbrains/ring-ui 7.0.51 → 7.0.52
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/components/auth/response-parser.d.ts +1 -2
- package/components/auth/response-parser.js +1 -2
- package/components/auth/token-validator.d.ts +1 -2
- package/components/auth/token-validator.js +1 -2
- package/components/http/http.d.ts +1 -2
- package/components/http/http.js +1 -2
- package/components/message/message.css +3 -0
- package/package.json +11 -12
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import ExtendableError from 'es6-error';
|
|
2
1
|
export interface AuthResponse {
|
|
3
2
|
accessToken?: string;
|
|
4
3
|
state?: string;
|
|
@@ -10,7 +9,7 @@ export interface AuthResponse {
|
|
|
10
9
|
errorUri?: string;
|
|
11
10
|
restoreAuthState?: string;
|
|
12
11
|
}
|
|
13
|
-
export declare class AuthError extends
|
|
12
|
+
export declare class AuthError extends Error {
|
|
14
13
|
code: string | Error | AuthError | undefined;
|
|
15
14
|
uri: string | undefined;
|
|
16
15
|
stateId: string | undefined;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import ExtendableError from 'es6-error';
|
|
2
1
|
import AuthStorage, { StoredToken } from './storage';
|
|
3
2
|
export interface TokenValidatorConfig {
|
|
4
3
|
scope: string[];
|
|
5
4
|
optionalScopes?: readonly string[] | null | undefined;
|
|
6
5
|
}
|
|
7
|
-
export declare class TokenValidationError extends
|
|
6
|
+
export declare class TokenValidationError extends Error {
|
|
8
7
|
cause: Error | undefined;
|
|
9
8
|
authRedirect: true;
|
|
10
9
|
constructor(message: string, cause?: Error);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import ExtendableError from 'es6-error';
|
|
2
1
|
export declare const defaultFetchConfig: RequestInit;
|
|
3
2
|
export type HTTPErrorData = Record<string, unknown>;
|
|
4
|
-
export declare class HTTPError extends
|
|
3
|
+
export declare class HTTPError extends Error {
|
|
5
4
|
data: HTTPErrorData;
|
|
6
5
|
status: number | undefined;
|
|
7
6
|
constructor(response: Partial<Response>, data?: HTTPErrorData);
|
package/components/http/http.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import ExtendableError from 'es6-error';
|
|
2
1
|
import { encodeURL, joinBaseURLAndPath } from '../global/url';
|
|
3
2
|
/**
|
|
4
3
|
* @name HTTP
|
|
@@ -11,7 +10,7 @@ export const defaultFetchConfig = {
|
|
|
11
10
|
},
|
|
12
11
|
credentials: 'same-origin',
|
|
13
12
|
};
|
|
14
|
-
export class HTTPError extends
|
|
13
|
+
export class HTTPError extends Error {
|
|
15
14
|
data;
|
|
16
15
|
status;
|
|
17
16
|
constructor(response, data = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.52",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "JetBrains"
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
"@rollup/plugin-json": "^6.1.0",
|
|
115
115
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
116
116
|
"@rollup/plugin-replace": "^6.0.2",
|
|
117
|
-
"@storybook/addon-a11y": "9.0.
|
|
118
|
-
"@storybook/addon-docs": "^9.0.
|
|
119
|
-
"@storybook/addon-themes": "^9.0.
|
|
117
|
+
"@storybook/addon-a11y": "9.0.10",
|
|
118
|
+
"@storybook/addon-docs": "^9.0.10",
|
|
119
|
+
"@storybook/addon-themes": "^9.0.10",
|
|
120
120
|
"@storybook/csf": "^0.1.13",
|
|
121
|
-
"@storybook/react-webpack5": "9.0.
|
|
121
|
+
"@storybook/react-webpack5": "9.0.10",
|
|
122
122
|
"@storybook/test-runner": "^0.23.0",
|
|
123
123
|
"@testing-library/dom": "^10.4.0",
|
|
124
124
|
"@testing-library/react": "^16.3.0",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"@types/react-dom": "^19.1.6",
|
|
133
133
|
"@types/webpack-env": "^1.18.8",
|
|
134
134
|
"@vitejs/plugin-react": "^4.5.2",
|
|
135
|
-
"@vitest/eslint-plugin": "^1.2.
|
|
135
|
+
"@vitest/eslint-plugin": "^1.2.5",
|
|
136
136
|
"acorn": "^8.15.0",
|
|
137
137
|
"axe-playwright": "^2.1.0",
|
|
138
138
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"core-js": "^3.43.0",
|
|
146
146
|
"cpy-cli": "^5.0.0",
|
|
147
147
|
"dotenv-cli": "^8.0.0",
|
|
148
|
-
"eslint": "^9.
|
|
148
|
+
"eslint": "^9.29.0",
|
|
149
149
|
"eslint-config-prettier": "^10.1.5",
|
|
150
150
|
"eslint-formatter-jslint-xml": "^8.40.0",
|
|
151
151
|
"eslint-import-resolver-exports": "^1.0.0-beta.5",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"eslint-plugin-prettier": "^5.4.1",
|
|
156
156
|
"eslint-plugin-react": "^7.37.5",
|
|
157
157
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
158
|
-
"eslint-plugin-storybook": "^9.0.
|
|
158
|
+
"eslint-plugin-storybook": "^9.0.10",
|
|
159
159
|
"events": "^3.3.0",
|
|
160
160
|
"glob": "^11.0.3",
|
|
161
161
|
"globals": "^16.2.0",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"jest": "~30.0.0",
|
|
167
167
|
"jest-environment-jsdom": "^30.0.0",
|
|
168
168
|
"jest-teamcity": "^1.12.0",
|
|
169
|
-
"lint-staged": "^16.1.
|
|
169
|
+
"lint-staged": "^16.1.2",
|
|
170
170
|
"markdown-it": "^14.1.0",
|
|
171
171
|
"merge-options": "^3.0.4",
|
|
172
172
|
"pinst": "^3.0.0",
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"rollup": "^4.43.0",
|
|
180
180
|
"rollup-plugin-clear": "^2.0.7",
|
|
181
181
|
"storage-mock": "^2.1.0",
|
|
182
|
-
"storybook": "9.0.
|
|
182
|
+
"storybook": "9.0.10",
|
|
183
183
|
"stylelint": "^16.20.0",
|
|
184
184
|
"svg-inline-loader": "^0.8.2",
|
|
185
185
|
"teamcity-service-messages": "^0.1.14",
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"@babel/preset-typescript": "^7.27.1",
|
|
218
218
|
"@jetbrains/babel-preset-jetbrains": "^2.4.0",
|
|
219
219
|
"@jetbrains/icons": "^5.10.0",
|
|
220
|
-
"@jetbrains/postcss-require-hover": "^0.
|
|
220
|
+
"@jetbrains/postcss-require-hover": "^0.2.0",
|
|
221
221
|
"@types/combokeys": "^2.4.9",
|
|
222
222
|
"@types/element-resize-detector": "^1.1.6",
|
|
223
223
|
"@types/react-virtualized": "9.22.2",
|
|
@@ -233,7 +233,6 @@
|
|
|
233
233
|
"date-fns": "^4.1.0",
|
|
234
234
|
"dequal": "^2.0.3",
|
|
235
235
|
"element-resize-detector": "^1.2.4",
|
|
236
|
-
"es6-error": "^4.1.1",
|
|
237
236
|
"fastdom": "^1.0.12",
|
|
238
237
|
"file-loader": "^6.2.0",
|
|
239
238
|
"focus-trap": "^7.6.5",
|