Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mithril

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mithril - npm Package Compare versions

Comparing version 1.0.0-rc.4 to 1.0.0-rc.5

0

.eslintrc.js

@@ -0,0 +0,0 @@ module.exports = {

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

var m = require("./index")
if (typeof module !== "undefined") module["exports"] = m
else window.m = m

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ # bundler.js

@@ -0,0 +0,0 @@ var o = require("../../ospec/ospec")

@@ -0,0 +0,0 @@ # Contributing

@@ -0,0 +0,0 @@ # API

@@ -0,0 +0,0 @@ # buildQueryString(object)

@@ -0,0 +0,0 @@ # Components

@@ -0,0 +0,0 @@ # Credits

@@ -0,0 +0,0 @@ # Examples

@@ -0,0 +0,0 @@ # fragment(html)

@@ -0,0 +0,0 @@ # m(selector, attributes, children)

@@ -0,0 +0,0 @@ # Installation

@@ -0,0 +0,0 @@ # jsonp(options)

@@ -0,0 +0,0 @@ # Keys

@@ -0,0 +0,0 @@ # Lifecycle methods

@@ -0,0 +0,0 @@ #!/usr/bin/env node

@@ -0,0 +0,0 @@ # mount(root, component)

@@ -0,0 +0,0 @@ # parseQueryString(string)

@@ -0,0 +0,0 @@ # redraw()

@@ -0,0 +0,0 @@ # render(element, vnodes)

@@ -0,0 +0,0 @@ # request(options)

@@ -0,0 +0,0 @@ # route(root, defaultRoute, routes)

@@ -0,0 +0,0 @@ # How to read signatures

@@ -0,0 +0,0 @@ # stream()

@@ -0,0 +0,0 @@ # Testing

@@ -0,0 +0,0 @@ # trust(html)

@@ -0,0 +0,0 @@ # Migrating from `v0.2.x` to `v1.x`

@@ -0,0 +0,0 @@ # version

@@ -0,0 +0,0 @@ # Virtual DOM nodes

@@ -0,0 +0,0 @@ # withAttr(attrName, callback)

@@ -0,0 +0,0 @@ var renderStage = 0

@@ -0,0 +0,0 @@ var ENV = ENV || (function() {

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ ;(function (global, factory) { // eslint-disable-line

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ var Monitoring = Monitoring || (function() {

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ var renderStage = 0

@@ -0,0 +0,0 @@ T.time("Setup");

@@ -0,0 +0,0 @@ //model

@@ -0,0 +0,0 @@ var hyperscript = require("./render/hyperscript")

@@ -0,0 +0,0 @@ "use strict"

2

mithril.js

@@ -1123,5 +1123,5 @@ new function() {

m.buildQueryString = buildQueryString
m.version = "1.0.0-rc.3"
m.version = "1.0.0-rc.4"
if (typeof module !== "undefined") module["exports"] = m
else window.m = m
}

@@ -40,2 +40,2 @@ new function(){function m(a,b,k,d,l,h){return{tag:a,key:b,attrs:k,children:d,text:l,dom:h,domSize:void 0,state:{},events:void 0,instance:void 0,skip:!1}}function t(a){if(null==a||"string"!==typeof a&&null==a.view)throw Error("The selector must be either a string or a component.");if("string"===typeof a&&void 0===G[a]){for(var b,k,d=[],l={};b=N.exec(a);){var h=b[1],u=b[2];""===h&&""!==u?k=u:"#"===h?l.id=u:"."===h?d.push(u):"["===b[3][0]&&((h=b[6])&&(h=h.replace(/\\(["'])/g,"$1").replace(/\\\\/g,"\\")),

n=k,p=l=function(k){p===l&&(l=null,h=null!=k?k:m?"div":b,t=n,q=d,r=f,a.redraw(!0))},u=function(){p()};m&&("function"===typeof b.render&&(n=b.render.bind(b)),"function"===typeof b.onmatch&&(u=b.onmatch));u.call(b,p,d,f)},function(){d.setPath(f,null,{replace:!0})})};n.link=d.link;n.prefix=d.setPrefix;n.set=d.setPath;n.get=function(){return r};return n}(window,t.mount);t.withAttr=function(a,b,k){return function(d){return b.call(k||this,a in d.currentTarget?d.currentTarget[a]:d.currentTarget.getAttribute(a))}};
t.render=M.render;t.redraw=I.publish;t.request=H.request;t.jsonp=H.jsonp;t.parseQueryString=J;t.buildQueryString=C;t.version="1.0.0-rc.3";"undefined"!==typeof module?module.exports=t:window.m=t};
t.render=M.render;t.redraw=I.publish;t.request=H.request;t.jsonp=H.jsonp;t.parseQueryString=J;t.buildQueryString=C;t.version="1.0.0-rc.4";"undefined"!==typeof module?module.exports=t:window.m=t};

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ # module.js

@@ -0,0 +0,0 @@ var renderService = require("./render")

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ # ospec

@@ -0,0 +0,0 @@ "use strict"

{
"name": "mithril",
"version": "1.0.0-rc.4",
"version": "1.0.0-rc.5",
"description": "A framework for building brilliant applications",

@@ -5,0 +5,0 @@ "author": "Leo Horie",

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -37,4 +37,4 @@ # Mithril.js - A framework for building brilliant applications

Despite the huge improvements in performance and modularity, the new codebase is smaller than v0.2.x, currently clocking at <!-- size -->7.35 KB<!-- /size --> min+gzip
Despite the huge improvements in performance and modularity, the new codebase is smaller than v0.2.x, currently clocking at <!-- size -->7.37 KB<!-- /size --> min+gzip
In addition, Mithril is now completely modular: you can import only the modules that you need and easily integrate 3rd party modules if you wish to use a different library for routing, ajax, and even rendering

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ var o = require("../../ospec/ospec")

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ function Vnode(tag, key, attrs, children, text, dom) {

var PromisePolyfill = require("./promise/promise")
module.exports = require("./request/request")(window, PromisePolyfill)

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

var mount = require("./mount")
module.exports = require("./api/router")(window, mount)

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

"use strict"
module.exports = typeof setImmediate === "function" ? setImmediate : setTimeout

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ # Test utils

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc