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

@openfn/logger

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfn/logger - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

CHANGELOG.md
# @openfn/logger
## 1.0.1
### Patch Changes
- 2fde0ad: Don't blow up if an object with a null prototype is sent through
## 1.0.0

@@ -4,0 +10,0 @@

7

dist/index.js

@@ -68,2 +68,5 @@ // src/logger.ts

const maybeStringify = (o) => options.stringify === false ? o : stringify(o, void 0, 2);
if (/^(number|string|boolean)$/.exec(typeof item)) {
return item;
}
if (isError(item)) {

@@ -81,3 +84,5 @@ if (options.serializeErrors) {

return scrubbers[options.policy](item);
} else if (Array.isArray(item) || isNaN(item) && item && typeof item !== "string") {
} else if (Array.isArray(item)) {
return maybeStringify(item);
} else if (item) {
const obj = item;

@@ -84,0 +89,0 @@ if (obj && obj.configuration) {

2

package.json
{
"name": "@openfn/logger",
"version": "1.0.0",
"version": "1.0.1",
"description": "Cross-package logging utility",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

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