@photostructure/fs-metadata 0.8.0 → 0.8.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/CHANGELOG.md +6 -0
- package/README.md +5 -13
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +18 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -26
- package/prebuilds/darwin-arm64/@photostructure+fs-metadata.glibc.node +0 -0
- package/prebuilds/darwin-x64/@photostructure+fs-metadata.glibc.node +0 -0
- package/prebuilds/win32-arm64/@photostructure+fs-metadata.glibc.node +0 -0
- package/prebuilds/win32-x64/@photostructure+fs-metadata.glibc.node +0 -0
- package/src/options.ts +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,12 @@ Fixed for any bug fixes.
|
|
|
14
14
|
Security in case of vulnerabilities.
|
|
15
15
|
-->
|
|
16
16
|
|
|
17
|
+
## 0.8.1 - 2025-12-28
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Added container runtime paths to the default set of system paths. See SystemPathPatternsDefault
|
|
22
|
+
|
|
17
23
|
## 0.8.0 - 2025-12-01
|
|
18
24
|
|
|
19
25
|
### Added
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
Cross-platform native Node.js module for filesystem metadata, mount points, and volume information.
|
|
3
|
+
Cross-platform native Node.js module for filesystem metadata, mount points, and volume information. Built for and supported by [PhotoStructure](https://photostructure.com).
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@photostructure/fs-metadata)
|
|
6
6
|
[](https://github.com/photostructure/fs-metadata/actions/workflows/build.yml)
|
|
@@ -48,10 +48,10 @@ console.log(metadata);
|
|
|
48
48
|
|
|
49
49
|
## Documentation
|
|
50
50
|
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
51
|
+
- [API Reference](https://photostructure.github.io/fs-metadata/modules.html)
|
|
52
|
+
- [Examples](./doc/examples.md) - Common usage patterns and recipes
|
|
53
|
+
- [Gotchas](./doc/gotchas.md) - Platform quirks, timeouts, and troubleshooting
|
|
54
|
+
- [Contributing](./CONTRIBUTING.md) - Build instructions and development guide
|
|
55
55
|
|
|
56
56
|
### Options
|
|
57
57
|
|
|
@@ -59,11 +59,3 @@ console.log(metadata);
|
|
|
59
59
|
- **Timeouts**: Configure [timeout duration](https://photostructure.github.io/fs-metadata/functions/getTimeoutMsDefault.html) for slow devices
|
|
60
60
|
- Set `FS_METADATA_TIMEOUT_MS` environment variable to override the default (5000ms)
|
|
61
61
|
- **System Volumes**: Control [system volume filtering](https://photostructure.github.io/fs-metadata/interfaces/Options.html)
|
|
62
|
-
|
|
63
|
-
## Support
|
|
64
|
-
|
|
65
|
-
Built and supported by [PhotoStructure](https://photostructure.com)
|
|
66
|
-
|
|
67
|
-
- [GitHub Issues](https://github.com/photostructure/fs-metadata/issues)
|
|
68
|
-
- [Security Policy](./SECURITY.md)
|
|
69
|
-
- [MIT License](./LICENSE.txt)
|
package/dist/index.cjs
CHANGED
|
@@ -639,6 +639,24 @@ var SystemPathPatternsDefault = [
|
|
|
639
639
|
// we aren't including /tmp/**, as some people temporarily mount volumes there, like /tmp/project.
|
|
640
640
|
"**/#snapshot",
|
|
641
641
|
// Synology and Kubernetes volume snapshots
|
|
642
|
+
// Container runtime paths - these are internal infrastructure paths that are
|
|
643
|
+
// inaccessible to non-root processes and should never be scanned.
|
|
644
|
+
//
|
|
645
|
+
// Docker: https://docs.docker.com/engine/storage/drivers/overlayfs-driver/
|
|
646
|
+
// - /var/lib/docker contains overlay2 filesystems, container layers, images
|
|
647
|
+
// - /run/docker contains runtime data like network namespaces
|
|
648
|
+
"/run/docker/**",
|
|
649
|
+
"/var/lib/docker/**",
|
|
650
|
+
//
|
|
651
|
+
// containerd: https://github.com/containerd/containerd/blob/main/docs/ops.md
|
|
652
|
+
// - Used by Kubernetes, Docker (as backend), and standalone
|
|
653
|
+
"/run/containerd/**",
|
|
654
|
+
"/var/lib/containerd/**",
|
|
655
|
+
//
|
|
656
|
+
// Podman/CRI-O: https://podman.io/docs/installation#storage
|
|
657
|
+
// - Rootless and rootful container storage
|
|
658
|
+
"/run/containers/**",
|
|
659
|
+
"/var/lib/containers/**",
|
|
642
660
|
// windows for linux:
|
|
643
661
|
"/mnt/wslg/distro",
|
|
644
662
|
"/mnt/wslg/doc",
|