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

maishu-chitu-react

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maishu-chitu-react - npm Package Compare versions

Comparing version 1.0.6 to 1.0.8

docs/_config.yml

5

out/index.d.ts
import React = require("react");
import * as chitu from 'maishu-chitu';
export declare class Page extends chitu.Page {
component: React.Component;
}
export declare class Application extends chitu.Application {
protected createDefaultAction(url: string, loadjs: (path: string) => Promise<any>): (page: chitu.Page) => Promise<React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
protected createDefaultAction(url: string, loadjs: (path: string) => Promise<any>): (page: Page) => Promise<React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
}

6

out/index.js

@@ -23,2 +23,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const chitu = require("maishu-chitu");
class Page extends chitu.Page {
}
exports.Page = Page;
class Application extends chitu.Application {

@@ -44,3 +47,4 @@ createDefaultAction(url, loadjs) {

let element = React.createElement(action, props);
ReactDOM.render(element, page.element);
let component = ReactDOM.render(element, page.element);
page.component = component;
return element;

@@ -47,0 +51,0 @@ });

{
"name": "maishu-chitu-react",
"version": "1.0.6",
"version": "1.0.8",
"description": "",

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

@@ -11,5 +11,9 @@ import React = require("react");

export class Page extends chitu.Page {
component: React.Component
}
export class Application extends chitu.Application {
protected createDefaultAction(url: string, loadjs: (path: string) => Promise<any>) {
return async (page: chitu.Page) => {
return async (page: Page) => {
let actionExports = await (loadjs as LoadJS)(url);

@@ -35,3 +39,4 @@ if (!actionExports)

let element = React.createElement(action, props)
ReactDOM.render(element, page.element)
let component = ReactDOM.render(element, page.element) as any as React.Component
page.component = component
return element;

@@ -38,0 +43,0 @@ }

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