@scality/data-browser-library 1.0.3 → 1.0.4
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.
|
@@ -5,7 +5,7 @@ import { cleanup, render, screen } from "@testing-library/react";
|
|
|
5
5
|
import { MemoryRouter, Route, Routes } from "react-router";
|
|
6
6
|
import { DataBrowserUICustomizationProvider } from "../../../../contexts/DataBrowserUICustomizationContext.js";
|
|
7
7
|
var __webpack_modules__ = {
|
|
8
|
-
"
|
|
8
|
+
"../index" (module) {
|
|
9
9
|
module.exports = __rspack_external__index_js_95fdb65a;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -19,7 +19,7 @@ function __webpack_require__(moduleId) {
|
|
|
19
19
|
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
20
20
|
return module.exports;
|
|
21
21
|
}
|
|
22
|
-
var external_index_js_ = __webpack_require__("
|
|
22
|
+
var external_index_js_ = __webpack_require__("../index");
|
|
23
23
|
jest.mock('../ObjectSummary', ()=>({
|
|
24
24
|
ObjectSummary: ()=>/*#__PURE__*/ jsx("div", {
|
|
25
25
|
"data-testid": "object-summary",
|
|
@@ -398,7 +398,7 @@ describe('ObjectDetails', ()=>{
|
|
|
398
398
|
expect(screen.getByTestId('object-summary')).toBeInTheDocument();
|
|
399
399
|
});
|
|
400
400
|
it('should throw error when useObjectDetailsContext is used outside provider', ()=>{
|
|
401
|
-
const { useObjectDetailsContext } = __webpack_require__("
|
|
401
|
+
const { useObjectDetailsContext } = __webpack_require__("../index");
|
|
402
402
|
const TestComponent = ()=>{
|
|
403
403
|
useObjectDetailsContext();
|
|
404
404
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scality/data-browser-library",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A modular React component library for browsing S3 buckets and objects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"clean": "rm -rf dist"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-s3": "^3.
|
|
28
|
+
"@aws-sdk/client-s3": "^3.983.0",
|
|
29
29
|
"@aws-sdk/protocol-http": "^3.370.0",
|
|
30
|
-
"@aws-sdk/s3-presigned-post": "^3.
|
|
31
|
-
"@aws-sdk/s3-request-presigner": "^3.
|
|
30
|
+
"@aws-sdk/s3-presigned-post": "^3.983.0",
|
|
31
|
+
"@aws-sdk/s3-request-presigner": "^3.983.0",
|
|
32
32
|
"@hookform/resolvers": "^5.2.2",
|
|
33
33
|
"@monaco-editor/react": "^4.7.0",
|
|
34
34
|
"@scality/zenkoclient": "^2.0.0-preview.1",
|