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

crossref-to-csl

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crossref-to-csl - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

10

lib/crossref-to-csl.js

@@ -24,10 +24,3 @@ // From https://github.com/relata/relata-prototype

];
const arrs = [
'ISBN',
'ISSN',
'archive',
'container-title',
'original-title',
'title',
];
const arrs = ['ISBN', 'ISSN', 'archive', 'container-title', 'original-title', 'title'];
const maps = [

@@ -39,3 +32,2 @@ ['publisher-place', 'publisher-location'],

const map = (key, newkey) => item[newkey] ? { [key]: item[newkey] } : {};
const cond = (key, value) => (value ? { [key]: value } : {});
const same = (key) => (item[key] ? { [key]: item[key] } : {});

@@ -42,0 +34,0 @@ const arr = (key) => (item[key] ? { [key]: item[key][0] } : {});

10

package.json
{
"name": "crossref-to-csl",
"version": "0.1.3",
"version": "0.1.4",
"license": "GPL-3.0-or-later",

@@ -25,3 +25,4 @@ "repository": "https://github.com/TrialAndErrorOrg/parsers",

"types": "./index.d.ts",
"import": "./index.js"
"import": "./index.js",
"require": "./src/index.js"
}

@@ -39,5 +40,6 @@ },

"csl-json": "0.1.0",
"utility-types": "3.10.0",
"crossref-json": "0.1.3"
"utility-types": "^3.10.0",
"crossref-json": "0.1.4",
"tslib": "^2.5.0"
}
}

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