Socket
Socket
Sign inDemoInstall

uglify-save-license

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

4

package.json
{
"name": "uglify-save-license",
"version": "0.2.1",
"version": "0.2.2",
"description": "Tiny license detector module for UglifyJS's 'comments' option",

@@ -36,3 +36,3 @@ "main": "uglify-save-license.js",

"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-uglify": "~0.2.7",
"grunt-contrib-uglify": "~0.3.0",
"grunt-contrib-nodeunit": "~0.2.2",

@@ -39,0 +39,0 @@ "grunt-release": "~0.6.0",

@@ -71,3 +71,3 @@ # uglify-save-license

1. The comment is in the first line of a file.
2. The regular expression for license statements matches the comment string. The regexp matches, for example, `MIT` and `Copyright`. (See [the source code](./uglify-save-license.js) for details.)
2. [The regexp for license statement](./uglify-save-license.js#L8) matches the string of the comment. The regexp matches, for example, `MIT` and `Copyright`.
3. There is a comment at the previous line, and it matches 1. 2. or 3.

@@ -74,0 +74,0 @@

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

// uglify-save-license.js v0.2.1
// uglify-save-license.js v0.2.2
// Copyright (c) 2013 - 2014 Shinnosuke Watanabe

@@ -3,0 +3,0 @@ // Licensed uder the MIT license

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc