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

@bikeshaving/crank

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bikeshaving/crank - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

4

crank.d.ts

@@ -508,6 +508,2 @@ /**

};
/**
* Some JSX transpilation tools expect these functions to be defined on the
* default export. Prefer named exports when importing directly.
*/
export default _default;

6

crank.js

@@ -1634,6 +1634,4 @@ /// <reference types="crank.d.ts" />

}
/**
* Some JSX transpilation tools expect these functions to be defined on the
* default export. Prefer named exports when importing directly.
*/
// Some JSX transpilation tools expect these functions to be defined on the
// default export. Prefer named exports when importing directly.
var crank = { createElement, Fragment };

@@ -1640,0 +1638,0 @@

@@ -106,12 +106,20 @@ /// <reference types="dom.d.ts" />

typeof node[name] === "boolean")) {
try {
if (node[name] !== value) {
node[name] = value;
// walk up the object's prototype chain to find the owner of the
// named property
let obj = node;
do {
if (Object.prototype.hasOwnProperty.call(obj, name)) {
break;
}
} while ((obj = Object.getPrototypeOf(obj)));
// get the descriptor for the named property and check whether it
// implies that the property is writable
const descriptor = Object.getOwnPropertyDescriptor(obj, name);
if (descriptor != null &&
(descriptor.writable === true || descriptor.set !== undefined)) {
node[name] = value;
return;
}
catch (err) {
// some properties are readonly so we fallback to setting them as
// attributes
}
// if the property wasn't writable, fall through to the code below
// which uses setAttribute() instead of assigning directly.
}

@@ -118,0 +126,0 @@ if (value === true) {

{
"name": "@bikeshaving/crank",
"version": "0.4.2",
"version": "0.4.3",
"description": "Write JSX-driven components with functions, promises and generators.",

@@ -86,2 +86,2 @@ "homepage": "https://crank.js.org",

}
}
}

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 too big to display

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