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

@citation-js/core

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citation-js/core - npm Package Compare versions

Comparing version 0.5.0-alpha.2 to 0.5.0-alpha.3

lib-mjs/util/grammar.js

3

lib-mjs/util/index.js

@@ -6,3 +6,4 @@ import deepCopy from './deepCopy';

import Register from './register';
import { Grammar } from './grammar';
import { Translator } from './translator';
export { deepCopy, fetchFile, fetchFileAsync, setUserAgent, fetchId, TokenStack, Register, Translator };
export { deepCopy, fetchFile, fetchFileAsync, setUserAgent, fetchId, TokenStack, Register, Grammar, Translator };

@@ -68,10 +68,8 @@ function createConditionEval(condition) {

for (let _ref of props) {
let {
inputProp,
outputProp,
convert,
condition
} = _ref;
for (let {
inputProp,
outputProp,
convert,
condition
} of props) {
if (outputProp.length === 0) {

@@ -78,0 +76,0 @@ continue;

@@ -48,2 +48,8 @@ "use strict";

});
Object.defineProperty(exports, "Grammar", {
enumerable: true,
get: function () {
return _grammar.Grammar;
}
});
Object.defineProperty(exports, "Translator", {

@@ -66,4 +72,6 @@ enumerable: true,

var _grammar = require("./grammar");
var _translator = require("./translator");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -75,10 +75,8 @@ "use strict";

for (let _ref of props) {
let {
inputProp,
outputProp,
convert,
condition
} = _ref;
for (let {
inputProp,
outputProp,
convert,
condition
} of props) {
if (outputProp.length === 0) {

@@ -85,0 +83,0 @@ continue;

{
"name": "@citation-js/core",
"version": "0.5.0-alpha.2",
"version": "0.5.0-alpha.3",
"description": "Convert different bibliographic metadata sources",

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

},
"gitHead": "669be81e86a7847a3f2c2b4da95b9a62b0f11729"
"gitHead": "dacc48b278edbb7ea6be4415366a4ffc4d9e85a9"
}
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