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

baucis-decorator-env

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baucis-decorator-env - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.js

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

* Allows properties for some resource to have an alternative `development`
* key when accessed via `/dev/api/etc`.
* key when accessed via `/dev/etc`.
*

@@ -235,3 +235,3 @@ * @api public

function inDevelopment (req) {
return (req.originalUrl || req.baseUrl).indexOf('/dev/api/') === 0;
return (req.originalUrl || req.baseUrl).indexOf('/dev/') === 0;
}

@@ -238,0 +238,0 @@

{
"name": "baucis-decorator-env",
"version": "1.0.1",
"version": "1.0.2",
"description": "Allows properties for some resource to have an alternative `development` key when accessed via `/dev/api/etc`.",

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