Fix m.version to not depend on package.json (#2464)
* Fix `m.version` to not depend on `package.json` Created an accidental breaking change. * Update changelog * Fix a failing test
This commit is contained in:
parent
1f4b2cf49a
commit
1434ba313f
7 changed files with 13 additions and 15 deletions
2
index.js
2
index.js
|
|
@ -18,7 +18,7 @@ m.parseQueryString = require("./querystring/parse")
|
|||
m.buildQueryString = require("./querystring/build")
|
||||
m.parsePathname = require("./pathname/parse")
|
||||
m.buildPathname = require("./pathname/build")
|
||||
m.version = require("./package.json").version
|
||||
m.version = "2.0.0-rc.7"
|
||||
m.vnode = require("./render/vnode")
|
||||
m.PromisePolyfill = require("./promise/polyfill")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue