Comparing version 1.0.0 to 1.0.1
@@ -0,0 +0,0 @@ import { ComposibleValidatable, Validator } from './types'; |
@@ -197,4 +197,4 @@ "use strict"; | ||
this.setCompositionParent = function (config) { | ||
_this.on$ChangeAfterValidation = config.on$ChangeAfterValidation; | ||
_this.on$Reinit = config.on$Reinit; | ||
_this.on$ChangeAfterValidation = function () { return mobx_1.runInAction(config.on$ChangeAfterValidation); }; | ||
_this.on$Reinit = function () { return mobx_1.runInAction(config.on$Reinit); }; | ||
}; | ||
@@ -295,8 +295,2 @@ mobx_1.runInAction(function () { | ||
mobx_1.action | ||
], FieldState.prototype, "on$ChangeAfterValidation", void 0); | ||
__decorate([ | ||
mobx_1.action | ||
], FieldState.prototype, "on$Reinit", void 0); | ||
__decorate([ | ||
mobx_1.action | ||
], FieldState.prototype, "setCompositionParent", void 0); | ||
@@ -303,0 +297,0 @@ return FieldState; |
@@ -0,0 +0,0 @@ import { ComposibleValidatable, Validator } from './types'; |
@@ -104,4 +104,4 @@ "use strict"; | ||
this.setCompositionParent = function (config) { | ||
_this.on$ChangeAfterValidation = config.on$ChangeAfterValidation; | ||
_this.on$Reinit = config.on$Reinit; | ||
_this.on$ChangeAfterValidation = function () { return mobx_1.runInAction(config.on$ChangeAfterValidation); }; | ||
_this.on$Reinit = function () { return mobx_1.runInAction(config.on$Reinit); }; | ||
}; | ||
@@ -329,8 +329,2 @@ this.mode = mobx_1.isArrayLike($) ? 'array' : 'map'; | ||
mobx_1.action | ||
], FormState.prototype, "on$ChangeAfterValidation", void 0); | ||
__decorate([ | ||
mobx_1.action | ||
], FormState.prototype, "on$Reinit", void 0); | ||
__decorate([ | ||
mobx_1.action | ||
], FormState.prototype, "setCompositionParent", void 0); | ||
@@ -337,0 +331,0 @@ return FormState; |
@@ -0,0 +0,0 @@ import { Validatable, Validator } from './types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** A truthy string or falsy values */ |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './core/types'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function debounce<T extends Function>(func: T, milliseconds: number, immediate?: boolean): T; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "formstate", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Painless and simple MobX form management", | ||
@@ -30,3 +30,3 @@ "main": "./lib/index.js", | ||
"peerDependencies": { | ||
"mobx": ">=2.0.0" | ||
"mobx": ">=3.0.0" | ||
}, | ||
@@ -46,5 +46,5 @@ "dependencies": {}, | ||
"material-ui": "0.16.6", | ||
"mobx": ">=3.0.0", | ||
"mobx-react": "^4.1.0", | ||
"mocha": "^3.1.2", | ||
"mobx": "4.1.1", | ||
"mobx-react": "5.0.0", | ||
"mocha": "5.0.5", | ||
"react": "15.4.2", | ||
@@ -54,3 +54,3 @@ "react-dom": "15.4.2", | ||
"starts": "^0.7.0", | ||
"ts-node": "^1.5.2", | ||
"ts-node": "5.0.1", | ||
"typescript": "2.4.1", | ||
@@ -57,0 +57,0 @@ "typestyle": "1.1.0" |
@@ -12,4 +12,2 @@ # FormState | ||
<iframe src="https://ghbtns.com/github-btn.html?user=formstate&repo=formstate&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe> | ||
This project is big on type safety for compile time error analysis | ||
@@ -16,0 +14,0 @@ |
@@ -237,4 +237,4 @@ import { observable, action, computed, runInAction } from 'mobx'; | ||
*/ | ||
@action on$ChangeAfterValidation = () => { } | ||
@action on$Reinit = () => { } | ||
on$ChangeAfterValidation = () => { } | ||
on$Reinit = () => { } | ||
@action setCompositionParent = (config: { | ||
@@ -244,5 +244,5 @@ on$ChangeAfterValidation: () => void; | ||
}) => { | ||
this.on$ChangeAfterValidation = config.on$ChangeAfterValidation; | ||
this.on$Reinit = config.on$Reinit; | ||
this.on$ChangeAfterValidation = () => runInAction(config.on$ChangeAfterValidation); | ||
this.on$Reinit = () => runInAction(config.on$Reinit); | ||
} | ||
} |
@@ -208,4 +208,4 @@ import { observable, action, computed, runInAction, isObservable, isArrayLike } from 'mobx'; | ||
@action on$ChangeAfterValidation = () => { } | ||
@action on$Reinit = () => { } | ||
on$ChangeAfterValidation = () => { } | ||
on$Reinit = () => { } | ||
@action setCompositionParent = (config: { | ||
@@ -215,5 +215,5 @@ on$ChangeAfterValidation: () => void; | ||
}) => { | ||
this.on$ChangeAfterValidation = config.on$ChangeAfterValidation; | ||
this.on$Reinit = config.on$Reinit; | ||
this.on$ChangeAfterValidation = () => runInAction(config.on$ChangeAfterValidation); | ||
this.on$Reinit = () => runInAction(config.on$Reinit); | ||
} | ||
} |
@@ -0,0 +0,0 @@ import { observable, action, computed, runInAction } from 'mobx'; |
@@ -0,0 +0,0 @@ import * as utils from '../internal/utils'; |
@@ -0,0 +0,0 @@ export * from './core/types'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { starts } from 'starts'; |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
74557
26
1929
39