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

@foxxie/centra

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foxxie/centra - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

11

index.d.ts
import { RequestOptions, IncomingMessage } from 'http';
import { URL } from 'url';
type HttpMethod =
export type HttpMethod =
| 'OPTIONS'

@@ -15,5 +15,5 @@ | 'CONNECT'

declare function centra(url: string, method?: HttpMethod): Centra.Request;
export function centra(url: string | URL, method?: HttpMethod): Centra.Request;
declare namespace Centra {
export namespace Centra {
interface Response {

@@ -57,5 +57,2 @@ coreRes: IncomingMessage;

}
}
export = centra;
export as namespace centra;
}
const CentraRequest = require('./model/CentraRequest.js')
module.exports = (url, method) => {
module.exports.centra = (url, method) => {
return new CentraRequest(url, method)
}
{
"name": "@foxxie/centra",
"version": "1.0.4",
"version": "1.0.5",
"description": "A fork of Centra to support shortcut methoods in Foxxie.",

@@ -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