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

@citation-js/plugin-doi

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citation-js/plugin-doi - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

9

lib-mjs/index.js

@@ -23,2 +23,11 @@ import { plugins } from '@citation-js/core';

},
'@doi/short-url': {
parse: function (url) {
return url.replace(/^(\s*)/, '$1https://');
},
parseType: {
dataType: 'String',
predicate: /^\s*((?:dx\.)?doi\.org\/(10.\d{4,9}\/[-._;()/:A-Z0-9]+))\s*$/i
}
},
'@doi/id': {

@@ -25,0 +34,0 @@ parse: id.parse,

@@ -33,2 +33,11 @@ "use strict";

},
'@doi/short-url': {
parse: function (url) {
return url.replace(/^(\s*)/, '$1https://');
},
parseType: {
dataType: 'String',
predicate: /^\s*((?:dx\.)?doi\.org\/(10.\d{4,9}\/[-._;()/:A-Z0-9]+))\s*$/i
}
},
'@doi/id': {

@@ -35,0 +44,0 @@ parse: id.parse,

4

package.json
{
"name": "@citation-js/plugin-doi",
"version": "0.6.5",
"version": "0.6.6",
"description": "Plugin for DOI input for Citation.js",

@@ -43,3 +43,3 @@ "keywords": [

},
"gitHead": "f68c6f690e573e3373fe0d9b91ca6ade0026555b"
"gitHead": "024f633d68ba0184d636367337b1705be0b7dee2"
}
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