@curveball/core
Advanced tools
Comparing version 0.21.1 to 1.0.0
{ | ||
"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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4
0
1
76739
18
32
1431
1
+ Added@curveball/kernel@1.0.0(transitive)
- Removed@curveball/kernel@>=0.21.1 <1
- Removed@curveball/kernel@0.21.2(transitive)