Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jskos-tools

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jskos-tools - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/tools.js

@@ -382,3 +382,3 @@ const _ = {

const doubleQuote = quoteChar + quoteChar
const quote = s => quoteChar + (s == null ? "" : s.replace(quoteChar,doubleQuote)) + quoteChar
const quote = s => quoteChar + (s == null ? "" : s.split(quoteChar).join(doubleQuote)) + quoteChar

@@ -385,0 +385,0 @@ return row => row.map(quote).join(delimiter) + lineTerminator

{
"name": "jskos-tools",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tools for working with the JSKOS data format.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/gbv/jskos-tools",

@@ -270,3 +270,3 @@ const assert = require("assert")

from: { memberSet: [{ notation: ["0"], prefLabel: { en: "'" }}] },
to: { memberSet: [{ notation: ["a'c"], prefLabel: { en: "0" } }, { notation: ["b\"d"], prefLabel: { en: "1" } }] },
to: { memberSet: [{ notation: ["a'c"], prefLabel: { en: "0" } }, { notation: ["b\"d\""], prefLabel: { en: "1" } }] },
creator: [{ prefLabel: { en: "someone" } }]

@@ -321,5 +321,5 @@ }

results: {
optionsNone: "\"0\",\"a'c\",\"b\"\"d\",\"\"\n",
optionsAllColumns: "\"\",\"0\",\"'\",\"\",\"a'c\",\"0\",\"b\"\"d\",\"1\",\"\",\"someone\"\n",
optionsOther: "'0';'a''c';'b\"d';''\n",
optionsNone: "\"0\",\"a'c\",\"b\"\"d\"\"\",\"\"\n",
optionsAllColumns: "\"\",\"0\",\"'\",\"\",\"a'c\",\"0\",\"b\"\"d\"\"\",\"1\",\"\",\"someone\"\n",
optionsOther: "'0';'a''c';'b\"d\"';''\n",
}

@@ -331,5 +331,5 @@ },

results: {
optionsNone: "\"fromNotation\",\"toNotation\",\"toNotation2\",\"type\"\n\"0\",\"a'c\",\"\",\"broad\"\n\"0\",\"a'c\",\"b\"\"d\",\"\"\n",
optionsAllColumns: "\"fromScheme\",\"fromNotation\",\"fromLabel\",\"toScheme\",\"toNotation\",\"toLabel\",\"toNotation2\",\"toLabel2\",\"type\",\"creator\"\n\"A\",\"0\",\"'\",\"B\",\"a'c\",\"0\",\"\",\"\",\"broad\",\"\"\n\"\",\"0\",\"'\",\"\",\"a'c\",\"0\",\"b\"\"d\",\"1\",\"\",\"someone\"\n",
optionsOther: "'fromNotation';'toNotation';'toNotation2';'type'\n'0';'a''c';'';'broad'\n'0';'a''c';'b\"d';''\n",
optionsNone: "\"fromNotation\",\"toNotation\",\"toNotation2\",\"type\"\n\"0\",\"a'c\",\"\",\"broad\"\n\"0\",\"a'c\",\"b\"\"d\"\"\",\"\"\n",
optionsAllColumns: "\"fromScheme\",\"fromNotation\",\"fromLabel\",\"toScheme\",\"toNotation\",\"toLabel\",\"toNotation2\",\"toLabel2\",\"type\",\"creator\"\n\"A\",\"0\",\"'\",\"B\",\"a'c\",\"0\",\"\",\"\",\"broad\",\"\"\n\"\",\"0\",\"'\",\"\",\"a'c\",\"0\",\"b\"\"d\"\"\",\"1\",\"\",\"someone\"\n",
optionsOther: "'fromNotation';'toNotation';'toNotation2';'type'\n'0';'a''c';'';'broad'\n'0';'a''c';'b\"d\"';''\n",
}

@@ -336,0 +336,0 @@ },

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