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

@b9g/crank

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@b9g/crank - npm Package Compare versions

Comparing version 0.5.0-beta.0 to 0.5.0-beta.1

2

crank.d.ts

@@ -169,4 +169,2 @@ /**

export declare function createElement<TTag extends Tag>(tag: TTag, props?: TagProps<TTag> | null | undefined, ...children: Array<unknown>): Element<TTag>;
/** A single-letter alias for createElement */
export declare const c: typeof createElement;
/** Clones a given element, shallowly copying the props object. */

@@ -173,0 +171,0 @@ export declare function cloneElement<TTag extends Tag>(el: Element<TTag>): Element<TTag>;

4

crank.js

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

}
/** A single-letter alias for createElement */
const c = createElement;
/** Clones a given element, shallowly copying the props object. */

@@ -1659,3 +1657,3 @@ function cloneElement(el) {

export { Context, Copy, Element, Fragment, Portal, Raw, Renderer, c, cloneElement, createElement, crank as default, isElement };
export { Context, Copy, Element, Fragment, Portal, Raw, Renderer, cloneElement, createElement, crank as default, isElement };
//# sourceMappingURL=crank.js.map
/// <reference types="index.d.ts" />
export { Context, Copy, Element, Fragment, Portal, Raw, Renderer, c, cloneElement, createElement, isElement } from './crank.js';
export { Context, Copy, Element, Fragment, Portal, Raw, Renderer, cloneElement, createElement, isElement } from './crank.js';
export { xm } from './xm.js';
//# sourceMappingURL=index.js.map
{
"name": "@b9g/crank",
"version": "0.5.0-beta.0",
"version": "0.5.0-beta.1",
"description": "Write JSX-driven components with functions, promises and generators.",

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

}
}
}
/// <reference types="xm.d.ts" />
import { c } from './crank.js';
import { createElement } from './crank.js';

@@ -417,3 +417,3 @@ const cache = new Map();

}
return c(parsed.open.value, props, ...children);
return createElement(parsed.open.value, props, ...children);
}

@@ -420,0 +420,0 @@ function formatTagForError(tag) {

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

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