Jsep.version returns "1.0.2" instead of 1.2.0 or 1.3.0
See original GitHub issueThe package version does not match the distributed files.
On GitHub:
package.json
declares the version “1.0.2”:
{
"name": "jsep",
"version": "1.0.2",
src/json.js
mentions that the version will get replaced to the correct value:
export class Jsep {
/**
* @returns {string}
*/
static get version() {
// To be filled in by the template
return '<%= version %>';
}
In the distribution package of 1.3.0:
package/package.json
declares the version “1.3.0”:
{
"name": "jsep",
"version": "1.3.0",
Actual:
dist/json.js
is hardcoded to “1.0.2”:
// JavaScript Expression Parser (JSEP) 1.0.2
class Jsep {
/**
* @returns {string}
*/
static get version() {
// To be filled in by the template
return '1.0.2';
}
Expected:
dist/json.js
should match the package/package.json
version.
File links: https://github.com/EricSmekens/jsep/blob/master/package.json https://github.com/EricSmekens/jsep/blob/master/src/jsep.js https://github.com/EricSmekens/jsep/releases/tag/v1.3.0 (see Assets)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
jsep/CHANGELOG.md at master · EricSmekens/jsep - GitHub
(1, 2) now returns a SequenceExpression instead of throwing an Unclosed ( error · moved the ConditionExpression (ternary) into a plugin, but it ......
Read more >What's new in 1.3.0 (July 2, 2021) - Pandas
When setting an entire column using loc or iloc , pandas will try to insert the values into the existing data rather than...
Read more >cftime - PyPI
2/12/2020: version 1.1.0 released. cftime.datetime instances are returned by default from num2date (instead of returning python datetime instances where ...
Read more >Could not find a version that satisfies the requirement torch ...
Currently, PyTorch on Windows only supports Python 3.7-3.9;. Installing Python 3.9.13 64-bit instead of Python 3.8.3 32-bit solved it for me.
Read more >Releases — Bokeh 3.0.3 Documentation
3.0.3: Bokeh Version 3.0.3(Dec 2022) is a point release that addresses layout issues affecting downstream projects, as well as other small regressions and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wow, I merely pressed the submit button the other day and you already released a new build! 🏆🏆🏆
@adicrl - thank you for reporting! I’ve published 1.3.4 which now has the correct version in the bundled package.json and embedded into jsep. I had to swap the build steps to commit to git after npm, and I had to incorporate the build into semantic-release to embed the version.
(NOTE: I accidentally made some commits that I thought were going to my fork but weren’t 😬 Sorry about that!)