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

@ot06/be-utils

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ot06/be-utils - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

16

dist/expressMiddlewares/RouteHandler.js

@@ -8,2 +8,6 @@ 'use strict';

var _lodash = _interopRequireDefault(require("lodash"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

@@ -23,2 +27,3 @@

this.inputConfig = inputConfig || _objectSpread({}, DEFAULT_CONFIG);
this.routesConfig = _lodash.default.merge(this.masterConfig, this.inputConfig);
this.enableRoute = this.enableRoute.bind(this);

@@ -32,13 +37,4 @@ }

enableRoute(route) {
var thisRouteConfig = this.routesConfig[route] || {};
var {
routes: masterRoutesConfig = {}
} = this.masterConfig;
var {
routes: inputRoutesConfig = {}
} = this.inputConfig;
var routesConfig = _objectSpread(_objectSpread({}, masterRoutesConfig), inputRoutesConfig);
var thisRouteConfig = routesConfig[route] || {};
var {
enabled = false

@@ -45,0 +41,0 @@ } = thisRouteConfig;

{
"name": "@ot06/be-utils",
"version": "0.0.19",
"version": "0.0.20",
"description": "Backend Utilities Module",

@@ -5,0 +5,0 @@ "main": "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