Comparing version 0.5.2 to 0.5.3
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
273777
2686
215