Socket
Socket
Sign inDemoInstall

liferay-npm-build-tools-common

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liferay-npm-build-tools-common - npm Package Compare versions

Comparing version 1.7.0-alpha.43ab330a to 1.7.0-alpha.6d6b0c8b

lib/__tests__/globs.test.js

26

lib/plugin-logger.js

@@ -131,2 +131,28 @@ 'use strict';

}
/**
* Test if there are warn messages.
* @return {boolean} if at least one warn message is registered in the logger
*/
}, {
key: 'warnsPresent',
get: function get() {
return this._msgs.filter(function (msg) {
return msg.level === 'warn';
}).length > 0;
}
/**
* Test if there are error messages.
* @return {boolean} if at least one error message is registered in the logger
*/
}, {
key: 'errorsPresent',
get: function get() {
return this._msgs.filter(function (msg) {
return msg.level === 'error';
}).length > 0;
}
}]);

@@ -133,0 +159,0 @@

2

package.json
{
"name": "liferay-npm-build-tools-common",
"version": "1.7.0-alpha.43ab330a",
"version": "1.7.0-alpha.6d6b0c8b",
"description": "Utility library for Liferay NPM Build Tools.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -64,2 +64,18 @@ /**

/**
* Test if there are warn messages.
* @return {boolean} if at least one warn message is registered in the logger
*/
get warnsPresent() {
return this._msgs.filter(msg => msg.level === 'warn').length > 0;
}
/**
* Test if there are error messages.
* @return {boolean} if at least one error message is registered in the logger
*/
get errorsPresent() {
return this._msgs.filter(msg => msg.level === 'error').length > 0;
}
/**
* Return a printable string representation of the messages logged till now

@@ -66,0 +82,0 @@ * @return {String} a string containing one line per message

Sorry, the diff of this file is not supported yet

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