Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appcd-fs

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appcd-fs - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# v2.0.1 (Dec 1, 2020)
* chore: Updated dependencies.
# v2.0.0 (Jun 12, 2020)

@@ -2,0 +6,0 @@

2

dist/fs.js

@@ -140,2 +140,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZzLmpzIl0sIm5hbWVzIjpbIkVycm9yIiwicHJlcGFyZVN0YWNrVHJhY2UiLCJyZXF1aXJlIiwiZXhpc3RzU3luYyIsImZpbGUiLCJmcyIsInN0YXRTeW5jIiwiZSIsImlzRGlyIiwiZGlyIiwiaXNEaXJlY3RvcnkiLCJpc0ZpbGUiLCJsb2NhdGUiLCJmaWxlbmFtZSIsImRlcHRoIiwibmFtZSIsInJlYWRkaXJTeW5jIiwicGF0aCIsImpvaW4iLCJyZXN1bHQiLCJ1bmRlZmluZWQiLCJSZWdFeHAiLCJ0ZXN0IiwicmVhZGRpclNjb3BlZFN5bmMiLCJjaGlsZHJlbiIsImNoaWxkUGF0aCIsImNoYXJBdCIsInNjb3BlZFBhY2thZ2UiLCJwdXNoIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUtBOztBQUNBOzs7O0FBTkE7QUFDQSxJQUFJLENBQUNBLEtBQUssQ0FBQ0MsaUJBQVgsRUFBOEI7QUFDN0JDLEVBQUFBLE9BQU8sQ0FBQyw2QkFBRCxDQUFQO0FBQ0E7O0FBS0Q7Ozs7OztBQU1PLFNBQVNDLFVBQVQsQ0FBb0JDLElBQXBCLEVBQTBCO0FBQ2hDLE1BQUk7QUFDSEMsZ0JBQUdDLFFBQU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c2goYCR7bmFtZX0vJHtzY29wZWRQYWNrYWdlfWApO1xuXHRcdFx0XHR9XG5cdFx0XHR9XG5cdFx0fSBlbHNlIHtcblx0XHRcdGNoaWxkcmVuLnB1c2gobmFtZSk7XG5cdFx0fVxuXHR9XG5cblx0cmV0dXJuIGNoaWxkcmVuO1xufVxuIl0sImZpbGUiOiJmcy5qcyJ9
{
"name": "appcd-fs",
"version": "2.0.0",
"version": "2.0.1",
"description": "Library of useful filesystem functions.",

@@ -22,3 +22,3 @@ "main": "./dist/fs",

"devDependencies": {
"appcd-gulp": "^3.0.1"
"appcd-gulp": "^3.1.0"
},

@@ -25,0 +25,0 @@ "homepage": "https://github.com/appcelerator/appc-daemon",

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