New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@strapi/logger

Package Overview
Dependencies
Maintainers
8
Versions
1562
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strapi/logger - npm Package Compare versions

Comparing version 0.0.0-experimental.76999222c105ee5da1bc2540e3b5e5f57747300c to 0.0.0-experimental.76d3543c13df7ef0095963ae2c20b792f179eef0

dist/formats/detailed-log.d.ts

1

dist/formats/index.d.ts

@@ -5,2 +5,3 @@ export { default as prettyPrint } from './pretty-print';

export { default as excludeColors } from './exclude-colors';
export { default as detailedLogs } from './detailed-log';
//# sourceMappingURL=index.d.ts.map

@@ -5,4 +5,3 @@ "use strict";

function _interopNamespace(e) {
if (e && e.__esModule)
return e;
if (e && e.__esModule) return e;
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });

@@ -69,4 +68,16 @@ if (e) {

});
const detailedLog = winston.format.printf(({ message, level, timestamp }) => {
if (typeof message !== "string") {
return message;
}
const newMessage = `[${timestamp}] ${level}: ${message}`;
return newMessage.replace(
// eslint-disable-next-line no-control-regex
/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,
""
);
});
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
detailedLogs: detailedLog,
excludeColors,

@@ -73,0 +84,0 @@ levelFilter,

10

package.json
{
"name": "@strapi/logger",
"version": "0.0.0-experimental.76999222c105ee5da1bc2540e3b5e5f57747300c",
"version": "0.0.0-experimental.76d3543c13df7ef0095963ae2c20b792f179eef0",
"description": "Strapi's logger",

@@ -45,5 +45,5 @@ "homepage": "https://strapi.io",

"devDependencies": {
"@strapi/pack-up": "5.0.0",
"eslint-config-custom": "0.0.0-experimental.76999222c105ee5da1bc2540e3b5e5f57747300c",
"tsconfig": "0.0.0-experimental.76999222c105ee5da1bc2540e3b5e5f57747300c"
"@strapi/pack-up": "5.0.2",
"eslint-config-custom": "0.0.0-experimental.76d3543c13df7ef0095963ae2c20b792f179eef0",
"tsconfig": "0.0.0-experimental.76d3543c13df7ef0095963ae2c20b792f179eef0"
},

@@ -54,3 +54,3 @@ "engines": {

},
"gitHead": "76999222c105ee5da1bc2540e3b5e5f57747300c"
"gitHead": "76d3543c13df7ef0095963ae2c20b792f179eef0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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