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

@rmlio/rmlmapper-java-wrapper

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmlio/rmlmapper-java-wrapper - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

CHANGELOG.md

@@ -8,2 +8,7 @@ # Changelog

## [0.1.1] - 2019-07-16
### Fixed
- Default serialization is NQuads when serialization is not provided.
## [0.1.0] - 2019-07-16

@@ -38,2 +43,3 @@

[0.1.0]: https://github.com/RMLio/rmlmapper-java-wrapper-js/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/RMLio/rmlmapper-java-wrapper-js/compare/v0.0.5...v0.1.0

@@ -40,0 +46,0 @@ [0.0.5]: https://github.com/RMLio/rmlmapper-java-wrapper-js/compare/v0.0.4...v0.0.5

@@ -73,2 +73,20 @@ /**

});
it('Serialization: undefined', async () => {
const wrapper = new RMLMapperWrapper(rmlmapperPath, tempFolderPath, true);
const rml = fs.readFileSync('./test/tc03/mapping.ttl', 'utf-8');
const sources = {
'student.csv': fs.readFileSync('./test/tc03/student.csv', 'utf-8')
};
let error = null;
try {
await wrapper.execute(rml, {sources});
} catch (err) {
error = err;
}
assert.ok(error === null);
});
});

2

lib/wrapper.js

@@ -36,3 +36,3 @@ /**

if (!options.asQuads) {
if (!options.asQuads && options.serialization) {
options.serialization = this._sanitizeSerialization(options.serialization);

@@ -39,0 +39,0 @@ } else {

{
"name": "@rmlio/rmlmapper-java-wrapper",
"version": "0.1.0",
"version": "0.1.1",
"description": "A JavaScript wrapper around the Java RMLMapper.",

@@ -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