New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.0.7 to 1.0.8

10

lib/openapi.js

@@ -63,9 +63,17 @@ import fetch from 'node-fetch';

getTitle: () => spec.info.title,
getDetail: prefix => Object
.entries(spec.paths)
.filter(([path]) => path.match(new RegExp(`${prefix}/\{[A-Za-z_]+\}$`)))
.map(([path, endpoint]) => ({
endpoint,
path,
})),
getActions: (prefix) => Object
.entries(spec.paths)
.filter(([path]) => path.match(new RegExp(`${prefix}/actions/(.+?)`)))
.map(([path]) => ({
.map(([path, endpoint]) => ({
name: path.split('/').pop(),
endpoint,
path,
})),
};

6

package.json
{
"name": "@hyperone/cli-core",
"version": "1.0.7",
"version": "1.0.8",
"description": "",

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

"@apidevtools/json-schema-ref-parser": "^9.0.3",
"@hyperone/cli-framework": "^1.0.6",
"@hyperone/cli-framework": "^1.0.8",
"camel-case": "^4.1.1",

@@ -30,3 +30,3 @@ "command-line-args": "^5.1.1",

"license": "MIT",
"gitHead": "b51a930fcf67d351fb8243c40b64e8e17d80c10b"
"gitHead": "a3a4d4cf6ce542757ec9adbc129f9b93bea9380e"
}
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