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

@curveball/core

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curveball/core - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

dist/application.d.ts

@@ -1,4 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import * as http from 'node:http';

@@ -5,0 +2,0 @@ import { WebSocketServer } from 'ws';

@@ -1,3 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import * as http from 'node:http';

@@ -4,0 +2,0 @@ import * as http2 from 'node:http2';

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import * as http2 from 'node:http2';

@@ -3,0 +2,0 @@ import { Context } from '@curveball/kernel';

@@ -1,3 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import { Readable } from 'node:stream';

@@ -4,0 +2,0 @@ import { Request } from '@curveball/kernel';

2

dist/node/request.js

@@ -47,3 +47,3 @@ import rawBody from 'raw-body';

*/
ip(trustProxy = false) {
ip(trustProxy) {
if (trustProxy ?? process.env.CURVEBALL_TRUSTPROXY) {

@@ -50,0 +50,0 @@ const forwardedForHeader = this.headers.get('X-Forwarded-For');

{
"name": "@curveball/core",
"version": "1.0.0",
"version": "1.0.1",
"description": "Curveball is a framework writting in Typescript for Node.js",

@@ -5,0 +5,0 @@ "type": "module",

@@ -84,3 +84,3 @@ import rawBody from 'raw-body';

*/
ip(trustProxy: boolean = false): string {
ip(trustProxy?: boolean): string {

@@ -87,0 +87,0 @@ if (trustProxy ?? process.env.CURVEBALL_TRUSTPROXY) {

Sorry, the diff of this file is not supported yet

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