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

babel-plugin-captains-log

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-captains-log - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

11

dist/index.js

@@ -108,8 +108,11 @@ 'use strict';

return args.reduce(function (acc, arg) {
var result = [];
args.forEach(function (arg) {
if (!t.isLiteral(arg)) {
return [].concat((0, _toConsumableArray3.default)(acc), [t.stringLiteral(arg.getSource()), arg.node]);
result.push(t.stringLiteral(arg.getSource()), arg.node);
} else {
result.push(arg.node);
}
return [].concat((0, _toConsumableArray3.default)(acc), [arg.node]);
}, []);
});
return result;
}

@@ -116,0 +119,0 @@

@@ -38,3 +38,3 @@ 'use strict';

// this should deep merge in the furture when we are dealing with more than just flags
// this should deep merge in the future when we are dealing with more than just flags
var mergeOptions = function mergeOptions(options) {

@@ -41,0 +41,0 @@ var sanitizedOptions = (0, _keys2.default)(options || {}).filter(function (key) {

{
"name": "babel-plugin-captains-log",
"version": "1.0.1",
"version": "1.1.0",
"files": [

@@ -5,0 +5,0 @@ "dist"

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