dockerfilelint
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -5,2 +5,17 @@ # Change Log | ||
<a name="1.3.0"></a> | ||
# [1.3.0](https://github.com/replicatedhq/dockerfilelint/compare/v1.2.0...v1.3.0) (2017-09-12) | ||
### Bug Fixes | ||
* port/protocol is a valid Dockerfile syntax ([#85](https://github.com/replicatedhq/dockerfilelint/issues/85)) ([1698c61](https://github.com/replicatedhq/dockerfilelint/commit/1698c61)) | ||
### Features | ||
* add --version cli option ([#87](https://github.com/replicatedhq/dockerfilelint/issues/87)) ([78b58e2](https://github.com/replicatedhq/dockerfilelint/commit/78b58e2)) | ||
<a name="1.2.0"></a> | ||
@@ -7,0 +22,0 @@ # [1.2.0](https://github.com/replicatedhq/dockerfilelint/compare/v1.1.2...v1.2.0) (2017-07-03) |
@@ -17,3 +17,3 @@ var parser = require('./parser'); | ||
expose_port_valid: function(port) { | ||
return /^[0-9]+$/.test(port); | ||
return /^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(\/tcp|\/udp){0,1}$/.test(port); | ||
}, | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "dockerfilelint", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "A linter for Dockerfiles to find bugs and encourage best practices", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -22,6 +22,7 @@ # Linter and validator for Dockerfile | ||
Options: | ||
-o, --output Specify the format to use for output of linting results. Valid values | ||
are `json` or `cli` (default). [string] | ||
-j, --json Output linting results as JSON, equivalent to `-o json`. [boolean] | ||
-h, --help Show help [boolean] | ||
-o, --output Specify the format to use for output of linting results. Valid values | ||
are `json` or `cli` (default). [string] | ||
-j, --json Output linting results as JSON, equivalent to `-o json`. [boolean] | ||
-v, --version Show version number [boolean] | ||
-h, --help Show help [boolean] | ||
@@ -28,0 +29,0 @@ Examples: |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
171
1
0
136873
22
1035