New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@capacitor/filesystem

Package Overview
Dependencies
Maintainers
9
Versions
743
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/filesystem - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.5.2](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/filesystem@0.5.1...@capacitor/filesystem@0.5.2) (2021-03-10)
**Note:** Version bump only for package @capacitor/filesystem
## [0.5.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/filesystem@0.5.0...@capacitor/filesystem@0.5.1) (2021-03-02)

@@ -8,0 +16,0 @@

3

dist/docs.json

@@ -1105,3 +1105,4 @@ {

}
]
],
"pluginConfigs": []
}
{
"name": "@capacitor/filesystem",
"version": "0.5.1",
"version": "0.5.2",
"description": "The Filesystem API provides a NodeJS-like API for working with files on the device.",

@@ -47,6 +47,6 @@ "main": "dist/plugin.cjs.js",

"devDependencies": {
"@capacitor/android": "3.0.0-beta.6",
"@capacitor/core": "3.0.0-beta.6",
"@capacitor/docgen": "0.0.15",
"@capacitor/ios": "3.0.0-beta.6",
"@capacitor/android": "3.0.0-rc.0",
"@capacitor/core": "3.0.0-rc.0",
"@capacitor/docgen": "0.0.16",
"@capacitor/ios": "3.0.0-rc.0",
"@ionic/eslint-config": "^0.3.0",

@@ -64,3 +64,3 @@ "@ionic/prettier-config": "~1.0.1",

"peerDependencies": {
"@capacitor/core": "^3.0.0-beta.6"
"@capacitor/core": "3.0.0-rc.0"
},

@@ -83,3 +83,3 @@ "prettier": "@ionic/prettier-config",

},
"gitHead": "c704ab6c24723c3f46aac07bc949aac00ca631cd"
"gitHead": "94a39a9300beb941a43ba30d6505d9fefaff0b98"
}

@@ -23,3 +23,3 @@ # @capacitor/filesystem

const writeSecretFile = async () {
const writeSecretFile = async () => {
await Filesystem.writeFile({

@@ -33,3 +33,3 @@ path: 'secrets/text.txt',

const readSecretFile = async () {
const readSecretFile = async () => {
const contents = await Filesystem.readFile({

@@ -44,3 +44,3 @@ path: 'secrets/text.txt',

const deleteSecretFile = async () {
const deleteSecretFile = async () => {
await Filesystem.deleteFile({

@@ -52,3 +52,3 @@ path: 'secrets/text.txt',

const readFilePath = async () {
const readFilePath = async () => {
// Here's an example of reading a file with a full file path. Use this to

@@ -55,0 +55,0 @@ // read binary data (base64 encoded) from plugins that return File URIs, such as

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc