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

@curveball/core

Package Overview
Dependencies
Maintainers
4
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 0.21.1 to 1.0.0

dist/application.d.ts

37

package.json
{
"name": "@curveball/core",
"version": "0.21.1",
"version": "1.0.0",
"description": "Curveball is a framework writting in Typescript for Node.js",
"type": "module",
"exports": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"main": "cjs/index.js",
"exports": "./dist/index.js",
"homepage": "https://github.com/curveball/core#readme",

@@ -37,3 +33,2 @@ "bugs": {

"dependencies": {
"@curveball/kernel": ">=0.21.1 <1",
"@types/ws": "^8.5.3",

@@ -44,15 +39,16 @@ "raw-body": "^2.4.1",

"peerDependencies": {
"@curveball/kernel": ">=0.21.1 <1"
"@curveball/kernel": "^1"
},
"devDependencies": {
"@curveball/http-errors": "^0.5.0",
"@curveball/kernel": "^1.0.0",
"@types/chai": "^4.2.15",
"@types/co-body": "^6.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.12",
"@types/node": "^18.19.6",
"@types/node-fetch": "^2.5.8",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"chai": "^4.3.0",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"chai": "^5.0.0",
"eslint": "^8.6.0",

@@ -62,8 +58,8 @@ "mocha": "^10.2.0",

"nyc": "^15.1.0",
"sinon": "^15.0.1",
"sinon": "^17.0.1",
"ts-node": "^10.4.0",
"typescript": "^4.1.5"
"typescript": "^5.3.3"
},
"engines": {
"node": ">=14.4"
"node": ">= 16"
},

@@ -73,4 +69,3 @@ "files": [

"README.md",
"esm",
"cjs",
"dist",
"LICENSE",

@@ -80,5 +75,2 @@ "src"

"mocha": {
"require": [
"./test/polyfills.mjs"
],
"loader": [

@@ -92,3 +84,4 @@ "ts-node/esm"

"tsx"
]
],
"exit": true
},

@@ -95,0 +88,0 @@ "nyc": {

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

import * as ImpRawBody from 'raw-body';
import rawBody from 'raw-body';
import { Readable } from 'node:stream';

@@ -8,7 +8,4 @@

} from '@curveball/kernel';
import { NodeHttpRequest } from './http-utils';
import { NodeHttpRequest } from './http-utils.js';
// @ts-expect-error ESM / CommonJS interop weirdness.
const rawBody = ImpRawBody.default ?? ImpRawBody;
export class NodeRequest<T> extends Request<T> {

@@ -15,0 +12,0 @@

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