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

wiki-plugin-assets

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiki-plugin-assets - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1-pre1

2

package.json
{
"name": "wiki-plugin-assets",
"version": "0.4.0",
"version": "0.4.1-pre1",
"description": "Federated Wiki - Assets Plugin",

@@ -5,0 +5,0 @@ "keywords": [

@@ -50,2 +50,21 @@ "use strict";

});
app.get('/plugin/assets/index', cors, function (req, res) {
var _walk;
_walk = function walk(root) {
return fs.readdirSync("".concat(argv.assets, "/").concat(root)).flatMap(function (name) {
var path, stat;
path = "".concat(root, "/").concat(name);
stat = fs.statSync("".concat(argv.assets, "/").concat(path));
if (stat.isDirectory()) {
return _walk(path);
} else {
return {
file: path,
size: stat.size
};
}
});
};
return res.json(_walk(""));
});
app.post('/plugin/assets/upload', function (req, res) {

@@ -52,0 +71,0 @@ var form;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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