Comments (11)
v7.0.0 released to npm
https://github.com/ladjs/supertest/releases/tag/v7.0.0
from supertest.
We're going to do a major bump here too shortly. Working on it now. v9.0.0 of superagent was just released by us.
Consider supporting us at https://forwardemail.net
from supertest.
This morning npm audit
start throwing this issue
from supertest.
Formidable is added from the "Superagent" dependency, It looks like they are updating that soon:
ladjs/superagent#1799
from supertest.
@titanism I managed to fix this:
from supertest.
The new version of superagent was just published btw
from supertest.
Looks like there's a bug after version bumping, haven't got to the bottom of it yet. If anyone wants to help debug please do:
❯ npm test
> [email protected] pretest
> npm run lint --if-present
> [email protected] lint
> eslint lib/**/*.js test/**/*.js index.js
> [email protected] test
> nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks
Exception during run: TypeError: Cannot read properties of undefined (reading 'push')
at Agent.<computed> [as set] (/Users/user/Projects/supertest/node_modules/.pnpm/[email protected]/node_modules/superagent/lib/agent-base.js:20:20)
at Suite.<anonymous> (/Users/user/Projects/supertest/test/supertest.js:952:6)
at Object.create (/Users/user/Projects/supertest/node_modules/.pnpm/[email protected]/node_modules/mocha/lib/interfaces/common.js:148:19)
at context.describe.context.context (/Users/user/Projects/supertest/node_modules/.pnpm/[email protected]/node_modules/mocha/lib/interfaces/bdd.js:42:27)
at Object.<anonymous> (/Users/user/Projects/supertest/test/supertest.js:949:1)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module.replacementCompile (/Users/user/Projects/supertest/node_modules/.pnpm/[email protected]/node_modules/append-transform/index.js:60:13)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.<anonymous> (/Users/user/Projects/supertest/node_modules/.pnpm/[email protected]/node_modules/append-transform/index.js:64:4)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
---------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
---------------|---------|----------|---------|---------|-------------------
All files | 20.58 | 4.8 | 8.69 | 21.11 |
supertest | 37.5 | 0 | 0 | 37.5 |
index.js | 37.5 | 0 | 0 | 37.5 | 26-54
supertest/lib | 17.8 | 5.26 | 10 | 18.24 |
agent.js | 55.55 | 38.46 | 50 | 54.28 | 34-39,55-56,62-77
test.js | 5.45 | 0 | 0 | 5.88 | 26-339
---------------|---------|----------|---------|---------|-------------------
If you want to fork / clone / pull latest commit of this repo, I pushed the version bump and it's broken now
from supertest.
Wondering when we'll see this one resolved...
from supertest.
Hi! Eagerly awaiting the new version.
from supertest.
i noticed the version wasn't updated properly.
i see this in the npm list tree
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
from supertest.
i noticed the version wasn't updated properly.
i see this in the npm list tree
└─┬ [email protected] └─┬ [email protected] └── [email protected]
They still haven't released the new major version.
from supertest.
Related Issues (20)
- cookiejar Regular Expression Denial of Service via Cookie.parse function HOT 3
- `_body` key instead of `body` in response HOT 1
- Its is a good practice for Next.js?
- [fix] timeout doesn't call end with error
- [fix] Module not found: Error: Can't resolve 'http' in '[...]/node_modules/supertest/lib' HOT 1
- [fix] Do no replace invalid body with an empty JSON object HOT 1
- I didnt find supertest latest version updated with latest superagent 8.0.9 HOT 3
- Why I was getting "Jest has detected the following 1 open handle potentially keeping Jest from exiting: Timeout"
- Error: write EPIPE on large files - Next.js + Jest + Supertest HOT 3
- [fix] Cannot send secure cookie over unencrypted connection
- [fix] Next.js: Ubuntu 22.04.3 LTS
- [fix] don't change the requrest url hash HOT 1
- SuperTest is not compatible with Node v18.19.0 Error: ECONNREFUSED: Connection Refused HOT 3
- [fix] write EPIPE error when attaching a file. (small repro) HOT 3
- supertest version 6.3.3 => 6.3.4 is a breaking change HOT 1
- [fix] Tests timeout no matter what if expect fails. HOT 1
- [fix] Dependency superagent is deprecated
- [bug] supertest stops if I use more than 4~5 describe() functions in one test file
- [fix] bug based on node version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supertest.