Socket
Socket
Sign inDemoInstall

@tpluscode/rdf-string

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tpluscode/rdf-string - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.2.10](https://github.com/tpluscode/rdf-string/compare/v0.2.9...v0.2.10) (2020-04-08)
### Features
* reduce arrays by interpolating individual items ([3c47ccc](https://github.com/tpluscode/rdf-string/commit/3c47ccc1cf18778de1d4a82291f2875885bed610))
### [0.2.9](https://github.com/tpluscode/rdf-string/compare/v0.2.8...v0.2.9) (2020-04-03)

@@ -7,0 +14,0 @@

3

lib/TemplateResult.js

@@ -57,2 +57,5 @@ import { literal } from '@rdfjs/data-model';

}
else if (Array.isArray(value)) {
partialResult = value.reduce((result, item) => this._tag `${result}\n${item}`, this._tag ``)._toPartialString(options);
}
else if (typeof value === 'object') {

@@ -59,0 +62,0 @@ if ('_toPartialString' in value) {

4

package.json
{
"name": "@tpluscode/rdf-string",
"version": "0.2.9",
"version": "0.2.10",
"description": "Simplifies creating of RDF strings using ECMAscript templates",

@@ -56,3 +56,3 @@ "main": "main.js",

"typedoc": "^0.17.3",
"typescript": "^3.7.5"
"typescript": "^3.8.3"
},

@@ -59,0 +59,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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