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

rollup-plugin-bpmnlint

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-bpmnlint - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

20

index.js

@@ -5,3 +5,21 @@ const requireLocal = createScopedRequire(process.cwd());

function requireCompiler() {
let prefix = 'bpmnlint';
try {
const pkg = requireLocal('./package.json');
// require bpmnlint locally if we operate within the project
if (pkg && pkg.name === 'bpmnlint') {
prefix = '.';
}
} catch (err) {
// ignore, this is expected
}
return requireLocal(`${prefix}/lib/support/compile-config`);
}
function bpmnlint(options = {}) {

@@ -20,3 +38,3 @@

try {
compileConfig = compileConfig || requireLocal('bpmnlint/lib/support/compile-config');
compileConfig = compileConfig || requireCompiler();
} catch (err) {

@@ -23,0 +41,0 @@ throw new Error('cannot find local <bpmnlint>. Install it or provide a configuration compiler throught the <compileConfig> option.');

2

package.json
{
"name": "rollup-plugin-bpmnlint",
"version": "0.4.0",
"version": "0.4.1",
"description": "Convert bpmnlint config files to consumable modules",

@@ -5,0 +5,0 @@ "main": "index.js",

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