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.3.1 to 0.4.0

17

index.js
const requireLocal = createScopedRequire(process.cwd());
try {
requireLocal('bpmnlint');
} catch (err) {
throw new Error('cannot find local <bpmnlint>, did you install it?');
}
const compileConfig = requireLocal('bpmnlint/lib/support/compile-config');
const { createFilter } = require('rollup-pluginutils');

@@ -18,3 +10,4 @@

include,
exclude
exclude,
compileConfig
} = options;

@@ -26,2 +19,8 @@

try {
compileConfig = compileConfig || requireLocal('bpmnlint/lib/support/compile-config');
} catch (err) {
throw new Error('cannot find local <bpmnlint>. Install it or provide a configuration compiler throught the <compileConfig> option.');
}
const filter = createFilter(include, exclude);

@@ -28,0 +27,0 @@

{
"name": "rollup-plugin-bpmnlint",
"version": "0.3.1",
"version": "0.4.0",
"description": "Convert bpmnlint config files to consumable modules",

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

@@ -42,3 +42,7 @@ # rollup-plugin-bpmnlint

// undefined per default
exclude: [ ]
exclude: [ ],
// an compiler that transforms a .bpmnlintrc
// file into the actual bpmnlint configuration
compileConfig: null
})

@@ -49,4 +53,5 @@ ]

# License
## License
MIT
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