Comparing version 1.0.6 to 1.0.7
@@ -14,3 +14,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import React from "react"; | ||
import { isObject, isCorrectVal } from "./utils"; //hoc | ||
import tools from "./tools"; //HOC | ||
@@ -21,3 +21,3 @@ var subscription = function subscription(observablesMap, inputOptions) { | ||
var handler = function handler(Comp) { | ||
if (!isObject(observablesMap)) throw new TypeError("\u65B9\u6CD5subscription()\u7684\u53C2\u6570observablesMap\u5FC5\u987B\u662Fobject\u7C7B\u578B"); | ||
if (!tools.isObject(observablesMap)) throw new TypeError("\u65B9\u6CD5subscription()\u7684\u53C2\u6570observablesMap\u5FC5\u987B\u662Fobject\u7C7B\u578B"); | ||
@@ -49,3 +49,3 @@ var Permeate = /*#__PURE__*/function (_React$PureComponent) { | ||
_this.state = Object.assign({}, _this._innerObservableMaps, isCorrectVal(options.defaultProps) ? options.defaultProps : {}); | ||
_this.state = Object.assign({}, _this._innerObservableMaps, tools.isCorrectVal(options.defaultProps) ? options.defaultProps : {}); | ||
return _this; | ||
@@ -52,0 +52,0 @@ } |
{ | ||
"name": "frer", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./es/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13785