Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apicase

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apicase - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

11

container.js

@@ -15,2 +15,3 @@ import Service from './service.js'

this.mixins = {}
this.headers = {}
this.services = {}

@@ -24,2 +25,3 @@ this.headers = {}

}
this.children = config.children || {}
if (config.services) {

@@ -44,3 +46,2 @@ forEach(config.services, (service, name) =>

}
}

@@ -66,3 +67,9 @@

let path = name.split('/')
let service = get(this.services, name)
let service = this.services[path.shift()]
forEach(path, item => {
if (!service.children || !(name in service.children)) {
throw `Service ${name} not found`
}
service = service.children[item]
})
try {

@@ -69,0 +76,0 @@ if (!service) throw `Service ${name} not found`

2

package.json
{
"name": "apicase",
"version": "0.1.4",
"version": "0.1.5",
"description": "Create, group and manage your APIs with json declaration",

@@ -5,0 +5,0 @@ "author": "kelin2025",

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