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

@hyperone/cli-core

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperone/cli-core - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

17

lib/openapi.js
import $RefParser from '@apidevtools/json-schema-ref-parser';
import {lazy_resolver} from './json_schema';
import { lazy_resolver } from './json_schema';

@@ -59,6 +59,13 @@ const spec = {};

spec, // TODO: Remove me
getChild: (prefix) => Object
.entries(spec.paths)
.filter(([path]) => path.match(new RegExp(`^${prefix}/[a-zA-Z]+?$`)))
.map(([path]) => ({
getChild: (prefix) => Array
.from(new Set(Object
.entries(spec.paths)
.map(([path]) => {
const match = path.match(new RegExp(`^(${prefix}/[a-zA-Z]+?)/({[A-Za-z_]+}){0,1}$`));
if (!match) return;
return match[1];
})
.filter(x => !!x)
))
.map((path) => ({
type: path.split('/').pop(),

@@ -65,0 +72,0 @@ path,

{
"name": "@hyperone/cli-core",
"version": "2.0.11",
"version": "2.0.12",
"description": "",

@@ -8,3 +8,3 @@ "main": "index.js",

"@apidevtools/json-schema-ref-parser": "^9.0.3",
"@hyperone/cli-framework": "^2.0.11",
"@hyperone/cli-framework": "^2.0.12",
"abort-controller": "^3.0.0",

@@ -31,3 +31,3 @@ "camel-case": "^4.1.1",

"license": "MIT",
"gitHead": "8f6fcf0c65a08aa58646750179acef64eac2c5c2"
"gitHead": "e22e39d7d1eb78f58a5a8fb2589ab7f825a04416"
}

@@ -11,3 +11,3 @@ import http from '../lib/http';

typeLabel: 'path',
description: 'Passport file. Default value is ~/.h1/passport.json, if available.',
description: 'Passport file. Default value is ```~/.h1/passport.json```, if available.',
group: ['global'],

@@ -14,0 +14,0 @@ },

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