@ampproject/toolbox-core
Advanced tools
Comparing version 1.0.1 to 1.1.0-beta.0
@@ -42,2 +42,6 @@ /** | ||
success(message, ...args) { | ||
this.log_(this.output_.log, this.green_('SUCCESS ' + message), args); | ||
} | ||
warn(message, ...args) { | ||
@@ -83,2 +87,6 @@ this.log_(this.output_.warn, this.yellow_('WARNING ' + message), args); | ||
green_(string) { | ||
return `\x1b[32m${string}\x1b[0m`; | ||
} | ||
yellow_(string) { | ||
@@ -85,0 +93,0 @@ return `\x1b[33m${string}\x1b[0m`; |
{ | ||
"name": "@ampproject/toolbox-core", | ||
"version": "1.0.1", | ||
"version": "1.1.0-beta.0", | ||
"description": "Commonly used functionality for amp-toolbox", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "4da05d4a419241bbcc8157553022af3a84676e9a" | ||
"gitHead": "cc04a8267a51e57290ca81610ac6854de1aea986" | ||
} |
# AMP-Toolbox Core | ||
[![npm version](https://badge.fury.io/js/@ampproject/toolbox-core.svg)](https://badge.fury.io/js/@ampproject/toolbox-core) | ||
[![npm version](https://badge.fury.io/js/%40ampproject%2Ftoolbox-core.svg)](https://badge.fury.io/js/%40ampproject%2Ftoolbox-core) | ||
Commonl functionality used by amp-toolbox. This module is not meant to be used on it's own. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
266
9188
7
1