Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@aspecto/opentelemetry-base

Package Overview
Dependencies
Maintainers
5
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aspecto/opentelemetry-base - npm Package Compare versions

Comparing version
0.0.137
to
0.0.138
+8
-0
CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.0.138](https://github.com/aspecto-io/aspecto-opentelemetry-js/compare/v0.0.137...v0.0.138) (2022-11-02)
**Note:** Version bump only for package @aspecto/opentelemetry-base
## [0.0.137](https://github.com/aspecto-io/aspecto-opentelemetry-js/compare/v0.0.136...v0.0.137) (2022-07-12)

@@ -8,0 +16,0 @@

+2
-1

@@ -14,3 +14,3 @@ "use strict";

];
exports.shouldCaptureBodyByMimeType = (mimeType) => {
const shouldCaptureBodyByMimeType = (mimeType) => {
try {

@@ -23,2 +23,3 @@ return !mimeType || allowedMimeTypePrefix.some((prefix) => mimeType.startsWith(prefix));

};
exports.shouldCaptureBodyByMimeType = shouldCaptureBodyByMimeType;
//# sourceMappingURL=mime-type.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"mime-type.js","sourceRoot":"","sources":["../../src/mime-type.ts"],"names":[],"mappings":";;;AAAA,MAAM,qBAAqB,GAAG;IAC1B,MAAM;IACN,qBAAqB;IACrB,kBAAkB;IAClB,qBAAqB;IACrB,iBAAiB;IACjB,mCAAmC;IACnC,iBAAiB;IACjB,mBAAmB;CACtB,CAAC;AAEW,QAAA,2BAA2B,GAAG,CAAC,QAAgB,EAAE,EAAE;IAC5D,IAAI;QACA,OAAO,CAAC,QAAQ,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;KAC3F;IAAC,WAAM;QACJ,OAAO,IAAI,CAAC;KACf;AACL,CAAC,CAAC","sourcesContent":["const allowedMimeTypePrefix = [\n 'text',\n 'multipart/form-data',\n 'application/json',\n 'application/ld+json',\n 'application/rtf',\n 'application/x-www-form-urlencoded',\n 'application/xml',\n 'application/xhtml',\n];\n\nexport const shouldCaptureBodyByMimeType = (mimeType: string) => {\n try {\n return !mimeType || allowedMimeTypePrefix.some((prefix) => mimeType.startsWith(prefix));\n } catch {\n return true;\n }\n};\n"]}
{"version":3,"file":"mime-type.js","sourceRoot":"","sources":["../../src/mime-type.ts"],"names":[],"mappings":";;;AAAA,MAAM,qBAAqB,GAAG;IAC1B,MAAM;IACN,qBAAqB;IACrB,kBAAkB;IAClB,qBAAqB;IACrB,iBAAiB;IACjB,mCAAmC;IACnC,iBAAiB;IACjB,mBAAmB;CACtB,CAAC;AAEK,MAAM,2BAA2B,GAAG,CAAC,QAAgB,EAAE,EAAE;IAC5D,IAAI;QACA,OAAO,CAAC,QAAQ,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;KAC3F;IAAC,WAAM;QACJ,OAAO,IAAI,CAAC;KACf;AACL,CAAC,CAAC;AANW,QAAA,2BAA2B,+BAMtC","sourcesContent":["const allowedMimeTypePrefix = [\n 'text',\n 'multipart/form-data',\n 'application/json',\n 'application/ld+json',\n 'application/rtf',\n 'application/x-www-form-urlencoded',\n 'application/xml',\n 'application/xhtml',\n];\n\nexport const shouldCaptureBodyByMimeType = (mimeType: string) => {\n try {\n return !mimeType || allowedMimeTypePrefix.some((prefix) => mimeType.startsWith(prefix));\n } catch {\n return true;\n }\n};\n"]}
{
"name": "@aspecto/opentelemetry-base",
"version": "0.0.137",
"version": "0.0.138",
"description": "Base types for Aspecto Opentelemetry",

@@ -30,5 +30,5 @@ "author": "Aspecto.io",

"devDependencies": {
"typescript": "4.0.3"
"typescript": "4.4.4"
},
"gitHead": "3b82a810d55a2d188824297c50e26268afea21a6"
"gitHead": "63a6d3885647ef2a17061bf5d693bb73d6af97f4"
}