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

astrocite-core

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astrocite-core - npm Package Compare versions

Comparing version 0.5.0 to 0.8.0

lib/dates.d.ts

3

lib/index.d.ts

@@ -1,1 +0,2 @@

export { parseName } from './names';
export { default as parseName } from './names';
export { default as parseDate } from './dates';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var names_1 = require("./names");
exports.parseName = names_1.parseName;
exports.parseName = names_1.default;
var dates_1 = require("./dates");
exports.parseDate = dates_1.default;
export declare function parseNameParticles(input: string): Partial<CSL.Person>;
export declare function parseName(name: string): CSL.Person;
export default function (name: string): CSL.Person;

@@ -49,3 +49,3 @@ "use strict";

exports.parseNameParticles = parseNameParticles;
function parseName(name) {
function default_1(name) {
var FIRST_VON_LAST = /([A-Z][a-zA-Z-]+ )?([a-z][a-zA-Z-]+ .+? [a-z][a-zA-Z-]+ )?([A-Z].+)/;

@@ -85,2 +85,2 @@ var VON_LAST_FIRST = /(.+ [a-z][a-zA-Z-]+ )?(.+), (.+)/;

}
exports.parseName = parseName;
exports.default = default_1;
{
"name": "astrocite-core",
"version": "0.5.0",
"version": "0.8.0",
"description": "Shared utility functions for the astrocite package library",

@@ -5,0 +5,0 @@ "license": "MIT",

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