@commercetools/sdk-middleware-logger
Advanced tools
Comparing version 2.1.2 to 3.0.0
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global.CommercetoolsSdkMiddlewareLogger = {})); | ||
}(this, function (exports) { 'use strict'; | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CommercetoolsSdkMiddlewareLogger = {})); | ||
})(this, (function (exports) { 'use strict'; | ||
@@ -7,0 +7,0 @@ function createLoggerMiddleware() { |
@@ -1,1 +0,1 @@ | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e=e||self).CommercetoolsSdkMiddlewareLogger={})}(this,function(e){"use strict";e.createLoggerMiddleware=function(){return function(d){return function(e,o){var t=o.error,n=o.body,r=o.statusCode;console.log("Request: ",e),console.log("Response: ",{error:t,body:n,statusCode:r}),d(e,o)}}},Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).CommercetoolsSdkMiddlewareLogger={})}(this,function(e){"use strict";e.createLoggerMiddleware=function(){return function(d){return function(e,o){var t=o.error,n=o.body,r=o.statusCode;console.log("Request: ",e),console.log("Response: ",{error:t,body:n,statusCode:r}),d(e,o)}}},Object.defineProperty(e,"__esModule",{value:!0})}); |
@@ -6,4 +6,7 @@ { | ||
}, | ||
"engines": { | ||
"node": ">=14" | ||
}, | ||
"name": "@commercetools/sdk-middleware-logger", | ||
"version": "2.1.2", | ||
"version": "3.0.0", | ||
"description": "Middleware for logging request and response being executed, to use with @commercetools/sdk-client", | ||
@@ -10,0 +13,0 @@ "keywords": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
4410
7
1