Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

catharsis

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

catharsis - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

2

package.json
{
"version": "0.5.2",
"version": "0.5.3",
"name": "catharsis",

@@ -4,0 +4,0 @@ "description": "A JavaScript parser for Google Closure Compiler and JSDoc type expressions.",

@@ -146,2 +146,4 @@ # Catharsis #

+ 0.5.3 (March 2013): The `parse()` method now correctly parses name expressions that contain
hyphens.
+ 0.5.2 (March 2013): The `parse()` method now correctly parses function types when JSDoc-style type

@@ -148,0 +150,0 @@ expressions are enabled.

@@ -92,3 +92,11 @@ 'use strict';

}
},
{
description: 'name that includes a hyphen and a numeral',
expression: 'My-1st-Class',
parsed: {
type: Types.NameExpression,
name: 'My-1st-Class'
}
}
];

@@ -39,2 +39,10 @@ 'use strict';

{
description: 'name expression for a class within a module with hyphens',
expression: 'module:foo-bar/baz~Qux',
parsed: {
type: Types.NameExpression,
name: 'module:foo-bar/baz~Qux'
}
},
{
description: 'name expression containing a reserved word',

@@ -81,3 +89,3 @@ expression: 'this',

}
]
]
}

@@ -84,0 +92,0 @@ },

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