
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@bpmn-io/feel-lint
Advanced tools
Linting for FEEL expressions.
There are 2 ways to use this library:
The lintExpression
function takes a string expression and returns a list of linting errors.
import { lintExpression } from "@bpmn-io/feel-lint"
lintExpression('foo = bar');
You may pass custom language configuration to the editor. Checkout @camunda/feel-builtins for a reference of built-in functions.
import { camundaBuiltins } from '@camunda/feel-builtins';
lintExpression('> 10, "yes", mike\'s name', {
dialect: 'unaryTests',
builtins: camundaBuiltins,
variables: [
{
name: `mike's name`
}
]
});
The cmFeelLinter
function returns a LintSource
that you can use to extend your CodeMirror instance.
import { cmFeelLinter } from "@bpmn-io/feel-lint"
import { linter } from '@codemirror/lint';
// ...
const myEditor = new EditorView({
state: EditorState.create({
doc: '',
extensions: [
linter(cmFeelLinter())
]
})
});
To get the development setup make sure to have NodeJS installed. As soon as you are set up, clone the project and execute
npm install
npm run dev
MIT
2.1.0
FEAT
: support multi-line strings in camunda dialect (@bpmn-io/lezer-feel#2)DEPS
: update to @bpmn-io/lang-feel@2.4.0
DEPS
: update to @bpmn-io/lezer-feel@1.9.0
fork of lezer-feel
FAQs
Linter for FEEL expressions.
The npm package @bpmn-io/feel-lint receives a total of 30,745 weekly downloads. As such, @bpmn-io/feel-lint popularity was classified as popular.
We found that @bpmn-io/feel-lint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.