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

strapi-plugin-documentation

Package Overview
Dependencies
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-plugin-documentation - npm Package Compare versions

Comparing version 3.0.0-next.1 to 3.0.0-next.2

10

controllers/Documentation.js

@@ -13,3 +13,3 @@ 'use strict';

// Public dependencies.
const fs = require('fs');
const fs = require('fs-extra');
const cheerio = require('cheerio');

@@ -83,4 +83,4 @@ const _ = require('lodash');

const layoutPath = path.resolve(strapi.config.appPath, 'extensions', 'documentation', 'public', 'index.html');
await strapi.fs.ensureFile(layoutPath);
await strapi.fs.writeFile(layoutPath, $.html());
await fs.ensureFile(layoutPath);
await fs.writeFile(layoutPath, $.html());

@@ -119,4 +119,4 @@ // Serve the file.

const layoutPath = path.resolve(strapi.config.appPath, 'extensions', 'documentation', 'public', 'login.html');
await strapi.fs.ensureFile(layoutPath);
await strapi.fs.writeFile(layoutPath, $.html());
await fs.ensureFile(layoutPath);
await fs.writeFile(layoutPath, $.html());

@@ -123,0 +123,0 @@ ctx.url = path.basename(`${ctx.url}/login.html`);

{
"name": "strapi-plugin-documentation",
"version": "3.0.0-next.1",
"version": "3.0.0-next.2",
"description": "This is the description of the plugin.",

@@ -16,2 +16,3 @@ "strapi": {

"classnames": "^2.2.6",
"fs-extra": "^7.0.0",
"immutable": "^3.8.2",

@@ -35,3 +36,3 @@ "invariant": "^2.2.1",

"reselect": "^3.0.1",
"strapi-helper-plugin": "3.0.0-next.1",
"strapi-helper-plugin": "3.0.0-next.2",
"swagger-ui-dist": "3.22.1"

@@ -77,3 +78,3 @@ },

"license": "MIT",
"gitHead": "6134168532fb4301a83a0f514275e1651375e615"
"gitHead": "ef584afae3550de3d96d04f9e59d68949ca8e95d"
}
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