Skip to content

Commit

Permalink
Merge pull request #2342 from storybooks/dependencies.io-update-build…
Browse files Browse the repository at this point in the history
…-73.0.0

Update 7 dependencies from npm
  • Loading branch information
Hypnosphi committed Nov 19, 2017
2 parents 2f662d2 + 8f14a16 commit 69fd5df
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 27 deletions.
2 changes: 1 addition & 1 deletion addons/knobs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"style-loader": "^0.19.0",
"typescript": "^2.6.1",
"typescript-definition-tester": "^0.0.5",
"vue": "^2.5.5"
"vue": "^2.5.6"
},
"peerDependencies": {
"react": "*",
Expand Down
16 changes: 6 additions & 10 deletions addons/knobs/src/components/PropForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,11 @@ const stylesheet = {
};

export default class propForm extends React.Component {
constructor() {
super();
this._onFieldChange = this.onFieldChange.bind(this);
}

onFieldChange(name, type, value) {
const change = { name, type, value };
this.props.onFieldChange(change);
makeChangeHandler(name, type) {
return value => {
const change = { name, type, value };
this.props.onFieldChange(change);
};
}

render() {
Expand All @@ -36,8 +33,7 @@ export default class propForm extends React.Component {
return (
<form style={stylesheet.propForm}>
{knobs.map(knob => {
// eslint-disable-next-line react/jsx-no-bind
const changeHandler = this.onFieldChange.bind(this, knob.name, knob.type);
const changeHandler = this.makeChangeHandler(knob.name, knob.type);
return (
<PropField
key={knob.name}
Expand Down
4 changes: 2 additions & 2 deletions app/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
},
"devDependencies": {
"nodemon": "^1.12.1",
"vue": "^2.5.5",
"vue": "^2.5.6",
"vue-loader": "^13.5.0",
"vue-template-compiler": "^2.5.5"
"vue-template-compiler": "^2.5.6"
},
"peerDependencies": {
"vue": "*",
Expand Down
4 changes: 2 additions & 2 deletions examples/vue-kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"vue-hot-reload-api": "^2.2.4",
"vue-loader": "^13.5.0",
"vue-style-loader": "^3.0.1",
"vue-template-compiler": "^2.5.5",
"vue-template-compiler": "^2.5.6",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.3"
},
"dependencies": {
"vue": "^2.5.5",
"vue": "^2.5.6",
"vuex": "^3.0.0"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.7.0",
"eslint-config-prettier": "^2.8.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.3.2",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-react": "^7.3.0",
"eslint-plugin-react": "^7.5.1",
"fs-extra": "^4.0.1",
"gh-pages": "^1.1.0",
"github-release-from-changelog": "^1.2.1",
Expand Down
29 changes: 19 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3954,9 +3954,9 @@ eslint-config-airbnb@^16.1.0:
dependencies:
eslint-config-airbnb-base "^12.1.0"

eslint-config-prettier@^2.7.0:
version "2.7.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.7.0.tgz#7bbfef66ad783277836f4ea556e68b9bcc9da4d0"
eslint-config-prettier@^2.8.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.8.0.tgz#929861a11de0249677686eba908118175d1a26bc"
dependencies:
get-stdin "^5.0.1"

Expand Down Expand Up @@ -4050,7 +4050,7 @@ eslint-plugin-prettier@^2.2.0:
fast-diff "^1.1.1"
jest-docblock "^21.0.0"

eslint-plugin-react@7.4.0, eslint-plugin-react@^7.3.0:
eslint-plugin-react@7.4.0:
version "7.4.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.4.0.tgz#300a95861b9729c087d362dd64abcc351a74364a"
dependencies:
Expand All @@ -4059,6 +4059,15 @@ eslint-plugin-react@7.4.0, eslint-plugin-react@^7.3.0:
jsx-ast-utils "^2.0.0"
prop-types "^15.5.10"

eslint-plugin-react@^7.5.1:
version "7.5.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.5.1.tgz#52e56e8d80c810de158859ef07b880d2f56ee30b"
dependencies:
doctrine "^2.0.0"
has "^1.0.1"
jsx-ast-utils "^2.0.0"
prop-types "^15.6.0"

eslint-restricted-globals@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/eslint-restricted-globals/-/eslint-restricted-globals-0.1.1.tgz#35f0d5cbc64c2e3ed62e93b4b1a7af05ba7ed4d7"
Expand Down Expand Up @@ -11899,9 +11908,9 @@ vue-style-loader@^3.0.0, vue-style-loader@^3.0.1:
hash-sum "^1.0.2"
loader-utils "^1.0.2"

vue-template-compiler@^2.5.5:
version "2.5.5"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.5.tgz#0cfb47c784f75500d94aa57d2220bb324b59fae0"
vue-template-compiler@^2.5.6:
version "2.5.6"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.6.tgz#93f062a230a4437ef16064f1eef9cf3797d34bb4"
dependencies:
de-indent "^1.0.2"
he "^1.1.0"
Expand All @@ -11910,9 +11919,9 @@ vue-template-es2015-compiler@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"

vue@^2.5.5:
version "2.5.5"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.5.tgz#cc3cd9b2a4f1d7356861ae0f71da0e6beb091910"
vue@^2.5.6:
version "2.5.6"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.6.tgz#73654fefa4b37f25dfc657b8b834b44c90822cd7"

vuex@^3.0.0:
version "3.0.1"
Expand Down

0 comments on commit 69fd5df

Please sign in to comment.