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

doi-utils

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doi-utils - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

5

dist/cjs/index.spec.js

@@ -94,2 +94,7 @@ "use strict";

[
'plos',
'https://journals.plos.org/climate/article?id=10.1371/journal.pclm.0000068',
'10.1371/journal.pclm.0000068',
],
[
'zenodo',

@@ -96,0 +101,0 @@ 'https://zenodo.org/badge/latestdoi/169800572',

11

dist/cjs/resolvers.js

@@ -45,2 +45,10 @@ "use strict";

};
const idInQuery = {
test (url) {
return (0, _validatePart).validatePart(url.searchParams.get('id'));
},
parse (url) {
return url.searchParams.get('id');
}
};
const STRICT_RESOLVERS = [

@@ -54,3 +62,4 @@ doiOrg

elife,
zenodo
zenodo,
idInQuery
];

@@ -57,0 +66,0 @@ exports.DEFAULT_RESOLVERS = DEFAULT_RESOLVERS;

@@ -88,2 +88,7 @@ import doi from './index';

[
'plos',
'https://journals.plos.org/climate/article?id=10.1371/journal.pclm.0000068',
'10.1371/journal.pclm.0000068',
],
[
'zenodo',

@@ -90,0 +95,0 @@ 'https://zenodo.org/badge/latestdoi/169800572',

@@ -40,2 +40,10 @@ import { validatePart } from './validatePart';

};
const idInQuery = {
test (url) {
return validatePart(url.searchParams.get('id'));
},
parse (url) {
return url.searchParams.get('id');
}
};
export const STRICT_RESOLVERS = [

@@ -48,5 +56,6 @@ doiOrg

elife,
zenodo
zenodo,
idInQuery
];
//# sourceMappingURL=resolvers.js.map

2

package.json
{
"name": "doi-utils",
"version": "1.0.8",
"version": "1.0.9",
"description": "Set of utility functions to help with handling DOI(Digital Object Identifier)",

@@ -5,0 +5,0 @@ "author": "Curvenote Inc. <support@curvenote.com>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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