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

@paroicms/content-loading-plugin

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paroicms/content-loading-plugin - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

10

backend/dist/plugin.js

@@ -10,9 +10,9 @@ "use strict";

const version = (0, data_formatters_lib_1.strVal)(require((0, node_path_1.join)(packageDir, "package.json")).version);
const assetsBaseUrl = `/assets/plugin/content-loading/${version}`;
const plugin = {
version,
async siteInit(api) {
api.setPublicAssetsDirectory((0, node_path_1.join)(packageDir, "public-front", "dist"));
api.addHeadTag(`<link rel="stylesheet" href="${(0, public_server_lib_1.escapeHtml)(`${assetsBaseUrl}/style.css`)}">`, `<script type="module" src="${(0, public_server_lib_1.escapeHtml)(`${assetsBaseUrl}/public-front-plugin.mjs`)}"></script>`);
api.setPublicApiHandler(async (ctx, req, res, relativePath) => {
slug: "content-loading",
async siteInit(service) {
service.setPublicAssetsDirectory((0, node_path_1.join)(packageDir, "public-front", "dist"));
service.addHeadTag(`<link rel="stylesheet" href="${(0, public_server_lib_1.escapeHtml)(`${service.pluginAssetsUrl}/style.css`)}">`, `<script type="module" src="${(0, public_server_lib_1.escapeHtml)(`${service.pluginAssetsUrl}/public-front-plugin.mjs`)}"></script>`);
service.setPublicApiHandler(async (ctx, req, res, relativePath) => {
if (relativePath === "/search") {

@@ -19,0 +19,0 @@ await (0, controller_1.makeSearch)(ctx, req.query, req, res);

{
"name": "@paroicms/content-loading-plugin",
"version": "0.2.0",
"version": "0.3.0",
"description": "Content loading plugin for ParoiCMS",

@@ -23,2 +23,3 @@ "keywords": [

"build:public": "(cd public-front && tsc && vite build)",
"build:public:watch": "(cd public-front && tsc && vite build --watch)",
"clear": "rimraf backend/dist/* public-front/dist/*"

@@ -34,4 +35,4 @@ },

"devDependencies": {
"@paroicms/public-anywhere-lib": "0.6.0",
"@paroicms/public-server-lib": "0.12.3",
"@paroicms/public-anywhere-lib": "0.7.0",
"@paroicms/public-server-lib": "0.13.0",
"@solid-primitives/i18n": "~2.1.1",

@@ -38,0 +39,0 @@ "@solidjs/router": "~0.14.1",

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