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

@ckeditor/ckeditor5-dev-utils

Package Overview
Dependencies
Maintainers
1
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-dev-utils - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

4

lib/logger.js

@@ -47,3 +47,3 @@ /**

*
* @param {String} moduleVerbosity Level of the verbosity for all log methods.
* @param {String} moduleVerbosity='info' Level of the verbosity for all log methods.
* @returns {Object} logger

@@ -54,3 +54,3 @@ * @returns {Function} logger.info

*/
module.exports = ( moduleVerbosity ) => {
module.exports = ( moduleVerbosity = 'info' ) => {
return {

@@ -57,0 +57,0 @@ /**

{
"name": "@ckeditor/ckeditor5-dev-utils",
"version": "2.1.0",
"version": "2.2.0",
"description": "Utils for CKEditor 5 dev code (such as Gulp tasks).",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -220,2 +220,19 @@ /**

} );
describe( 'uses default verbosity', () => {
beforeEach( () => {
log = logger();
} );
describe( 'loggger.info()', () => {
it( 'should log a message', () => {
const gutilLog = sandbox.stub( gutil, 'log' );
log.info( logMessage );
expect( gutilLog.calledOnce ).to.equal( true );
expect( gutilLog.firstCall.args[ 0 ] ).to.equal( logMessage );
} );
} );
} );
} );
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