box-content-preview 3.74.0 → 3.75.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/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
[](https://mergify.io)
|
|
3
3
|
[](https://github.com/prettier/prettier)
|
|
4
4
|
[](https://travis-ci.org/box/box-content-preview)
|
|
5
|
-
[](https://github.com/box/box-content-preview)
|
|
6
6
|
[](https://www.npmjs.com/package/box-ui-elements)
|
|
7
7
|
|
|
8
8
|
# [Box Content Preview](https://developer.box.com/docs/box-content-preview)
|
|
@@ -22,11 +22,11 @@ We encourage all users to update their applications to utilize modern browsers f
|
|
|
22
22
|
|
|
23
23
|
## Current Version
|
|
24
24
|
|
|
25
|
-
- Version: v3.
|
|
25
|
+
- Version: v3.75.0
|
|
26
26
|
- Locale: en-US
|
|
27
27
|
|
|
28
|
-
https://cdn01.boxcdn.net/platform/preview/3.
|
|
29
|
-
https://cdn01.boxcdn.net/platform/preview/3.
|
|
28
|
+
https://cdn01.boxcdn.net/platform/preview/3.75.0/en-US/preview.js
|
|
29
|
+
https://cdn01.boxcdn.net/platform/preview/3.75.0/en-US/preview.css
|
|
30
30
|
|
|
31
31
|
## Supported Locales
|
|
32
32
|
|
|
@@ -52,10 +52,10 @@ You can self-host the Box Content Preview library or reference the versions avai
|
|
|
52
52
|
<title>Box Content Preview Demo</title>
|
|
53
53
|
|
|
54
54
|
<!-- Latest version of Preview SDK for your locale -->
|
|
55
|
-
<script src="https://cdn01.boxcdn.net/platform/preview/3.
|
|
55
|
+
<script src="https://cdn01.boxcdn.net/platform/preview/3.75.0/en-US/preview.js"></script>
|
|
56
56
|
<link
|
|
57
57
|
rel="stylesheet"
|
|
58
|
-
href="https://cdn01.boxcdn.net/platform/preview/3.
|
|
58
|
+
href="https://cdn01.boxcdn.net/platform/preview/3.75.0/en-US/preview.css"
|
|
59
59
|
/>
|
|
60
60
|
</head>
|
|
61
61
|
<body>
|
|
@@ -76,7 +76,7 @@ To self-host the Box Content Preview library, follow these steps:
|
|
|
76
76
|
|
|
77
77
|
1. Either fork the repo and check out the version you want to host or download the specific version as a zip:
|
|
78
78
|
|
|
79
|
-
- Check out a specific version with `git checkout v3.
|
|
79
|
+
- Check out a specific version with `git checkout v3.75.0`
|
|
80
80
|
- Download a specific version as a zip from https://github.com/box/box-content-preview/releases
|
|
81
81
|
|
|
82
82
|
2. Install dependencies and build the library with `yarn install && yarn build:i18n && yarn build:prod`
|
package/dist/lib/index.js
CHANGED
|
@@ -6793,7 +6793,7 @@ module.exports = webpackEmptyAsyncContext;
|
|
|
6793
6793
|
/***/ 824
|
|
6794
6794
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
6795
6795
|
|
|
6796
|
-
module.exports = __webpack_require__.p + "
|
|
6796
|
+
module.exports = __webpack_require__.p + "pdf.worker.min.mjs";
|
|
6797
6797
|
|
|
6798
6798
|
/***/ },
|
|
6799
6799
|
|
|
@@ -15388,7 +15388,7 @@ function util_toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var
|
|
|
15388
15388
|
const CLIENT_NAME = "box-content-preview"; // eslint-disable-line no-undef
|
|
15389
15389
|
const CLIENT_NAME_KEY = 'box_client_name';
|
|
15390
15390
|
const CLIENT_VERSION_KEY = 'box_client_version';
|
|
15391
|
-
const CLIENT_VERSION = "3.
|
|
15391
|
+
const CLIENT_VERSION = "3.75.0"; // eslint-disable-line no-undef
|
|
15392
15392
|
const HEADER_CLIENT_NAME = 'X-Box-Client-Name';
|
|
15393
15393
|
const HEADER_CLIENT_VERSION = 'X-Box-Client-Version';
|
|
15394
15394
|
const PROMISE_MAP = {};
|
|
@@ -17085,7 +17085,7 @@ class Browser {
|
|
|
17085
17085
|
;// ./src/lib/Logger.js
|
|
17086
17086
|
/* eslint-disable no-undef */
|
|
17087
17087
|
const Logger_CLIENT_NAME = "box-content-preview";
|
|
17088
|
-
const Logger_CLIENT_VERSION = "3.
|
|
17088
|
+
const Logger_CLIENT_VERSION = "3.75.0";
|
|
17089
17089
|
/* eslint-enable no-undef */
|
|
17090
17090
|
|
|
17091
17091
|
class Logger {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "box-content-preview",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.75.0",
|
|
4
4
|
"description": "Box Content Preview UI Element",
|
|
5
5
|
"author": "Box (https://www.box.com/)",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"default": "./dist/lib/index.js"
|
|
19
19
|
},
|
|
20
20
|
"./styles.css": "./dist/lib/index.css",
|
|
21
|
+
"./pdf.worker.min.mjs": "./dist/lib/pdf.worker.min.mjs",
|
|
21
22
|
"./package.json": "./package.json"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
"mock-local-storage": "^1.1.15",
|
|
114
115
|
"mojito-rb-gen": "^0.0.1",
|
|
115
116
|
"npm-run-all": "^4.1.5",
|
|
116
|
-
"postcss": "^8.5.
|
|
117
|
+
"postcss": "^8.5.18",
|
|
117
118
|
"postcss-loader": "^8.1.1",
|
|
118
119
|
"prettier": "^1.19.1",
|
|
119
120
|
"raw-loader": "^4.0.2",
|
|
@@ -196,8 +197,15 @@
|
|
|
196
197
|
"**/react-intl/**/@types/react": "18.3.1",
|
|
197
198
|
"@types/node": "^22.18.10",
|
|
198
199
|
"acorn": "8.14.0",
|
|
200
|
+
"brace-expansion": "^1.1.16",
|
|
199
201
|
"canvas": "^3.2.3",
|
|
200
202
|
"cheerio": "1.0.0-rc.12",
|
|
201
|
-
"
|
|
203
|
+
"cipher-base": "^1.0.5",
|
|
204
|
+
"fast-uri": "^3.1.4",
|
|
205
|
+
"js-yaml": "^4.3.0",
|
|
206
|
+
"minimatch": "^3.1.4",
|
|
207
|
+
"mojito-rb-gen/merge": "1.2.1",
|
|
208
|
+
"serialize-javascript": "^7.0.5",
|
|
209
|
+
"tar": "^7.5.21"
|
|
202
210
|
}
|
|
203
211
|
}
|
|
File without changes
|