Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amp-toolbox-core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amp-toolbox-core - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

LICENSE

20

lib/Log.js

@@ -0,1 +1,19 @@

/**
* Copyright 2017 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS-IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
class Log {

@@ -31,3 +49,3 @@ constructor(tag='', verbose=false, output=console) {

verbose(isVerbose=true) {
this.verbose_ = Boolean.valueOf(isVerbose);
this.verbose_ = !!isVerbose;
}

@@ -34,0 +52,0 @@

4

package.json
{
"name": "amp-toolbox-core",
"version": "0.1.4",
"version": "0.1.5",
"description": "Commonly used functionality for amp-toolbox",

@@ -22,3 +22,3 @@ "main": "index.js",

},
"gitHead": "058a60702136ac24dfd0a4f421877ed23aeee19f"
"gitHead": "0f15452c5a91d97bb54194b70bff3dcaf9f56d0e"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc