Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
bpmn-i18n-moddle
Advanced tools
Changelog
0.2.0
FEAT
: expose translation via bpmn:ExtensionElements#values
BREAKING CHANGES:
i18n:translation
s via bpmn:ExtensionElements#values
Readme
Read and write BPMN 2.0 diagram files with bpmn-i18n extension in NodeJS and the browser.
import BpmnModdle from 'bpmn-moddle';
import BpmnI18nSchema from 'bpmn-i18n-moddle/resources/bpmn-i18n.json';
const moddle = new BpmnModdle({ i18n: BpmnI18nSchema });
const translation = moddle.create('i18n:Translation', { 'xml:lang': 'de', body: 'Startereignis' });
const extensionElements = moddle.create('bpmn:ExtensionElements', {
values: [ translation ]
});
console.log(extensionElements.get('values'));
To run the test suite that includes XSD schema validation you must have a Java JDK installed and properly exposed through the JAVA_HOME
variable.
Execute the tests via:
npm test
Perform a complete build of the application via:
npm run all
Use under the terms of the MIT license.
FAQs
Moddle schema for bpmn-i18n
The npm package bpmn-i18n-moddle receives a total of 60 weekly downloads. As such, bpmn-i18n-moddle popularity was classified as not popular.
We found that bpmn-i18n-moddle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.