mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
Merge branch 'master' into info-params
This commit is contained in:
commit
1a811053a9
@ -7,7 +7,7 @@
|
||||
[](https://now-examples-slackin-rrirkqohko.now.sh/)
|
||||
[](#backers) [](#sponsors)
|
||||
|
||||
* * *
|
||||
---
|
||||
|
||||
Storybook Background Addon can be used to change background colors inside the preview in [Storybook](https://storybook.js.org).
|
||||
|
||||
@ -37,35 +37,56 @@ Then write your stories like this:
|
||||
|
||||
```js
|
||||
import React from 'react';
|
||||
import { storiesOf } from "@storybook/react";
|
||||
import backgrounds from "@storybook/addon-backgrounds";
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import { withBackgrounds } from '@storybook/addon-backgrounds';
|
||||
|
||||
storiesOf("Button", module)
|
||||
.addDecorator(backgrounds([
|
||||
{ name: "twitter", value: "#00aced", default: true },
|
||||
{ name: "facebook", value: "#3b5998" },
|
||||
]))
|
||||
.add("with text", () => <button>Click me</button>);
|
||||
storiesOf('Button', module)
|
||||
.addDecorator(
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced', default: true },
|
||||
{ name: 'facebook', value: '#3b5998' },
|
||||
])
|
||||
)
|
||||
.add('with text', () => <button>Click me</button>);
|
||||
```
|
||||
|
||||
Of course it's easy to create a library module so you can re-use:
|
||||
You can add the backgrounds to all stories with `addDecorator` in `.storybook/config.js`:
|
||||
|
||||
```js
|
||||
import addonBackgrounds from "@storybook/addon-backgrounds";
|
||||
import { addDecorator } from '@storybook/react'; // <- or your storybook framework
|
||||
import { withBackgrounds } from '@storybook/addon-backgrounds';
|
||||
|
||||
export const backgrounds = addonBackgrounds([
|
||||
{ name: "twitter", value: "#00aced", default: true },
|
||||
{ name: "facebook", value: "#3b5998" },
|
||||
]);
|
||||
addDecorator(
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced', default: true },
|
||||
{ name: 'facebook', value: '#3b5998' },
|
||||
])
|
||||
);
|
||||
```
|
||||
|
||||
If you want to override backgrounds for a single story or group of stories, pass the `backgrounds` parameter:
|
||||
|
||||
```js
|
||||
import React from 'react';
|
||||
import { storiesOf } from "@storybook/react";
|
||||
import { storiesOf } from '@storybook/react';
|
||||
|
||||
import { backgrounds } from "./my-lib";
|
||||
|
||||
storiesOf("Button", module)
|
||||
.addDecorator(backgrounds)
|
||||
.add("with text", () => <button>Click me</button>);
|
||||
storiesOf('Button', module)
|
||||
.addParameters({
|
||||
backgrounds: [
|
||||
{ name: 'red', value: '#F44336' },
|
||||
{ name: 'blue', value: '#2196F3', default: true },
|
||||
],
|
||||
})
|
||||
.add('with text', () => <button>Click me</button>);
|
||||
```
|
||||
|
||||
If you don't want to use backgrounds for a story, you can set the `backgrounds` parameter to `[]`, or use `{ disable: true }` to skip the addon:
|
||||
|
||||
```js
|
||||
import React from 'react';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
|
||||
storiesOf('Button', module).add('with text', () => <button>Click me</button>, {
|
||||
backgrounds: { disable: true },
|
||||
});
|
||||
```
|
||||
|
@ -48,10 +48,10 @@ const defaultBackground = {
|
||||
|
||||
const instructionsHtml = `
|
||||
import { storiesOf } from "@storybook/react";
|
||||
import backgrounds from "@storybook/addon-backgrounds";
|
||||
import { withBackgrounds } from "@storybook/addon-backgrounds";
|
||||
|
||||
storiesOf("First Component", module)
|
||||
.addDecorator(backgrounds([
|
||||
.addDecorator(withBackgrounds([
|
||||
{ name: "twitter", value: "#00aced" },
|
||||
{ name: "facebook", value: "#3b5998" },
|
||||
]))
|
||||
|
@ -1,5 +1,6 @@
|
||||
import addons from '@storybook/addons';
|
||||
import addons, { makeDecorator } from '@storybook/addons';
|
||||
import CoreEvents from '@storybook/core-events';
|
||||
import deprecate from 'util-deprecate';
|
||||
|
||||
import Events from './events';
|
||||
|
||||
@ -10,11 +11,28 @@ const subscription = () => () => {
|
||||
addons.getChannel().emit(Events.UNSET);
|
||||
};
|
||||
|
||||
export default backgrounds => story => {
|
||||
if (prevBackgrounds !== backgrounds) {
|
||||
addons.getChannel().emit(Events.SET, backgrounds);
|
||||
prevBackgrounds = backgrounds;
|
||||
}
|
||||
addons.getChannel().emit(CoreEvents.REGISTER_SUBSCRIPTION, subscription);
|
||||
return story();
|
||||
};
|
||||
export const withBackgrounds = makeDecorator({
|
||||
name: 'backgrounds',
|
||||
parameterName: 'backgrounds',
|
||||
skipIfNoParametersOrOptions: true,
|
||||
wrapper: (getStory, context, { options, parameters }) => {
|
||||
const backgrounds = parameters || options;
|
||||
|
||||
if (backgrounds.length === 0) {
|
||||
return getStory(context);
|
||||
}
|
||||
|
||||
if (prevBackgrounds !== backgrounds) {
|
||||
addons.getChannel().emit(Events.SET, backgrounds);
|
||||
prevBackgrounds = backgrounds;
|
||||
}
|
||||
addons.getChannel().emit(CoreEvents.REGISTER_SUBSCRIPTION, subscription);
|
||||
|
||||
return getStory(context);
|
||||
},
|
||||
});
|
||||
|
||||
export default deprecate(
|
||||
withBackgrounds,
|
||||
'The default export of @storybook/addon-backgrounds is deprecated, please `import { withBackgrounds }` instead'
|
||||
);
|
||||
|
@ -208,7 +208,7 @@ setDefaults({
|
||||
header: false, // Toggles display of header with component name and description
|
||||
inline: true, // Displays info inline vs click button to view
|
||||
source: true, // Displays the source of story Component
|
||||
propTables: [/* Components used in story */], // displays Prop Tables with this components
|
||||
propTables: [/* Components used in story */], // displays Prop Tables with these components
|
||||
propTablesExclude: [], // Exclude Components from being shown in Prop Tables section. Accepts an array of component classes or functions.
|
||||
styles: {}, // Overrides styles of addon. The object should follow this shape: https://github.com/storybooks/storybook/blob/master/addons/info/src/components/Story.js#L19. This prop can also accept a function which has the default stylesheet passed as an argument.
|
||||
components: {}, // Overrides components used to display markdown
|
||||
|
@ -17,7 +17,7 @@
|
||||
"@storybook/client-logger": "4.0.0-alpha.8",
|
||||
"@storybook/components": "4.0.0-alpha.8",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"core-js": "2.5.6",
|
||||
"core-js": "2.5.7",
|
||||
"emotion": "^9.1.3",
|
||||
"global": "^4.3.2",
|
||||
"marksy": "^6.0.3",
|
||||
@ -28,7 +28,7 @@
|
||||
"react-lifecycles-compat": "^3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"react-test-renderer": "^16.3.2"
|
||||
"react-test-renderer": "^16.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "*"
|
||||
|
@ -22,7 +22,7 @@
|
||||
"babel-runtime": "^6.26.0",
|
||||
"glob": "^7.1.2",
|
||||
"global": "^4.3.2",
|
||||
"jest-image-snapshot": "^2.4.1",
|
||||
"jest-image-snapshot": "^2.4.2",
|
||||
"jest-specific-snapshot": "^0.5.0",
|
||||
"puppeteer": "^1.4.0",
|
||||
"read-pkg-up": "^3.0.0"
|
||||
@ -33,7 +33,7 @@
|
||||
"@storybook/addons": "4.0.0-alpha.8",
|
||||
"@storybook/react": "4.0.0-alpha.8",
|
||||
"enzyme-to-json": "^3.3.4",
|
||||
"react": "^16.3.2"
|
||||
"react": "^16.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"babel-core": "^6.26.0 || ^7.0.0-0"
|
||||
|
@ -25,7 +25,7 @@
|
||||
"babel-runtime": "^6.26.0",
|
||||
"estraverse": "^4.2.0",
|
||||
"loader-utils": "^1.1.0",
|
||||
"prettier": "^1.12.1",
|
||||
"prettier": "~1.12.1",
|
||||
"prop-types": "^15.6.1",
|
||||
"react-syntax-highlighter": "^7.0.4"
|
||||
},
|
||||
|
@ -26,7 +26,7 @@
|
||||
"@storybook/node-logger": "4.0.0-alpha.8",
|
||||
"angular2-template-loader": "^0.6.2",
|
||||
"babel-runtime": "^6.23.0",
|
||||
"core-js": "^2.5.6",
|
||||
"core-js": "^2.5.7",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.0",
|
||||
"react-dom": "^16.4.0",
|
||||
|
@ -22,7 +22,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.0.0-alpha.8",
|
||||
"common-tags": "^1.4.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"html-loader": "^0.5.5",
|
||||
"react": "^16.4.0",
|
||||
|
@ -23,7 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.0.0-alpha.8",
|
||||
"common-tags": "^1.7.2",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"marko-loader": "^1.3.3",
|
||||
"raw-loader": "^0.5.1",
|
||||
|
@ -23,7 +23,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.0.0-alpha.8",
|
||||
"common-tags": "^1.7.2",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.0",
|
||||
"react-dom": "^16.4.0"
|
||||
|
@ -24,7 +24,7 @@
|
||||
"@storybook/core": "4.0.0-alpha.8",
|
||||
"@webcomponents/webcomponentsjs": "^1.2.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"common-tags": "^1.4.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.0",
|
||||
"react-dom": "^16.4.0"
|
||||
|
@ -60,7 +60,7 @@
|
||||
"shelljs": "^0.8.2",
|
||||
"url-parse": "^1.4.0",
|
||||
"uuid": "^3.2.1",
|
||||
"webpack": "^4.8.3",
|
||||
"webpack": "^4.9.2",
|
||||
"webpack-dev-middleware": "^3.1.3",
|
||||
"webpack-hot-middleware": "^2.22.2",
|
||||
"ws": "^5.2.0"
|
||||
|
@ -107,7 +107,7 @@ First follow the instructions [here](https://github.com/ds300/react-native-types
|
||||
Now update your storybook `package.json` script to the following
|
||||
|
||||
"scripts": {
|
||||
"storybook": "storybook --metro-config $PWD/rn-cli.config.js"
|
||||
"storybook": "storybook start -p 7007 --metro-config $PWD/rn-cli.config.js"
|
||||
}
|
||||
|
||||
The metro bundler requires an absolute path to the config. The above setup assumes the `rn-cli.config.js` is in the root of your project or next to your `package.json`
|
||||
@ -149,6 +149,28 @@ The following parameters can be passed to the start command:
|
||||
Override the root(s) to be used by the packager
|
||||
```
|
||||
|
||||
## getStorybookUI Options
|
||||
|
||||
You can pass these parameters to getStorybookUI call in your storybook entry point:
|
||||
|
||||
```
|
||||
{
|
||||
onDeviceUI: Boolean (false)
|
||||
-- display stories list on the device
|
||||
disableWebsockets: Boolean (false)
|
||||
-- allows to display stories without running storybook server. Should be used with onDeviceUI
|
||||
secured: Boolean (false)
|
||||
-- use wss/https instead of ws/http
|
||||
host: String (NativeModules.SourceCode.scriptURL)
|
||||
-- host to use
|
||||
port: Number (7007)
|
||||
-- port to use
|
||||
query: String ("")
|
||||
-- additional query string to pass to websockets
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Learn More
|
||||
|
||||
Check the `docs` directory in this repo for more advanced setup guides and other info.
|
||||
|
2
app/react-native/src/preview/index.js
vendored
2
app/react-native/src/preview/index.js
vendored
@ -51,7 +51,7 @@ export default class Preview {
|
||||
}
|
||||
|
||||
if (!channel || params.resetStorybook) {
|
||||
if (params.onDeviceUI && !params.useWebsockets) {
|
||||
if (params.onDeviceUI && params.disableWebsockets) {
|
||||
channel = new EventEmitter();
|
||||
} else {
|
||||
const host = params.host || parse(NativeModules.SourceCode.scriptURL).hostname;
|
||||
|
@ -26,7 +26,7 @@
|
||||
"@storybook/react-dev-utils": "^5.0.0",
|
||||
"babel-plugin-react-docgen": "^2.0.0-rc.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"common-tags": "^1.7.2",
|
||||
"common-tags": "^1.8.0",
|
||||
"emotion": "^9.1.3",
|
||||
"global": "^4.3.2",
|
||||
"lodash.flattendeep": "^4.4.0",
|
||||
|
@ -23,19 +23,19 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "4.0.0-alpha.8",
|
||||
"common-tags": "^1.7.2",
|
||||
"common-tags": "^1.8.0",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.4.0",
|
||||
"react-dom": "^16.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vue": "^2.5.16",
|
||||
"vue-loader": "^14.2.2",
|
||||
"vue-loader": "^14.2.3",
|
||||
"vue-template-compiler": "^2.5.16"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "2.5.16",
|
||||
"vue-loader": "14.2.2",
|
||||
"vue-loader": "14.2.3",
|
||||
"vue-template-compiler": "2.5.16"
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":6,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTotalTestSuites":2,"numTotalTests":6,"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeys":[],"unmatched":0,"updated":0},"startTime":1527433445200,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should create the app","location":null,"status":"passed","title":"should create the app"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should have as title 'app'","location":null,"status":"passed","title":"should have as title 'app'"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should render title in a h1 tag","location":null,"status":"passed","title":"should render title in a h1 tag"}],"endTime":1527433449835,"message":"","name":"/Users/jetbrains/IdeaProjects/storybook/examples/angular-cli/src/app/app.component.spec.ts","startTime":1527433446968,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should create the app","location":null,"status":"passed","title":"should create the app"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should have as title 'app'","location":null,"status":"passed","title":"should have as title 'app'"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should render title in a h1 tag","location":null,"status":"passed","title":"should render title in a h1 tag"}],"endTime":1527433449838,"message":"","name":"/Users/jetbrains/IdeaProjects/storybook/examples/angular-cli/dist/app/app.component.spec.ts","startTime":1527433446974,"status":"passed","summary":""}],"wasInterrupted":false}
|
||||
{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":6,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTotalTestSuites":2,"numTotalTests":6,"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeys":[],"unmatched":0,"updated":0},"startTime":1527637782576,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should create the app","location":null,"status":"passed","title":"should create the app"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should have as title 'app'","location":null,"status":"passed","title":"should have as title 'app'"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should render title in a h1 tag","location":null,"status":"passed","title":"should render title in a h1 tag"}],"endTime":1527637787074,"message":"","name":"/Users/jetbrains/IdeaProjects/storybook/examples/angular-cli/dist/app/app.component.spec.ts","startTime":1527637783974,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should create the app","location":null,"status":"passed","title":"should create the app"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should have as title 'app'","location":null,"status":"passed","title":"should have as title 'app'"},{"ancestorTitles":["AppComponent"],"failureMessages":[],"fullName":"AppComponent should render title in a h1 tag","location":null,"status":"passed","title":"should render title in a h1 tag"}],"endTime":1527637787196,"message":"","name":"/Users/jetbrains/IdeaProjects/storybook/examples/angular-cli/src/app/app.component.spec.ts","startTime":1527637783968,"status":"passed","summary":""}],"wasInterrupted":false}
|
@ -45,8 +45,8 @@
|
||||
"@angular/platform-browser": "^5.2.11",
|
||||
"@angular/platform-browser-dynamic": "^5.2.11",
|
||||
"@ngrx/store": "^5.2.0",
|
||||
"core-js": "^2.5.6",
|
||||
"rxjs": "^5.5.10",
|
||||
"core-js": "^2.5.7",
|
||||
"rxjs": "^5.5.11",
|
||||
"zone.js": "^0.8.26"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -75,7 +75,7 @@
|
||||
"jest": "^22.4.4",
|
||||
"jest-preset-angular": "^5.2.2",
|
||||
"protractor": "~5.3.2",
|
||||
"ts-node": "~6.0.3",
|
||||
"ts-node": "~6.0.5",
|
||||
"typescript": "^2.8.3"
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
import { moduleMetadata, storiesOf } from '@storybook/angular';
|
||||
import { Button } from '@storybook/angular/demo';
|
||||
import backgrounds from '@storybook/addon-backgrounds';
|
||||
import { withBackgrounds } from '@storybook/addon-backgrounds';
|
||||
import { AppComponent } from '../app/app.component';
|
||||
|
||||
storiesOf('Addon|Background', module)
|
||||
.addDecorator(
|
||||
backgrounds([
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced', default: true },
|
||||
{ name: 'facebook', value: '#3b5998' },
|
||||
])
|
||||
@ -22,7 +22,7 @@ storiesOf('Addon|Background', module)
|
||||
})
|
||||
)
|
||||
.addDecorator(
|
||||
backgrounds([
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced', default: true },
|
||||
{ name: 'facebook', value: '#3b5998' },
|
||||
])
|
||||
|
@ -13,8 +13,8 @@
|
||||
"dependencies": {
|
||||
"global": "^4.3.2",
|
||||
"prop-types": "^15.6.1",
|
||||
"react": "^16.3.2",
|
||||
"react-dom": "^16.3.2",
|
||||
"react": "^16.4.0",
|
||||
"react-dom": "^16.4.0",
|
||||
"react-lifecycles-compat": "^3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -39,6 +39,6 @@
|
||||
"enzyme-to-json": "^3.3.4",
|
||||
"jest": "^20.0.4",
|
||||
"react-scripts": "^1.1.4",
|
||||
"webpack": "^4.8.3"
|
||||
"webpack": "^4.9.2"
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { storiesOf } from '@storybook/html';
|
||||
|
||||
import backgrounds from '@storybook/addon-backgrounds';
|
||||
import { withBackgrounds } from '@storybook/addon-backgrounds';
|
||||
|
||||
storiesOf('Addons|Backgrounds', module)
|
||||
.addDecorator(
|
||||
backgrounds([
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced' },
|
||||
{ name: 'facebook', value: '#3b5998', default: true },
|
||||
])
|
||||
|
@ -35,7 +35,7 @@
|
||||
"*.marko.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"marko": "^4",
|
||||
"marko": "^4.10.0",
|
||||
"marko-starter": "^1.0.0",
|
||||
"marko-widgets": "^7"
|
||||
},
|
||||
@ -50,7 +50,7 @@
|
||||
"eslint": "^4.2.0",
|
||||
"eslint-config-prettier": "^2.3.0",
|
||||
"eslint-plugin-prettier": "^2.1.2",
|
||||
"prettier": "^1.5.2",
|
||||
"webpack": "^4.8.3"
|
||||
"prettier": "^1.13.0",
|
||||
"webpack": "^4.9.2"
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,6 @@
|
||||
"@storybook/mithril": "4.0.0-alpha.8",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-plugin-transform-react-jsx": "^6.24.1",
|
||||
"webpack": "^4.8.3"
|
||||
"webpack": "^4.9.2"
|
||||
}
|
||||
}
|
||||
|
@ -4,12 +4,12 @@ import m from 'mithril';
|
||||
|
||||
import { storiesOf } from '@storybook/mithril';
|
||||
|
||||
import backgrounds from '@storybook/addon-backgrounds';
|
||||
import { withBackgrounds } from '@storybook/addon-backgrounds';
|
||||
import BaseButton from '../BaseButton';
|
||||
|
||||
storiesOf('Addons|Backgrounds', module)
|
||||
.addDecorator(
|
||||
backgrounds([
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced' },
|
||||
{ name: 'facebook', value: '#3b5998', default: true },
|
||||
])
|
||||
|
@ -45,11 +45,11 @@
|
||||
"graphql": "^0.13.2",
|
||||
"paths.macro": "^2.0.2",
|
||||
"prop-types": "^15.6.1",
|
||||
"react": "^16.3.2",
|
||||
"react": "^16.4.0",
|
||||
"react-chromatic": "^0.8.3",
|
||||
"react-dom": "^16.3.2",
|
||||
"react-dom": "^16.4.0",
|
||||
"react-emotion": "^9.1.3",
|
||||
"uuid": "^3.2.1",
|
||||
"webpack": "^4.8.3"
|
||||
"webpack": "^4.9.2"
|
||||
}
|
||||
}
|
||||
|
@ -17,3 +17,33 @@ exports[`Storyshots Addons|Backgrounds story 2 1`] = `
|
||||
This one too!
|
||||
</button>
|
||||
`;
|
||||
|
||||
exports[`Storyshots Addons|Backgrounds, parameters disabled via [] 1`] = `
|
||||
<button>
|
||||
This one should not use backgrounds
|
||||
</button>
|
||||
`;
|
||||
|
||||
exports[`Storyshots Addons|Backgrounds, parameters overriden 1`] = `
|
||||
<button>
|
||||
This one should have different backgrounds
|
||||
</button>
|
||||
`;
|
||||
|
||||
exports[`Storyshots Addons|Backgrounds, parameters skipped via disable:true 1`] = `
|
||||
<button>
|
||||
This one should not use backgrounds either
|
||||
</button>
|
||||
`;
|
||||
|
||||
exports[`Storyshots Addons|Backgrounds, parameters story 1 1`] = `
|
||||
<button>
|
||||
You should be able to switch backgrounds for this story
|
||||
</button>
|
||||
`;
|
||||
|
||||
exports[`Storyshots Addons|Backgrounds, parameters story 2 1`] = `
|
||||
<button>
|
||||
This one too!
|
||||
</button>
|
||||
`;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
|
||||
import backgrounds from '@storybook/addon-backgrounds';
|
||||
import backgrounds, { withBackgrounds } from '@storybook/addon-backgrounds';
|
||||
import BaseButton from '../components/BaseButton';
|
||||
|
||||
storiesOf('Addons|Backgrounds', module)
|
||||
@ -15,9 +15,39 @@ storiesOf('Addons|Backgrounds', module)
|
||||
<BaseButton label="You should be able to switch backgrounds for this story" />
|
||||
))
|
||||
.add('story 2', () => <BaseButton label="This one too!" />)
|
||||
.add('overriden', () =>
|
||||
.add(
|
||||
'overriden',
|
||||
backgrounds([
|
||||
{ name: 'red', value: '#F44336' },
|
||||
{ name: 'blue', value: '#2196F3', default: true },
|
||||
])(() => <BaseButton label="This one should have different backgrounds" />)
|
||||
);
|
||||
|
||||
storiesOf('Addons|Backgrounds, parameters', module)
|
||||
.addDecorator(withBackgrounds)
|
||||
.addParameters({
|
||||
backgrounds: [
|
||||
{ name: 'twitter', value: '#00aced' },
|
||||
{ name: 'facebook', value: '#3b5998', default: true },
|
||||
],
|
||||
})
|
||||
.add('story 1', () => (
|
||||
<BaseButton label="You should be able to switch backgrounds for this story" />
|
||||
))
|
||||
.add('story 2', () => <BaseButton label="This one too!" />)
|
||||
.add('overriden', () => <BaseButton label="This one should have different backgrounds" />, {
|
||||
backgrounds: [
|
||||
{ name: 'red', value: '#F44336' },
|
||||
{ name: 'blue', value: '#2196F3', default: true },
|
||||
],
|
||||
})
|
||||
.add('disabled via []', () => <BaseButton label="This one should not use backgrounds" />, {
|
||||
backgrounds: [],
|
||||
})
|
||||
.add(
|
||||
'skipped via disable:true',
|
||||
() => <BaseButton label="This one should not use backgrounds either" />,
|
||||
{
|
||||
backgrounds: { disable: true },
|
||||
}
|
||||
);
|
||||
|
@ -21,7 +21,7 @@
|
||||
"global": "^4.3.2",
|
||||
"lit-html": "^0.10.0",
|
||||
"polymer-webpack-loader": "^2.0.2",
|
||||
"webpack": "^4.8.3"
|
||||
"webpack": "^4.9.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.26.3",
|
||||
|
@ -29,11 +29,11 @@
|
||||
"babel-loader": "^7.1.4",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-vue": "^2.0.2",
|
||||
"cross-env": "^5.1.5",
|
||||
"cross-env": "^5.1.6",
|
||||
"file-loader": "^1.1.11",
|
||||
"svg-url-loader": "^2.3.2",
|
||||
"vue-loader": "^14.2.2",
|
||||
"webpack": "^4.8.3",
|
||||
"vue-loader": "^14.2.3",
|
||||
"webpack": "^4.9.2",
|
||||
"webpack-dev-server": "^3.1.4"
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { storiesOf } from '@storybook/vue';
|
||||
import backgrounds from '@storybook/addon-backgrounds';
|
||||
import { withBackgrounds } from '@storybook/addon-backgrounds';
|
||||
|
||||
storiesOf('Addon|Backgrounds', module)
|
||||
.addDecorator(
|
||||
backgrounds([
|
||||
withBackgrounds([
|
||||
{ name: 'twitter', value: '#00aced' },
|
||||
{ name: 'facebook', value: '#3b5998', default: true },
|
||||
])
|
||||
|
@ -19,6 +19,10 @@ export const makeDecorator = ({
|
||||
const decorator = options => (getStory, context) => {
|
||||
const parameters = context.parameters && context.parameters[parameterName];
|
||||
|
||||
if (parameters && parameters.disable) {
|
||||
return getStory(context);
|
||||
}
|
||||
|
||||
if (skipIfNoParametersOrOptions && !options && !parameters) {
|
||||
return getStory(context);
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ describe('makeDecorator', () => {
|
||||
expect(wrapper).toHaveBeenCalledWith(expect.any(Function), context, {});
|
||||
});
|
||||
|
||||
it('calls the story directly if neither are supplied and skipIfNoParametersOrOptions is true', () => {
|
||||
it('calls the story directly if neither options or parameters are supplied and skipIfNoParametersOrOptions is true', () => {
|
||||
const wrapper = jest.fn();
|
||||
const decorator = makeDecorator({
|
||||
wrapper,
|
||||
@ -85,6 +85,24 @@ describe('makeDecorator', () => {
|
||||
expect(story).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('calls the story directly if the disable parameter is passed to the decorator', () => {
|
||||
const wrapper = jest.fn();
|
||||
const decorator = makeDecorator({
|
||||
wrapper,
|
||||
name: 'test',
|
||||
parameterName: 'test',
|
||||
skipIfNoParametersOrOptions: true,
|
||||
});
|
||||
const story = jest.fn();
|
||||
const decoratedStory = defaultDecorateStory(story, [decorator]);
|
||||
|
||||
const context = { disable: true };
|
||||
decoratedStory(context);
|
||||
|
||||
expect(wrapper).not.toHaveBeenCalled();
|
||||
expect(story).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('passes options added at story time, but with a deprecation warning', () => {
|
||||
deprecatedFns = [];
|
||||
const wrapper = jest.fn();
|
||||
|
@ -23,8 +23,8 @@
|
||||
"@storybook/node-logger": "4.0.0-alpha.8",
|
||||
"@storybook/react-dev-utils": "^5.0.0",
|
||||
"@storybook/ui": "4.0.0-alpha.8",
|
||||
"airbnb-js-shims": "^1.5.1",
|
||||
"autoprefixer": "^8.5.0",
|
||||
"airbnb-js-shims": "^1.5.2",
|
||||
"autoprefixer": "^8.5.1",
|
||||
"babel-loader": "^7.1.4",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"babel-plugin-macros": "^2.2.1",
|
||||
@ -33,7 +33,7 @@
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-minify": "0.4.1",
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"case-sensitive-paths-webpack-plugin":"^2.1.2",
|
||||
"case-sensitive-paths-webpack-plugin": "^2.1.2",
|
||||
"chalk": "^2.4.1",
|
||||
"commander": "^2.15.1",
|
||||
"core-js": "^2.5.7",
|
||||
@ -59,7 +59,7 @@
|
||||
"style-loader": "^0.21.0",
|
||||
"svg-url-loader": "^2.3.2",
|
||||
"url-loader": "^1.0.1",
|
||||
"webpack": "^4.8.3",
|
||||
"webpack": "^4.9.2",
|
||||
"webpack-dev-middleware": "^3.1.3",
|
||||
"webpack-hot-middleware": "^2.22.2"
|
||||
},
|
||||
|
@ -23,7 +23,7 @@
|
||||
"babel-runtime": "^6.26.0",
|
||||
"deep-equal": "^1.0.1",
|
||||
"emotion": "^9.1.3",
|
||||
"events": "^2.0.0",
|
||||
"events": "^2.1.0",
|
||||
"fuse.js": "^3.2.0",
|
||||
"global": "^4.3.2",
|
||||
"keycode": "^2.2.0",
|
||||
|
16
package.json
16
package.json
@ -59,7 +59,7 @@
|
||||
"codelyzer": "^4.3.0",
|
||||
"commander": "^2.15.1",
|
||||
"concurrently": "^3.5.1",
|
||||
"cross-env": "^5.1.5",
|
||||
"cross-env": "^5.1.6",
|
||||
"danger": "^3.7.14",
|
||||
"emotion": "^9.1.3",
|
||||
"emotion-theming": "^9.1.2",
|
||||
@ -69,7 +69,7 @@
|
||||
"eslint-config-airbnb": "^16.1.0",
|
||||
"eslint-config-prettier": "^2.9.0",
|
||||
"eslint-plugin-import": "^2.12.0",
|
||||
"eslint-plugin-jest": "^21.15.1",
|
||||
"eslint-plugin-jest": "^21.17.0",
|
||||
"eslint-plugin-json": "^1.2.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.0.3",
|
||||
"eslint-plugin-prettier": "^2.6.0",
|
||||
@ -85,9 +85,9 @@
|
||||
"jest-diff": "^22.4.3",
|
||||
"jest-emotion": "^9.1.3",
|
||||
"jest-environment-jsdom": "^22.4.3",
|
||||
"jest-enzyme": "^6.0.0",
|
||||
"jest-enzyme": "^6.0.1",
|
||||
"jest-glamor-react": "^4.3.0",
|
||||
"jest-image-snapshot": "^2.4.1",
|
||||
"jest-image-snapshot": "^2.4.2",
|
||||
"jest-jasmine2": "^22.4.4",
|
||||
"jest-preset-angular": "^5.2.2",
|
||||
"jest-teamcity-reporter": "^0.9.0",
|
||||
@ -97,11 +97,11 @@
|
||||
"lodash": "^4.17.10",
|
||||
"npmlog": "^4.1.2",
|
||||
"polymer-webpack-loader": "^2.0.2",
|
||||
"prettier": "^1.12.1",
|
||||
"prettier": "^1.13.0",
|
||||
"raf": "^3.4.0",
|
||||
"react": "^16.3.2",
|
||||
"react-dom": "^16.3.2",
|
||||
"react-test-renderer": "^16.3.2",
|
||||
"react": "^16.4.0",
|
||||
"react-dom": "^16.4.0",
|
||||
"react-test-renderer": "^16.4.0",
|
||||
"remark-cli": "^5.0.0",
|
||||
"remark-lint": "^6.0.1",
|
||||
"remark-preset-lint-recommended": "^3.0.1",
|
||||
|
411
yarn.lock
411
yarn.lock
@ -478,120 +478,131 @@
|
||||
version "2.53.43"
|
||||
resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-2.53.43.tgz#2de3d718819bc20165754c4a59afb7e9833f6707"
|
||||
|
||||
"@webassemblyjs/ast@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.4.3.tgz#3b3f6fced944d8660273347533e6d4d315b5934a"
|
||||
"@webassemblyjs/ast@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.5.8.tgz#f75ac7e7602b7833abd5d53951baae8a07ebb5df"
|
||||
dependencies:
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.4.3"
|
||||
"@webassemblyjs/wast-parser" "1.4.3"
|
||||
"@webassemblyjs/helper-module-context" "1.5.8"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.5.8"
|
||||
"@webassemblyjs/wast-parser" "1.5.8"
|
||||
debug "^3.1.0"
|
||||
webassemblyjs "1.4.3"
|
||||
mamacro "^0.0.3"
|
||||
|
||||
"@webassemblyjs/floating-point-hex-parser@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.4.3.tgz#f5aee4c376a717c74264d7bacada981e7e44faad"
|
||||
"@webassemblyjs/floating-point-hex-parser@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.5.8.tgz#e0604d34fab0c910e16113720a5a3c01f558fa54"
|
||||
|
||||
"@webassemblyjs/helper-buffer@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.4.3.tgz#0434b55958519bf503697d3824857b1dea80b729"
|
||||
"@webassemblyjs/helper-api-error@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.5.8.tgz#f5570aff60090fae1b78a690a95d04cb021da9ca"
|
||||
|
||||
"@webassemblyjs/helper-buffer@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.5.8.tgz#b1405e819a2c537964682fb70551796ab9602632"
|
||||
dependencies:
|
||||
debug "^3.1.0"
|
||||
|
||||
"@webassemblyjs/helper-code-frame@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.4.3.tgz#f1349ca3e01a8e29ee2098c770773ef97af43641"
|
||||
"@webassemblyjs/helper-code-frame@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.5.8.tgz#6439de475720198a48fa8b4c38e41987798f73cc"
|
||||
dependencies:
|
||||
"@webassemblyjs/wast-printer" "1.4.3"
|
||||
"@webassemblyjs/wast-printer" "1.5.8"
|
||||
|
||||
"@webassemblyjs/helper-fsm@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.4.3.tgz#65a921db48fb43e868f17b27497870bdcae22b79"
|
||||
"@webassemblyjs/helper-fsm@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.5.8.tgz#6169af3c9530cf9e89a8f3cf2970ed70e650ae4f"
|
||||
|
||||
"@webassemblyjs/helper-wasm-bytecode@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.4.3.tgz#0e5b4b5418e33f8a26e940b7809862828c3721a5"
|
||||
"@webassemblyjs/helper-module-context@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.5.8.tgz#73d0de45cebb774d465b5a66fef061f834d6c23c"
|
||||
|
||||
"@webassemblyjs/helper-wasm-section@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.4.3.tgz#9ceedd53a3f152c3412e072887ade668d0b1acbf"
|
||||
"@webassemblyjs/helper-wasm-bytecode@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.5.8.tgz#60df17f72d12b07e1398756e6ebfe59c03ab2e1a"
|
||||
|
||||
"@webassemblyjs/helper-wasm-section@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.5.8.tgz#cda7fdb6f3b7b0d215c8f92b7435d47726822f49"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/helper-buffer" "1.4.3"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.4.3"
|
||||
"@webassemblyjs/wasm-gen" "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/helper-buffer" "1.5.8"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.5.8"
|
||||
"@webassemblyjs/wasm-gen" "1.5.8"
|
||||
debug "^3.1.0"
|
||||
|
||||
"@webassemblyjs/leb128@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.4.3.tgz#5a5e5949dbb5adfe3ae95664d0439927ac557fb8"
|
||||
"@webassemblyjs/ieee754@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.5.8.tgz#29383c7172e90121613d5614d532f22c19255c3b"
|
||||
dependencies:
|
||||
ieee754 "^1.1.11"
|
||||
|
||||
"@webassemblyjs/leb128@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.5.8.tgz#657c48ef2537ea2921e897a50157be700bf24eac"
|
||||
dependencies:
|
||||
leb "^0.3.0"
|
||||
|
||||
"@webassemblyjs/validation@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/validation/-/validation-1.4.3.tgz#9e66c9b3079d7bbcf2070c1bf52a54af2a09aac9"
|
||||
"@webassemblyjs/wasm-edit@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.5.8.tgz#592d3678894eaa2ee7e7c2c6a13c2a697db1aa7e"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
|
||||
"@webassemblyjs/wasm-edit@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.4.3.tgz#87febd565e0ffb5ae25f6495bb3958d17aa0a779"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/helper-buffer" "1.4.3"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.4.3"
|
||||
"@webassemblyjs/helper-wasm-section" "1.4.3"
|
||||
"@webassemblyjs/wasm-gen" "1.4.3"
|
||||
"@webassemblyjs/wasm-opt" "1.4.3"
|
||||
"@webassemblyjs/wasm-parser" "1.4.3"
|
||||
"@webassemblyjs/wast-printer" "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/helper-buffer" "1.5.8"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.5.8"
|
||||
"@webassemblyjs/helper-wasm-section" "1.5.8"
|
||||
"@webassemblyjs/wasm-gen" "1.5.8"
|
||||
"@webassemblyjs/wasm-opt" "1.5.8"
|
||||
"@webassemblyjs/wasm-parser" "1.5.8"
|
||||
"@webassemblyjs/wast-printer" "1.5.8"
|
||||
debug "^3.1.0"
|
||||
|
||||
"@webassemblyjs/wasm-gen@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.4.3.tgz#8553164d0154a6be8f74d653d7ab355f73240aa4"
|
||||
"@webassemblyjs/wasm-gen@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.5.8.tgz#e94e034a45227aaa7c481b25c1aa9a0a00ab9488"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.4.3"
|
||||
"@webassemblyjs/leb128" "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.5.8"
|
||||
"@webassemblyjs/ieee754" "1.5.8"
|
||||
"@webassemblyjs/leb128" "1.5.8"
|
||||
|
||||
"@webassemblyjs/wasm-opt@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.4.3.tgz#26c7a23bfb136aa405b1d3410e63408ec60894b8"
|
||||
"@webassemblyjs/wasm-opt@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.5.8.tgz#a3a0d00d98dee0f3cf2ae41084eb62715a39242c"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/helper-buffer" "1.4.3"
|
||||
"@webassemblyjs/wasm-gen" "1.4.3"
|
||||
"@webassemblyjs/wasm-parser" "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/helper-buffer" "1.5.8"
|
||||
"@webassemblyjs/wasm-gen" "1.5.8"
|
||||
"@webassemblyjs/wasm-parser" "1.5.8"
|
||||
debug "^3.1.0"
|
||||
|
||||
"@webassemblyjs/wasm-parser@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.4.3.tgz#7ddd3e408f8542647ed612019cfb780830993698"
|
||||
"@webassemblyjs/wasm-parser@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.5.8.tgz#a258a7fd15bd57597e4211d9068639807546555b"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.4.3"
|
||||
"@webassemblyjs/leb128" "1.4.3"
|
||||
"@webassemblyjs/wasm-parser" "1.4.3"
|
||||
webassemblyjs "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/helper-api-error" "1.5.8"
|
||||
"@webassemblyjs/helper-wasm-bytecode" "1.5.8"
|
||||
"@webassemblyjs/leb128" "1.5.8"
|
||||
"@webassemblyjs/wasm-parser" "1.5.8"
|
||||
|
||||
"@webassemblyjs/wast-parser@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.4.3.tgz#3250402e2c5ed53dbe2233c9de1fe1f9f0d51745"
|
||||
"@webassemblyjs/wast-parser@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.5.8.tgz#85705659e15d19b89af38a8d6803d720bb0493cf"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/floating-point-hex-parser" "1.4.3"
|
||||
"@webassemblyjs/helper-code-frame" "1.4.3"
|
||||
"@webassemblyjs/helper-fsm" "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/floating-point-hex-parser" "1.5.8"
|
||||
"@webassemblyjs/helper-api-error" "1.5.8"
|
||||
"@webassemblyjs/helper-code-frame" "1.5.8"
|
||||
"@webassemblyjs/helper-fsm" "1.5.8"
|
||||
long "^3.2.0"
|
||||
webassemblyjs "1.4.3"
|
||||
mamacro "^0.0.3"
|
||||
|
||||
"@webassemblyjs/wast-printer@1.4.3":
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.4.3.tgz#3d59aa8d0252d6814a3ef4e6d2a34c9ded3904e0"
|
||||
"@webassemblyjs/wast-printer@1.5.8":
|
||||
version "1.5.8"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.5.8.tgz#0f83aa67eddf377dd1d6205d4a4ac976db60e1f6"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/wast-parser" "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/wast-parser" "1.5.8"
|
||||
long "^3.2.0"
|
||||
|
||||
"@webcomponents/webcomponentsjs@^1.2.0":
|
||||
@ -752,9 +763,9 @@ agentkeepalive@^3.3.0:
|
||||
dependencies:
|
||||
humanize-ms "^1.2.1"
|
||||
|
||||
airbnb-js-shims@^1.5.1:
|
||||
version "1.5.1"
|
||||
resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-1.5.1.tgz#5d7614a76ca7bfdcfc3162eefe4011aff870aee8"
|
||||
airbnb-js-shims@^1.5.2:
|
||||
version "1.5.2"
|
||||
resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-1.5.2.tgz#25132bc99784ec702ac1e2467f043c82ca0bd170"
|
||||
dependencies:
|
||||
array-includes "^3.0.3"
|
||||
array.prototype.flat "^1.2.1"
|
||||
@ -1269,12 +1280,12 @@ autoprefixer@^7.2.3:
|
||||
postcss "^6.0.16"
|
||||
postcss-value-parser "^3.2.3"
|
||||
|
||||
autoprefixer@^8.5.0:
|
||||
version "8.5.0"
|
||||
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-8.5.0.tgz#89a39b1316fbe7bc2b4997a0c7dad0149d99511c"
|
||||
autoprefixer@^8.5.1:
|
||||
version "8.5.1"
|
||||
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-8.5.1.tgz#45b0271b0e634af66613d5a4f99d96f3dcd94474"
|
||||
dependencies:
|
||||
browserslist "^3.2.7"
|
||||
caniuse-lite "^1.0.30000839"
|
||||
browserslist "^3.2.8"
|
||||
caniuse-lite "^1.0.30000846"
|
||||
normalize-range "^0.1.2"
|
||||
num2fraction "^1.2.2"
|
||||
postcss "^6.0.22"
|
||||
@ -3268,12 +3279,12 @@ browserslist@^3.2.6:
|
||||
caniuse-lite "^1.0.30000830"
|
||||
electron-to-chromium "^1.3.42"
|
||||
|
||||
browserslist@^3.2.7:
|
||||
version "3.2.7"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.7.tgz#aa488634d320b55e88bab0256184dbbcca1e6de9"
|
||||
browserslist@^3.2.8:
|
||||
version "3.2.8"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6"
|
||||
dependencies:
|
||||
caniuse-lite "^1.0.30000835"
|
||||
electron-to-chromium "^1.3.45"
|
||||
caniuse-lite "^1.0.30000844"
|
||||
electron-to-chromium "^1.3.47"
|
||||
|
||||
bser@1.0.2:
|
||||
version "1.0.2"
|
||||
@ -3543,9 +3554,9 @@ caniuse-lite@^1.0.30000830:
|
||||
version "1.0.30000830"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000830.tgz#cb96b8a2dd3cbfe04acea2af3c4e894249095328"
|
||||
|
||||
caniuse-lite@^1.0.30000835, caniuse-lite@^1.0.30000839:
|
||||
version "1.0.30000842"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000842.tgz#7a198e3181a207f4b5749b8f5a1817685bf3d7df"
|
||||
caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000846:
|
||||
version "1.0.30000846"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000846.tgz#2092911eecad71a89dae1faa62bcc202fde7f959"
|
||||
|
||||
capture-stack-trace@^1.0.0:
|
||||
version "1.0.0"
|
||||
@ -4123,12 +4134,16 @@ commander@^2.15.1:
|
||||
version "2.15.1"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
|
||||
|
||||
common-tags@^1.3.1, common-tags@^1.4.0, common-tags@^1.7.2:
|
||||
common-tags@^1.3.1:
|
||||
version "1.7.2"
|
||||
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.7.2.tgz#24d9768c63d253a56ecff93845b44b4df1d52771"
|
||||
dependencies:
|
||||
babel-runtime "^6.26.0"
|
||||
|
||||
common-tags@^1.8.0:
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
|
||||
|
||||
commondir@0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/commondir/-/commondir-0.0.1.tgz#89f00fdcd51b519c578733fec563e6a6da7f5be2"
|
||||
@ -4602,9 +4617,9 @@ copy-webpack-plugin@~4.4.1:
|
||||
p-limit "^1.0.0"
|
||||
serialize-javascript "^1.4.0"
|
||||
|
||||
core-js@2.5.6, core-js@^2.5.6:
|
||||
version "2.5.6"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d"
|
||||
core-js@2.5.7, core-js@^2.5.7:
|
||||
version "2.5.7"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e"
|
||||
|
||||
core-js@^1.0.0:
|
||||
version "1.2.7"
|
||||
@ -4614,10 +4629,6 @@ core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0:
|
||||
version "2.5.3"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
|
||||
|
||||
core-js@^2.5.7:
|
||||
version "2.5.7"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e"
|
||||
|
||||
core-js@~2.3.0:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.3.0.tgz#fab83fbb0b2d8dc85fa636c4b9d34c75420c6d65"
|
||||
@ -4759,9 +4770,9 @@ create-react-class@^15.5.2, create-react-class@^15.6.2:
|
||||
loose-envify "^1.3.1"
|
||||
object-assign "^4.1.1"
|
||||
|
||||
cross-env@^5.1.5:
|
||||
version "5.1.5"
|
||||
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.5.tgz#31daf7f3a52ef337c8ddda585f08175cce5d1fa5"
|
||||
cross-env@^5.1.6:
|
||||
version "5.1.6"
|
||||
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.6.tgz#0dc05caf945b24e4b9e3b12871fe0e858d08b38d"
|
||||
dependencies:
|
||||
cross-spawn "^5.1.0"
|
||||
is-windows "^1.0.0"
|
||||
@ -5613,9 +5624,9 @@ electron-to-chromium@^1.3.42:
|
||||
version "1.3.44"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.44.tgz#ef6b150a60d523082388cadad88085ecd2fd4684"
|
||||
|
||||
electron-to-chromium@^1.3.45:
|
||||
version "1.3.47"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.47.tgz#764e887ca9104d01a0ac8eabee7dfc0e2ce14104"
|
||||
electron-to-chromium@^1.3.47:
|
||||
version "1.3.48"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.48.tgz#d3b0d8593814044e092ece2108fc3ac9aea4b900"
|
||||
|
||||
elegant-spinner@^1.0.1:
|
||||
version "1.0.1"
|
||||
@ -5779,9 +5790,9 @@ enzyme-adapter-utils@^1.3.0:
|
||||
object.assign "^4.0.4"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
enzyme-matchers@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-6.0.0.tgz#b88a28abad42ec69dc1bac7c67152dba2e157950"
|
||||
enzyme-matchers@^6.0.1:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/enzyme-matchers/-/enzyme-matchers-6.0.1.tgz#1ee6e8c7f59a46a1ab62d971e3afdb45b7fb3ea2"
|
||||
dependencies:
|
||||
circular-json-es6 "^2.0.1"
|
||||
deep-equal-ident "^1.1.1"
|
||||
@ -6083,9 +6094,9 @@ eslint-plugin-import@^2.12.0:
|
||||
read-pkg-up "^2.0.0"
|
||||
resolve "^1.6.0"
|
||||
|
||||
eslint-plugin-jest@^21.15.1:
|
||||
version "21.15.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.15.1.tgz#662a3f0888002878f0f388efd09c190a95c33d82"
|
||||
eslint-plugin-jest@^21.17.0:
|
||||
version "21.17.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.17.0.tgz#fdb00e2f9ff16987d6ebcf2c75c7add105760bbb"
|
||||
|
||||
eslint-plugin-json@^1.2.0:
|
||||
version "1.2.0"
|
||||
@ -6339,9 +6350,9 @@ events@^1.0.0, events@^1.0.2, events@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
|
||||
|
||||
events@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/events/-/events-2.0.0.tgz#cbbb56bf3ab1ac18d71c43bb32c86255062769f2"
|
||||
events@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/events/-/events-2.1.0.tgz#2a9a1e18e6106e0e812aa9ebd4a819b3c29c0ba5"
|
||||
|
||||
events@~1.0.0:
|
||||
version "1.0.2"
|
||||
@ -8297,6 +8308,10 @@ icss-utils@^2.1.0:
|
||||
dependencies:
|
||||
postcss "^6.0.1"
|
||||
|
||||
ieee754@^1.1.11:
|
||||
version "1.1.11"
|
||||
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.11.tgz#c16384ffe00f5b7835824e67b6f2bd44a5229455"
|
||||
|
||||
ieee754@^1.1.4:
|
||||
version "1.1.8"
|
||||
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4"
|
||||
@ -9320,9 +9335,9 @@ jest-emotion@^9.1.3:
|
||||
dependencies:
|
||||
css "^2.2.1"
|
||||
|
||||
jest-environment-enzyme@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/jest-environment-enzyme/-/jest-environment-enzyme-6.0.0.tgz#469ceaa0a21579af86cb01255f0591a3a5d95f40"
|
||||
jest-environment-enzyme@^6.0.1:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-environment-enzyme/-/jest-environment-enzyme-6.0.1.tgz#99f51d7f988918a963df2859b31e29696d7f6bed"
|
||||
dependencies:
|
||||
jest-environment-jsdom "^22.4.1"
|
||||
|
||||
@ -9364,13 +9379,13 @@ jest-environment-node@^22.4.1:
|
||||
jest-mock "^22.2.0"
|
||||
jest-util "^22.4.1"
|
||||
|
||||
jest-enzyme@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-6.0.0.tgz#518d4ecc5e32c8c1564b41b7bc83ea38667e8661"
|
||||
jest-enzyme@^6.0.1:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-enzyme/-/jest-enzyme-6.0.1.tgz#6963498f89550bf315b75011a0790c73df95860d"
|
||||
dependencies:
|
||||
enzyme-matchers "^6.0.0"
|
||||
enzyme-matchers "^6.0.1"
|
||||
enzyme-to-json "^3.3.0"
|
||||
jest-environment-enzyme "^6.0.0"
|
||||
jest-environment-enzyme "^6.0.1"
|
||||
|
||||
jest-get-type@^22.0.6:
|
||||
version "22.0.6"
|
||||
@ -9427,9 +9442,9 @@ jest-haste-map@^22.4.2:
|
||||
micromatch "^2.3.11"
|
||||
sane "^2.0.0"
|
||||
|
||||
jest-image-snapshot@^2.4.1:
|
||||
version "2.4.1"
|
||||
resolved "https://registry.yarnpkg.com/jest-image-snapshot/-/jest-image-snapshot-2.4.1.tgz#9da6a86515a9a6fec7c4964b7a6859cd366c6459"
|
||||
jest-image-snapshot@^2.4.2:
|
||||
version "2.4.2"
|
||||
resolved "https://registry.yarnpkg.com/jest-image-snapshot/-/jest-image-snapshot-2.4.2.tgz#a0d09cae2cd92b9030bdfb4cbf0f0d6a34631672"
|
||||
dependencies:
|
||||
chalk "^1.1.3"
|
||||
get-stdin "^5.0.1"
|
||||
@ -9967,6 +9982,10 @@ json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a"
|
||||
|
||||
json-parse-better-errors@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
|
||||
|
||||
json-schema-traverse@^0.3.0:
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340"
|
||||
@ -11042,6 +11061,10 @@ makeerror@1.0.x:
|
||||
dependencies:
|
||||
tmpl "1.0.x"
|
||||
|
||||
mamacro@^0.0.3:
|
||||
version "0.0.3"
|
||||
resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4"
|
||||
|
||||
map-cache@^0.2.2:
|
||||
version "0.2.2"
|
||||
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
|
||||
@ -11156,7 +11179,7 @@ marko-widgets@^7:
|
||||
raptor-dom "^1.1.0"
|
||||
raptor-renderer "^1.4.4"
|
||||
|
||||
marko@^4, marko@^4.1.1, marko@^4.2.8:
|
||||
marko@^4.1.1, marko@^4.2.8:
|
||||
version "4.9.7"
|
||||
resolved "https://registry.yarnpkg.com/marko/-/marko-4.9.7.tgz#5e8addbe715c578f645e8c1d930781bbd38f41eb"
|
||||
dependencies:
|
||||
@ -11192,6 +11215,42 @@ marko@^4, marko@^4.1.1, marko@^4.2.8:
|
||||
try-require "^1.2.1"
|
||||
warp10 "^1.0.0"
|
||||
|
||||
marko@^4.10.0:
|
||||
version "4.10.0"
|
||||
resolved "https://registry.yarnpkg.com/marko/-/marko-4.10.0.tgz#959870f015545e54cad19287c751d7206bb02124"
|
||||
dependencies:
|
||||
app-module-path "^2.2.0"
|
||||
argly "^1.0.0"
|
||||
browser-refresh-client "^1.0.0"
|
||||
char-props "~0.1.5"
|
||||
complain "^1.2.0"
|
||||
deresolve "^1.1.2"
|
||||
escodegen "^1.8.1"
|
||||
esprima "^4.0.0"
|
||||
estraverse "^4.2.0"
|
||||
events "^1.0.2"
|
||||
events-light "^1.0.0"
|
||||
he "^1.1.0"
|
||||
htmljs-parser "^2.3.2"
|
||||
lasso-caching-fs "^1.0.1"
|
||||
lasso-modules-client "^2.0.4"
|
||||
lasso-package-root "^1.0.1"
|
||||
listener-tracker "^2.0.0"
|
||||
minimatch "^3.0.2"
|
||||
object-assign "^4.1.0"
|
||||
property-handlers "^1.0.0"
|
||||
raptor-json "^1.0.1"
|
||||
raptor-polyfill "^1.0.0"
|
||||
raptor-promises "^1.0.1"
|
||||
raptor-regexp "^1.0.0"
|
||||
raptor-util "^3.2.0"
|
||||
resolve-from "^2.0.0"
|
||||
shorthash "0.0.2"
|
||||
simple-sha1 "^2.1.0"
|
||||
strip-json-comments "^2.0.1"
|
||||
try-require "^1.2.1"
|
||||
warp10 "^1.0.0"
|
||||
|
||||
marksy@^6.0.3:
|
||||
version "6.0.3"
|
||||
resolved "https://registry.yarnpkg.com/marksy/-/marksy-6.0.3.tgz#6079076e8689b563b61be058942090c7ba1f5d20"
|
||||
@ -13344,14 +13403,18 @@ preserve@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
|
||||
|
||||
prettier@^1.12.1, prettier@^1.5.2:
|
||||
version "1.12.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.12.1.tgz#c1ad20e803e7749faf905a409d2367e06bbe7325"
|
||||
prettier@^1.13.0:
|
||||
version "1.13.2"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.2.tgz#412b87bc561cb11074d2877a33a38f78c2303cda"
|
||||
|
||||
prettier@^1.7.0:
|
||||
version "1.10.2"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93"
|
||||
|
||||
prettier@~1.12.1:
|
||||
version "1.12.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.12.1.tgz#c1ad20e803e7749faf905a409d2367e06bbe7325"
|
||||
|
||||
pretty-bytes@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
|
||||
@ -13991,15 +14054,6 @@ react-docgen@^3.0.0-beta11:
|
||||
node-dir "^0.1.10"
|
||||
recast "^0.12.6"
|
||||
|
||||
react-dom@^16.3.2:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.3.2.tgz#cb90f107e09536d683d84ed5d4888e9640e0e4df"
|
||||
dependencies:
|
||||
fbjs "^0.8.16"
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react-dom@^16.4.0:
|
||||
version "16.4.0"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.4.0.tgz#099f067dd5827ce36a29eaf9a6cdc7cbf6216b1e"
|
||||
@ -14046,9 +14100,9 @@ react-inspector@^2.3.0:
|
||||
babel-runtime "^6.26.0"
|
||||
is-dom "^1.0.9"
|
||||
|
||||
react-is@^16.3.2:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.3.2.tgz#f4d3d0e2f5fbb6ac46450641eb2e25bf05d36b22"
|
||||
react-is@^16.4.0:
|
||||
version "16.4.0"
|
||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.0.tgz#cc9fdc855ac34d2e7d9d2eb7059bbc240d35ffcf"
|
||||
|
||||
react-lifecycles-compat@^3.0.0:
|
||||
version "3.0.2"
|
||||
@ -14233,14 +14287,14 @@ react-test-renderer@^16.0.0-0:
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react-test-renderer@^16.3.2:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.3.2.tgz#3d1ed74fda8db42521fdf03328e933312214749a"
|
||||
react-test-renderer@^16.4.0:
|
||||
version "16.4.0"
|
||||
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.4.0.tgz#0dbe0e24263e94e1830c7afb1f403707fad313a3"
|
||||
dependencies:
|
||||
fbjs "^0.8.16"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
react-is "^16.3.2"
|
||||
react-is "^16.4.0"
|
||||
|
||||
react-textarea-autosize@^6.1.0:
|
||||
version "6.1.0"
|
||||
@ -14280,15 +14334,6 @@ react-treebeard@^2.1.0:
|
||||
shallowequal "^0.2.2"
|
||||
velocity-react "^1.3.1"
|
||||
|
||||
react@^16.3.2:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-16.3.2.tgz#fdc8420398533a1e58872f59091b272ce2f91ea9"
|
||||
dependencies:
|
||||
fbjs "^0.8.16"
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react@^16.4.0:
|
||||
version "16.4.0"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-16.4.0.tgz#402c2db83335336fba1962c08b98c6272617d585"
|
||||
@ -15291,9 +15336,9 @@ rx@2.3.24:
|
||||
version "2.3.24"
|
||||
resolved "https://registry.yarnpkg.com/rx/-/rx-2.3.24.tgz#14f950a4217d7e35daa71bbcbe58eff68ea4b2b7"
|
||||
|
||||
rxjs@^5.5.10:
|
||||
version "5.5.10"
|
||||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.10.tgz#fde02d7a614f6c8683d0d1957827f492e09db045"
|
||||
rxjs@^5.5.11:
|
||||
version "5.5.11"
|
||||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.11.tgz#f733027ca43e3bec6b994473be4ab98ad43ced87"
|
||||
dependencies:
|
||||
symbol-observable "1.0.1"
|
||||
|
||||
@ -17021,9 +17066,9 @@ ts-loader@^4.3.0:
|
||||
micromatch "^3.1.4"
|
||||
semver "^5.0.1"
|
||||
|
||||
ts-node@~6.0.3:
|
||||
version "6.0.3"
|
||||
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.0.3.tgz#28bf74bcad134fad17f7469dad04638ece03f0f4"
|
||||
ts-node@~6.0.5:
|
||||
version "6.0.5"
|
||||
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.0.5.tgz#977c1c931da7a2b09ae2930101f0104a5c2271e9"
|
||||
dependencies:
|
||||
arrify "^1.0.0"
|
||||
chalk "^2.3.0"
|
||||
@ -17782,9 +17827,9 @@ vue-hot-reload-api@^2.2.0:
|
||||
version "2.2.4"
|
||||
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.4.tgz#683bd1d026c0d3b3c937d5875679e9a87ec6cd8f"
|
||||
|
||||
vue-loader@^14.2.2:
|
||||
version "14.2.2"
|
||||
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-14.2.2.tgz#c8cf3c2e29b6fb2ee595248a2aa6005038a125b3"
|
||||
vue-loader@^14.2.3:
|
||||
version "14.2.3"
|
||||
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-14.2.3.tgz#3b39645c322d956e287d8d36eb77475f78c9b8e0"
|
||||
dependencies:
|
||||
consolidate "^0.14.0"
|
||||
hash-sum "^1.0.2"
|
||||
@ -17888,16 +17933,6 @@ wcwidth@^1.0.0:
|
||||
dependencies:
|
||||
defaults "^1.0.3"
|
||||
|
||||
webassemblyjs@1.4.3:
|
||||
version "1.4.3"
|
||||
resolved "https://registry.yarnpkg.com/webassemblyjs/-/webassemblyjs-1.4.3.tgz#0591893efb8fbde74498251cbe4b2d83df9239cb"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/validation" "1.4.3"
|
||||
"@webassemblyjs/wasm-parser" "1.4.3"
|
||||
"@webassemblyjs/wast-parser" "1.4.3"
|
||||
long "^3.2.0"
|
||||
|
||||
webdriver-js-extender@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/webdriver-js-extender/-/webdriver-js-extender-1.0.0.tgz#81c533a9e33d5bfb597b4e63e2cdb25b54777515"
|
||||
@ -18126,13 +18161,14 @@ webpack@3.8.1:
|
||||
webpack-sources "^1.0.1"
|
||||
yargs "^8.0.2"
|
||||
|
||||
webpack@^4.8.3:
|
||||
version "4.8.3"
|
||||
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.8.3.tgz#957c8e80000f9e5cc03d775e78b472d8954f4eeb"
|
||||
webpack@^4.9.2:
|
||||
version "4.10.1"
|
||||
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.10.1.tgz#74909fb9c32941b5c34d22c1f8782c9a033a52e7"
|
||||
dependencies:
|
||||
"@webassemblyjs/ast" "1.4.3"
|
||||
"@webassemblyjs/wasm-edit" "1.4.3"
|
||||
"@webassemblyjs/wasm-parser" "1.4.3"
|
||||
"@webassemblyjs/ast" "1.5.8"
|
||||
"@webassemblyjs/wasm-edit" "1.5.8"
|
||||
"@webassemblyjs/wasm-opt" "1.5.8"
|
||||
"@webassemblyjs/wasm-parser" "1.5.8"
|
||||
acorn "^5.0.0"
|
||||
acorn-dynamic-import "^3.0.0"
|
||||
ajv "^6.1.0"
|
||||
@ -18140,6 +18176,7 @@ webpack@^4.8.3:
|
||||
chrome-trace-event "^0.1.1"
|
||||
enhanced-resolve "^4.0.0"
|
||||
eslint-scope "^3.7.1"
|
||||
json-parse-better-errors "^1.0.2"
|
||||
loader-runner "^2.3.0"
|
||||
loader-utils "^1.1.0"
|
||||
memory-fs "~0.4.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user