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

fengui

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fengui - npm Package Compare versions

Comparing version 0.7.9 to 1.0.1

component/page/BackScroll.jsx

4

component/nav/Header.jsx

@@ -73,3 +73,3 @@ import React from "react";

rightText = rightText || this.getRightOpts(rightType).rightText || subTitle;
rightClick = rightClick || this.getRightOpts(rightType).rightClick || subTitleClick || () => {};
rightClick = rightClick || this.getRightOpts(rightType).rightClick || subTitleClick || (() => {});
rightIcon = rightIcon || this.getRightOpts(rightType).rightIcon;

@@ -79,3 +79,3 @@ leftType = leftType || 'back';

leftIcon = leftIcon || this.getLeftOpts(leftType).leftIcon;
leftClick = leftClick || this.getLeftOpts(leftType).leftClick || () => {};
leftClick = leftClick || this.getLeftOpts(leftType).leftClick || (() => {});

@@ -82,0 +82,0 @@ if (leftText && leftText.length > 4) {

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

exports.Loading = require('./Loading');
exports.Paging = require('./Paging');
exports.Item = require('./Item');
exports.Loading = require('./Loading')
exports.Paging = require('./Paging')
exports.Item = require('./Item')

@@ -6,9 +6,9 @@ let Promise = require('bluebird');

exports.Toast = require('./Toast');
exports.AlertPopup = require("./AlertPopup");
exports.DownLoadPopup = require("./DownLoadPopup");
exports.WxSharePopup = require("./WxSharePopup");
exports.CustomPopup = require("./CustomPopup");
export {default as Toast} from './Toast'
export {default as AlertPopup} from './AlertPopup'
export {default as DownLoadPopup} from './DownLoadPopup'
export {default as WxSharePopup} from './WxSharePopup'
export {default as CustomPopup} from './CustomPopup'
exports.alert = function (opt, okTextParam = '确定', titleParam) {
export function alert(opt, okTextParam = '确定', titleParam) {
let {message, okText, title, isModal = true} = (typeof opt === 'object') ? opt : {

@@ -60,3 +60,3 @@ message: opt,

exports.wxShare = function () {
export function wxShare() {
return new Promise(function (resolve, reject) {

@@ -73,7 +73,7 @@ dispatch(actions.setVars("fuiWxSharePopup", {

exports.wxShare.close = function () {
wxShare.close = function () {
dispatch(actions.setVars("fuiWxSharePopup", ""));
};
exports.toast = function (toastValue, time = 2500) {
export function toast(toastValue, time = 2500) {
dispatch(actions.setVars("fuiToast", {

@@ -85,3 +85,3 @@ toastValue: toastValue,

exports.callTel = function (tel) {
export function callTel(tel) {
if (browserEnv.isInAndroid()) {

@@ -104,3 +104,3 @@ confirm(`确定拨打电话:${tel} 吗?`, '确定', '取消').then(()=> {

}
exports.downLoad = function (message = "使用客户端,享受更多服务!", okText = '下载', cancelText = "暂不下载") {
export function downLoad(message = "使用客户端,享受更多服务!", okText = '下载', cancelText = "暂不下载") {
return new Promise(function (resolve, reject) {

@@ -129,3 +129,3 @@ dispatch(actions.setVars("fuiAlert", {

exports.loading = function (promise, loadingText) {
export function loading(promise, loadingText) {
dispatch(actions.setVars("fuiLoading", {

@@ -132,0 +132,0 @@ isShow: true,

{
"name": "fengui",
"version": "0.7.9",
"version": "1.0.1",
"description": "",
"main": "dist/fengjr",
"scripts": {
"hot-dev-server": "webpack-dev-server --config webpack-hot-dev-server.config.js --hot --progress --colors --host 0.0.0.0 --port 3093 --inline",
"build": "webpack --config webpack-production.config.js --progress --profile --colors",
"dist": "webpack --config webpack-dist.config.js --progress --profile --colors",
"start-dev": "node lib/server-development",
"start": "node lib/server-production"
"build": "webpack --config webpack/production.config.js --progress --colors",
"hot-dev-server": "webpack-dev-server --config webpack/dev.config.js --hot --progress --colors --inline",
"start-dev": "node webpack/server",
"test": "standard"
},

@@ -25,8 +24,10 @@ "keywords": [

"devDependencies": {
"async": "^1.2.0",
"babel": "^6.5.2",
"babel-core": "^5.0.12",
"babel-eslint": "^3.0.1",
"babel-loader": "^5.0.0",
"babel-plugin-dev-expression": "^0.2.1",
"autoprefixer": "^6.3.7",
"babel-core": "^6.24.0",
"babel-loader": "^6.2.10",
"babel-preset-es2015": "^6.24.0",
"babel-preset-es2016": "^6.22.0",
"babel-preset-react": "^6.23.0",
"babel-preset-stage-2": "^6.22.0",
"babel-preset-stage-3": "^6.22.0",
"bluebird": "^3.0.5",

@@ -69,3 +70,3 @@ "body-parser": "^1.9.3",

"react-proxy-loader": "^0.3.1",
"react-redux": "^4.4.5",
"react-redux": "^5.0.3",
"react-router": "^2.4.1",

@@ -81,6 +82,7 @@ "react-slick": "^0.12.2",

"uuid": "^2.0.1",
"webpack": "^1.13.2",
"webpack-dev-server": "^1.4.7",
"webpack": "^2.3.1",
"webpack-dev-server": "^2.4.2",
"react-bootstrap": "^0.30.7",
"weixin-js-sdk": "^1.0.7"
"weixin-js-sdk": "^1.0.7",
"postcss-loader": "^1.3.3"
},

@@ -87,0 +89,0 @@ "files": [

@@ -20,2 +20,9 @@ 'use strict';

export default module.exports = createStore(mainReducer);
const store = createStore(mainReducer);
const {dispatch, getState} = store;
export {
store as default,
dispatch,
getState
}
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