Socket
Socket
Sign inDemoInstall

@hapi/mimos

Package Overview
Dependencies
2
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 7.0.0

2

lib/index.js

@@ -113,3 +113,3 @@ 'use strict';

const extension = Path.extname(path).slice(1).toLowerCase();
const mime = this.#db.byExtension.get(extension) || {};
const mime = this.#db.byExtension.get(extension) ?? {};

@@ -116,0 +116,0 @@ return internals.applyPredicate(mime);

@@ -1,3 +0,4 @@

Copyright (c) 2014-2020, Sideway Inc, and project contributors
Copyright (c) 2014, Walmart.
Copyright (c) 2014-2022, Project contributors
Copyright (c) 2014-2020, Sideway Inc
Copyright (c) 2014, Walmart.
All rights reserved.

@@ -4,0 +5,0 @@

{
"name": "@hapi/mimos",
"description": "Mime database interface",
"version": "6.0.0",
"version": "7.0.0",
"repository": "git://github.com/hapijs/mimos",

@@ -16,10 +16,17 @@ "main": "lib/index.js",

],
"eslintConfig": {
"extends": [
"plugin:@hapi/module"
]
},
"dependencies": {
"@hapi/hoek": "9.x.x",
"mime-db": "1.x.x"
"@hapi/hoek": "^10.0.0",
"mime-db": "^1.52.0"
},
"devDependencies": {
"@hapi/code": "8.x.x",
"@hapi/lab": "^24.2.1",
"typescript": "~4.0.7"
"@hapi/code": "^9.0.0",
"@hapi/eslint-plugin": "*",
"@hapi/lab": "^25.0.1",
"@types/node": "^17.0.31",
"typescript": "~4.6.4"
},

@@ -26,0 +33,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc