New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kjappas

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kjappas - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

18

index.js

@@ -30,9 +30,3 @@ // Generated by CoffeeScript 1.12.4

var k, newData, v;
newData = {
"class": {},
on: {},
attrs: {},
props: {},
hook: {}
};
newData = {};
for (k in data) {

@@ -57,15 +51,15 @@ if (!hasProp.call(data, k)) continue;

case "$":
newData.on[k.slice(1)] = v;
(newData.on || (newData.on = {}))[k.slice(1)] = v;
break;
case "%":
newData.attrs[k.slice(1)] = v;
(newData.attrs || (newData.attrs = {}))[k.slice(1)] = v;
break;
case ".":
newData["class"][k.slice(1)] = v;
(newData["class"] || (newData["class"] = {}))[k.slice(1)] = v;
break;
case "_":
newData.hook[k.slice(1)] = v;
(newData.hook || (newData.hook = {}))[k.slice(1)] = v;
break;
default:
newData.props[k] = v;
(newData.props || (newData.props = {}))[k] = v;
}

@@ -72,0 +66,0 @@ }

{
"name": "kjappas",
"version": "0.1.3",
"version": "0.1.4",
"description": "HTML-as-JavaScript Snabbdom template library",

@@ -5,0 +5,0 @@ "main": "index.js",

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