tachibana-shin / capacitor-fs Goto Github PK
View Code? Open in Web Editor NEWA library filesystem (like module `fs` in Node.js) for framework Capacitor.JS
License: MIT License
A library filesystem (like module `fs` in Node.js) for framework Capacitor.JS
License: MIT License
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
The TypeScript definition for readdir
is incorrect. The type is presented as:
readdir: (path: string) => Promise<readonly string[]>;
But is actually
readdir: (path: string) => Promise<readonly SomeKindOfFile[]>;
Where an example of SomeKindOfFile
can be seen here:
{
ctime: "1685222746852"
mtime: "1685222746862"
name: "149e76c2bdf06535eccc518d969d848f13158089.mp3"
size: 11607479
type: "file"
uri: "file:///private/var/mobile/Containers/Data/Application/6A855C5A-1330-433A-B1D4-B648E9992B55/Library/Caches/149e76c2bdf06535eccc518d969d848f1…"
}
Hello,
Is that possible to read files from Photo Library?
Like:
/var/mobile/Media/DCIM/100APPLE/***.JPG
Hi there
How can this be added in in web worker, specifically in importScripts function ? I tried adding it but I see multiple issues in adding dependency.
Thanks
a glob matcher in javascript
Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/minimatch/package.json
Found in HEAD commit: 1327b8b389661e64a2150797f144f87eb512a8b3
CVE | Severity | CVSS | Dependency | Type | Fixed in (minimatch version) | Remediation Possible** |
---|---|---|---|---|---|---|
CVE-2022-3517 | High | 7.5 | minimatch-3.0.4.tgz | Direct | minimatch - 3.0.5 | ❌ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
a glob matcher in javascript
Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/minimatch/package.json
Dependency Hierarchy:
Found in HEAD commit: 1327b8b389661e64a2150797f144f87eb512a8b3
Found in base branch: master
A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.
Publish Date: 2022-10-17
URL: CVE-2022-3517
Base Score Metrics:
Type: Upgrade version
Release Date: 2022-10-17
Fix Resolution: minimatch - 3.0.5
Step up your Open Source Security Game with Mend here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.