Huge News!Announcing our $40M Series B led by Abstract Ventures.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.20.0 to 1.21.0

3

dist/application.d.ts

@@ -20,5 +20,2 @@ import React = require("react");

}
export declare let PageContext: React.Context<{
page: Page | null;
}>;
declare class DefaultPageNodeParser implements PageNodeParser {

@@ -25,0 +22,0 @@ private nodes;

2

dist/index.d.ts

@@ -1,1 +0,1 @@

export { Application, Page, PageProps, PageContext } from './application';
export { Application, Page, PageProps } from './application';
/*!
*
* maishu-chitu-react v1.20.0
* maishu-chitu-react v1.21.0
* https://github.com/ansiboy/services-sdk

@@ -193,6 +193,3 @@ *

exports.Page = Page;
exports.PageContext = React.createContext({
page: null
});
exports.Page = Page; // export let PageContext = React.createContext<{ page: Page | null }>({ page: null })

@@ -289,12 +286,10 @@ var DefaultPageNodeParser =

}
};
element = React.createElement(exports.PageContext.Provider, {
value: {
page: page
}
}, React.createElement(action, props));
}; // let element = React.createElement(PageContext.Provider, { value: { page: page as Page } },
element = React.createElement(action, props); // )
component = ReactDOM.render(element, page.element);
page.component = component;
} else {
new action(page);
action(page);
}

@@ -454,7 +449,4 @@

exports.Page = application_1.Page;
exports.PageContext = application_1.PageContext;
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); // export { dataPage, DataPageContext, DataPageProps, DataPageState } from './data-page'
// import './css/index.css'
// import './css/minirefresh.css'
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
//# sourceMappingURL=index.js.map

@@ -461,0 +453,0 @@

/*!
*
* maishu-chitu-react v1.20.0
* maishu-chitu-react v1.21.0
* https://github.com/ansiboy/services-sdk

@@ -134,3 +134,3 @@ *

exports.Page = Page;
exports.PageContext = React.createContext({ page: null });
// export let PageContext = React.createContext<{ page: Page | null }>({ page: null })
class DefaultPageNodeParser {

@@ -179,3 +179,5 @@ constructor(modulesPath) {

};
let element = React.createElement(exports.PageContext.Provider, { value: { page: page } }, React.createElement(action, props));
// let element = React.createElement(PageContext.Provider, { value: { page: page as Page } },
let element = React.createElement(action, props);
// )
let component = ReactDOM.render(element, page.element);

@@ -185,3 +187,3 @@ page.component = component;

else {
new action(page);
action(page);
}

@@ -274,8 +276,4 @@ });

exports.Page = application_1.Page;
exports.PageContext = application_1.PageContext;
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
// export { dataPage, DataPageContext, DataPageProps, DataPageState } from './data-page'
// import './css/index.css'
// import './css/minirefresh.css'

@@ -282,0 +280,0 @@

@@ -78,6 +78,3 @@ "use strict";

exports.Page = Page;
exports.PageContext = React.createContext({
page: null
});
exports.Page = Page; // export let PageContext = React.createContext<{ page: Page | null }>({ page: null })

@@ -174,12 +171,10 @@ var DefaultPageNodeParser =

}
};
element = React.createElement(exports.PageContext.Provider, {
value: {
page: page
}
}, React.createElement(action, props));
}; // let element = React.createElement(PageContext.Provider, { value: { page: page as Page } },
element = React.createElement(action, props); // )
component = ReactDOM.render(element, page.element);
page.component = component;
} else {
new action(page);
action(page);
}

@@ -186,0 +181,0 @@

@@ -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";

@@ -11,6 +11,3 @@ "use strict";

exports.Page = application_1.Page;
exports.PageContext = application_1.PageContext;
}); // export { dataPage, DataPageContext, DataPageProps, DataPageState } from './data-page'
// import './css/index.css'
// import './css/minirefresh.css'
});
//# sourceMappingURL=index.js.map

@@ -20,5 +20,2 @@ import React = require("react");

}
export declare let PageContext: React.Context<{
page: Page | null;
}>;
declare class DefaultPageNodeParser implements PageNodeParser {

@@ -25,0 +22,0 @@ private nodes;

@@ -20,3 +20,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

exports.Page = Page;
exports.PageContext = React.createContext({ page: null });
// export let PageContext = React.createContext<{ page: Page | null }>({ page: null })
class DefaultPageNodeParser {

@@ -65,3 +65,5 @@ constructor(modulesPath) {

};
let element = React.createElement(exports.PageContext.Provider, { value: { page: page } }, React.createElement(action, props));
// let element = React.createElement(PageContext.Provider, { value: { page: page as Page } },
let element = React.createElement(action, props);
// )
let component = ReactDOM.render(element, page.element);

@@ -71,3 +73,3 @@ page.component = component;

else {
new action(page);
action(page);
}

@@ -74,0 +76,0 @@ });

@@ -1,1 +0,1 @@

export { Application, Page, PageProps, PageContext } from './application';
export { Application, Page, PageProps } from './application';

@@ -6,6 +6,2 @@ define(["require", "exports", "./application"], function (require, exports, application_1) {

exports.Page = application_1.Page;
exports.PageContext = application_1.PageContext;
});
// export { dataPage, DataPageContext, DataPageProps, DataPageState } from './data-page'
// import './css/index.css'
// import './css/minirefresh.css'
{
"name": "maishu-chitu-react",
"version": "1.20.0",
"version": "1.21.0",
"description": "",

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

@@ -1,4 +0,1 @@

export { Application, Page, PageProps, PageContext } from './application'
// export { dataPage, DataPageContext, DataPageProps, DataPageState } from './data-page'
// import './css/index.css'
// import './css/minirefresh.css'
export { Application, Page, PageProps } from './application'

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