@file-viewer/assets-data 3.1.2 → 3.2.1

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.en.md CHANGED
@@ -1,3 +1,7 @@
1
1
  # @file-viewer/assets-data
2
2
 
3
- Self-hosted SQLite and data-preview runtime assets for the opt-in data renderer. They are not included in the standard full packages.
3
+ Runtime package version 3.2.1.
4
+
5
+ Usage and API documentation: https://doc.file-viewer.app/
6
+
7
+ The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
1
  # @file-viewer/assets-data
2
2
 
3
- SQLite and data preview runtime. This package is installed only when the matching capability is selected. Its installer performs a transactional merge and records a per-file SHA-256 receipt.
3
+ Runtime package version 3.2.1.
4
+
5
+ Usage and API documentation: https://doc.file-viewer.app/
6
+
7
+ The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
package/bin/install.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/assets-data",
3
- "version": "3.1.2",
3
+ "version": "3.2.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Independent self-hosted SQLite and data preview runtime for opt-in File Viewer integration.",
@@ -10,17 +10,21 @@
10
10
  "./package.json": "./package.json"
11
11
  },
12
12
  "files": [
13
- "bin",
14
- "viewer",
13
+ "bin/install.mjs",
15
14
  "file-viewer.asset-pack.json",
15
+ "LICENSE",
16
+ "README.en.md",
16
17
  "README.md",
17
- "README.en.md"
18
+ "viewer/file-viewer-asset-pack.json",
19
+ "viewer/THIRD_PARTY_LICENSES.assets.json",
20
+ "viewer/wasm/data/licenses/LICENSE.sql-js.txt",
21
+ "viewer/wasm/data/sql-wasm.wasm"
18
22
  ],
19
23
  "bin": {
20
24
  "file-viewer-assets-data": "./bin/install.mjs"
21
25
  },
22
26
  "dependencies": {
23
- "@file-viewer/asset-installer": "3.1.2"
27
+ "@file-viewer/asset-installer": "3.2.1"
24
28
  },
25
29
  "engines": {
26
30
  "node": ">=20"
@@ -31,14 +35,14 @@
31
35
  },
32
36
  "repository": {
33
37
  "type": "git",
34
- "url": "git+https://github.com/flyfish-dev/file-viewer.git",
35
- "directory": "packages/tools/assets-data"
38
+ "url": "git+https://github.com/flyfish-dev/file-viewer.git"
36
39
  },
37
40
  "fileViewer": {
38
- "assetPackManifest": "./file-viewer.asset-pack.json"
41
+ "assetPackManifest": "./file-viewer.asset-pack.json",
42
+ "distribution": {
43
+ "schemaVersion": 1,
44
+ "mode": "runtime-only"
45
+ }
39
46
  },
40
- "license": "Apache-2.0",
41
- "scripts": {
42
- "stage-assets": "node ../../build-support/stage-capability-asset-pack.mjs --package-dir packages/tools/assets-data"
43
- }
44
- }
47
+ "license": "Apache-2.0"
48
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "purpose": "shared-runtime-material-attribution",
4
+ "scope": "Material identity and actual copied payloads; not a source-availability or release approval.",
5
+ "registrySha256": "d06cd1dfceaf3da9d1650c3f4f1967b9fb1d8bed734a7309adc700f11ccefbe0",
6
+ "releaseApproval": false,
7
+ "materials": [
8
+ {
9
+ "path": "wasm/data/licenses/LICENSE.sql-js.txt",
10
+ "sha256": "60a3f6e4d7b29b4321359e683b36cf198d24f58e24582070f56e6fa89d5ee2be",
11
+ "kind": "original-license-grant",
12
+ "component": "sql.js@1.14.1",
13
+ "declaredLicense": "MIT",
14
+ "source": "https://www.npmjs.com/package/sql.js/v/1.14.1",
15
+ "runtimePaths": [
16
+ "wasm/data/sql-wasm.wasm"
17
+ ]
18
+ }
19
+ ],
20
+ "runtimeFiles": [
21
+ {
22
+ "path": "wasm/data/sql-wasm.wasm",
23
+ "bytes": 659730,
24
+ "sha256": "438c88f666dc054ce4e9395f80fe9db4218b1a3c379960454880f048a7898aed",
25
+ "sourceSha256": "438c88f666dc054ce4e9395f80fe9db4218b1a3c379960454880f048a7898aed",
26
+ "sourceTransform": "none"
27
+ }
28
+ ]
29
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "packageName": "@file-viewer/assets-data",
4
- "packageVersion": "3.1.2",
4
+ "packageVersion": "3.2.1",
5
5
  "copyGroups": [
6
6
  "data-asset"
7
7
  ],
@@ -20,6 +20,15 @@
20
20
  "packagePath": "sql.js/dist/sql-wasm.wasm",
21
21
  "optionPath": "data.sqlWasmUrl",
22
22
  "description": "sql.js WebAssembly module copied to the public assets directory for SQLite previews."
23
+ },
24
+ {
25
+ "id": "data-sql-wasm-licenses",
26
+ "rendererId": "data-asset",
27
+ "kind": "directory",
28
+ "target": "public",
29
+ "required": false,
30
+ "defaultPath": "wasm/data/licenses/",
31
+ "description": "Complete original third-party licenses distributed with this runtime."
23
32
  }
24
33
  ]
25
34
  }
@@ -0,0 +1,44 @@
1
+ MIT license
2
+ ===========
3
+
4
+ Copyright (c) 2017 sql.js authors (see AUTHORS)
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+
25
+
26
+ # Some portions of the Makefile taken from:
27
+ Copyright 2017 Ryusei Yamaguchi
28
+
29
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
30
+ this software and associated documentation files (the "Software"), to deal in
31
+ the Software without restriction, including without limitation the rights to
32
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
33
+ the Software, and to permit persons to whom the Software is furnished to do so,
34
+ subject to the following conditions:
35
+
36
+ The above copyright notice and this permission notice shall be included in all
37
+ copies or substantial portions of the Software.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
41
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
42
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
43
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
44
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File without changes