Automattic / Automattic/expect.js

NPM version is still 0.1.2 but labelled at 0.2.0

Open
#68 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

The NPM version of expect.js is out of date and mis-labelled. It installs with a package that says it installed 0.2.0, when in fact it's only installed 0.1.2.

Please update the NPM package so that the expect.js source code included is actually 0.2.0. I ask this because it has new methods such as withArgs(), which I'd like to use.

Steps to verify what version was installed: Installing expect.js from npm:
npm install expect.js
open node_modules/expect.js/expect.js

Look for the line expect.version, it shows "0.1.2"

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with `npm install expect.js`, then inspect `node_modules/expect.js/expect.js` and its `expect.version` line. Check the packaged source and release metadata needed to publish version 0.2.0; done means npm installs the 0.2.0 source, including methods such as `withArgs()`, and reports that version.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.