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

@itemconsulting/preset-enonic-xp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itemconsulting/preset-enonic-xp - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

7

dist/freemarker-loader.js

@@ -5,5 +5,5 @@ import { sep, join } from "path";

const requires = getDependencyFilePaths(source, this.resourcePath)
.map((path) => `require("${path}");`)
.map((path) => `require("${escapePathForWindows(path)}");`)
.join("\n");
return `${requires}\nexport default "${this.resourcePath}?hash=${getHashDigest(source)}";`;
return `${requires}\nexport default "${escapePathForWindows(this.resourcePath)}?hash=${getHashDigest(source)}";`;
}

@@ -24,1 +24,4 @@ export function getDependencyFilePaths(source, resourcePath) {

}
function escapePathForWindows(path) {
return path.replace(/\\/g, "\\\\");
}
{
"name": "@itemconsulting/preset-enonic-xp",
"version": "0.0.1",
"version": "0.0.2",
"description": "Preset for using Storybook with Enonic XP",

@@ -23,7 +23,7 @@ "main": "dist/index.js",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.1.2",
"prettier": "^3.1.1",

@@ -30,0 +30,0 @@ "typescript": "^5.3.3",

@@ -5,2 +5,4 @@ # Enonic XP preset for Storybook

[![npm version](https://badge.fury.io/js/@itemconsulting%2Fpreset-enonic-xp.svg)](https://badge.fury.io/js/@itemconsulting%2Fpreset-enonic-xp)
## Usage

@@ -7,0 +9,0 @@

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