Socket
Socket
Sign inDemoInstall

@netlify/functions

Package Overview
Dependencies
Maintainers
20
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/functions - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

4

dist/lib/system_logger.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.systemLogger = exports.LogLevel = void 0;
const process_1 = require("process");
const systemLogTag = '__nfSystemLog';

@@ -29,2 +30,5 @@ const serializeError = (error) => {

doLog(logger, message) {
if (process_1.env.NETLIFY_DEV && !process_1.env.NETLIFY_ENABLE_SYSTEM_LOGGING) {
return;
}
logger(systemLogTag, JSON.stringify({ msg: message, fields: this.fields }));

@@ -31,0 +35,0 @@ }

2

package.json

@@ -5,3 +5,3 @@ {

"types": "./dist/main.d.ts",
"version": "2.5.0",
"version": "2.5.1",
"description": "JavaScript utilities for Netlify Functions",

@@ -8,0 +8,0 @@ "files": [

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