Socket
Socket
Sign inDemoInstall

jsdoctypeparser

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsdoctypeparser - npm Package Compare versions

Comparing version 5.1.1 to 6.0.0

1

.eslintrc.json
{
"extends": "eslint:recommended",
"env": {

@@ -3,0 +4,0 @@ "node": true,

6

lib/publishing.js
'use strict';
const {OPTIONAL} = require('./NodeType');
const {OptionalTypeSyntax} = require('./SyntaxType');
const {OptionalTypeSyntax, VariadicTypeSyntax} = require('./SyntaxType');
const {format} = require('util');

@@ -65,3 +65,3 @@

VARIADIC (variadicNode, concretePublish) {
if (!variadicNode.value) {
if (variadicNode.meta.syntax === VariadicTypeSyntax.ONLY_DOTS) {
return '...';

@@ -173,3 +173,3 @@ }

},
EXTERNAL (externalNode, concretePublish) {
EXTERNAL (externalNode /* , concretePublish */) {
const {name, quoteStyle} = externalNode;

@@ -176,0 +176,0 @@ return format('external:%s', addQuotesForName(name, quoteStyle));

{
"name": "jsdoctypeparser",
"description": "Strict JsDoc type expression parser.",
"version": "5.1.1",
"version": "6.0.0",
"author": "Kuniwak <orga.chem.job@gmail.com>",

@@ -37,3 +37,3 @@ "contributors": [

"lint": "eslint .",
"mocha": "mocha tests",
"mocha": "mocha tests/test_*",
"typecheck": "tsc",

@@ -52,8 +52,8 @@ "clean": "rimraf ./peg_lib",

"devDependencies": {
"@types/node": "^12.7.10",
"@types/node": "^12.12.7",
"chai": "^4.2.0",
"eslint": "^6.5.1",
"husky": "^3.0.8",
"eslint": "^6.6.0",
"husky": "^3.0.9",
"mkdirp": "^0.5.1",
"mocha": "^6.2.1",
"mocha": "^6.2.2",
"npm-run-all": "^4.1.5",

@@ -63,5 +63,5 @@ "object.entries-ponyfill": "^1.0.1",

"rimraf": "^3.0.0",
"typescript": "^3.6.3"
"typescript": "^3.7.2"
},
"license": "MIT"
}

Sorry, the diff of this file is too big to display

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