strip-comments
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -89,3 +89,2 @@ 'use strict'; | ||
* @return {String} | ||
* @api public | ||
*/ | ||
@@ -92,0 +91,0 @@ |
{ | ||
"name": "strip-comments", | ||
"description": "Strip comments from code. Removes line comments, block comments, the first comment only, or all comments. Optionally leave protected comments unharmed.", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"homepage": "https://github.com/jonschlinkert/strip-comments", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -84,12 +84,2 @@ # strip-comments [![NPM version](https://badge.fury.io/js/strip-comments.svg)](http://badge.fury.io/js/strip-comments) [![Build Status](https://travis-ci.org/jonschlinkert/strip-comments.svg)](https://travis-ci.org/jonschlinkert/strip-comments) | ||
### [discard](index.js#L92) | ||
Remove a comment from the given string. | ||
**Params** | ||
* `string` **{String}** | ||
* `options` **{Object}**: Pass `safe: true` to keep comments with `!` | ||
* `returns` **{String}** | ||
## Related projects | ||
@@ -96,0 +86,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
8426
94
120