Update deps
This commit is contained in:
parent
b2b0c4abe3
commit
ee7fe52ee8
5 changed files with 4688 additions and 1044 deletions
|
|
@ -18,7 +18,7 @@ mithril.js [](https://ww
|
|||
|
||||
## What is Mithril.js?
|
||||
|
||||
A modern client-side JavaScript framework for building Single Page Applications. It's small (<!-- size -->10.04 KB<!-- /size --> gzipped), fast and provides routing and XHR utilities out of the box.
|
||||
A modern client-side JavaScript framework for building Single Page Applications. It's small (<!-- size -->10.05 KB<!-- /size --> gzipped), fast and provides routing and XHR utilities out of the box.
|
||||
|
||||
Mithril.js is used by companies like Vimeo and Nike, and open source platforms like Lichess 👍.
|
||||
|
||||
|
|
|
|||
16
mithril.js
16
mithril.js
|
|
@ -40,7 +40,7 @@ Vnode.normalizeChildren = function(input) {
|
|||
// In native ES6, I'd instead add a final `...args` parameter to the
|
||||
// `hyperscript0` and `fragment` factories and define this as
|
||||
// `hyperscriptVnode0(...args)`, since modern engines do optimize that away. But
|
||||
// ES5 (what Mithril requires thanks to IE support) doesn't give me that luxury,
|
||||
// ES5 (what Mithril.js requires thanks to IE support) doesn't give me that luxury,
|
||||
// and engines aren't nearly intelligent enough to do either of these:
|
||||
//
|
||||
// 1. Elide the allocation for `[].slice.call(arguments, 1)` when it's passed to
|
||||
|
|
@ -1529,17 +1529,25 @@ var m = function m() { return hyperscript.apply(this, arguments) }
|
|||
m.m = hyperscript
|
||||
m.trust = hyperscript.trust
|
||||
m.fragment = hyperscript.fragment
|
||||
m.Fragment = "["
|
||||
m.mount = mountRedraw.mount
|
||||
var m6 = hyperscript
|
||||
var Promise = PromisePolyfill
|
||||
function decodeURIComponentSave0(str) {
|
||||
try {
|
||||
return decodeURIComponent(str)
|
||||
} catch(err) {
|
||||
return str
|
||||
}
|
||||
}
|
||||
var parseQueryString = function(string) {
|
||||
if (string === "" || string == null) return {}
|
||||
if (string.charAt(0) === "?") string = string.slice(1)
|
||||
var entries = string.split("&"), counters = {}, data0 = {}
|
||||
for (var i = 0; i < entries.length; i++) {
|
||||
var entry = entries[i].split("=")
|
||||
var key5 = decodeURIComponent(entry[0])
|
||||
var value2 = entry.length === 2 ? decodeURIComponent(entry[1]) : ""
|
||||
var key5 = decodeURIComponentSave0(entry[0])
|
||||
var value2 = entry.length === 2 ? decodeURIComponentSave0(entry[1]) : ""
|
||||
if (value2 === "true") value2 = true
|
||||
else if (value2 === "false") value2 = false
|
||||
var levels = key5.split(/\]\[?|\[/)
|
||||
|
|
@ -1678,7 +1686,7 @@ function decodeURIComponentSave(component) {
|
|||
}
|
||||
var _28 = function($window, mountRedraw00) {
|
||||
var callAsync0 = $window == null
|
||||
// In case Mithril's loaded globally without the DOM, let's not break
|
||||
// In case Mithril.js' loaded globally without the DOM, let's not break
|
||||
? null
|
||||
: typeof $window.setImmediate === "function" ? $window.setImmediate : $window.setTimeout
|
||||
var p = Promise.resolve()
|
||||
|
|
|
|||
2
mithril.min.js
vendored
2
mithril.min.js
vendored
File diff suppressed because one or more lines are too long
5708
package-lock.json
generated
5708
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -35,12 +35,12 @@
|
|||
"benchmark": "^2.1.4",
|
||||
"chokidar": "^3.2.1",
|
||||
"escape-string-regexp": "^2.0.0",
|
||||
"eslint": "^6.5.1",
|
||||
"eslint": "^8.9.0",
|
||||
"gh-pages": "^2.1.1",
|
||||
"glob": "^7.1.4",
|
||||
"html-minifier": "^4.0.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"lint-staged": "^9.4.1",
|
||||
"lint-staged": "^12.3.4",
|
||||
"locater": "^1.3.0",
|
||||
"marked": "^4.0.10",
|
||||
"minimist": "^1.2.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue