@ -1,49 +1,48 @@ |
||||
# things that *are* used, that depcheck is wrong about |
||||
ignores: |
||||
# |
||||
# |
||||
# webapp deps |
||||
# |
||||
# |
||||
|
||||
- "@babel/runtime" |
||||
- "@fortawesome/fontawesome-free" |
||||
- "punycode" |
||||
|
||||
# |
||||
- '@babel/runtime' |
||||
- '@fortawesome/fontawesome-free' |
||||
- 'punycode' |
||||
|
||||
# |
||||
# dev deps |
||||
# |
||||
|
||||
# safety fallback for npm lifecycle scripts, not used normally |
||||
- "@lavamoat/preinstall-always-fail" |
||||
- '@lavamoat/preinstall-always-fail' |
||||
# used in testing + ci |
||||
- "@metamask/auto-changelog" # invoked as `auto-changelog` |
||||
- "@metamask/forwarder" |
||||
- "@metamask/test-dapp" |
||||
- "@sentry/cli" # invoked as `sentry-cli` |
||||
- "chromedriver" |
||||
- "depcheck" # ooo meta |
||||
- "ganache-cli" |
||||
- "geckodriver" |
||||
- "jest" |
||||
- "lavamoat-viz" |
||||
- "prettier-plugin-sort-json" # automatically imported by prettier |
||||
- "source-map-explorer" |
||||
- '@metamask/auto-changelog' # invoked as `auto-changelog` |
||||
- '@metamask/forwarder' |
||||
- '@metamask/test-dapp' |
||||
- '@sentry/cli' # invoked as `sentry-cli` |
||||
- 'chromedriver' |
||||
- 'depcheck' # ooo meta |
||||
- 'ganache-cli' |
||||
- 'geckodriver' |
||||
- 'jest' |
||||
- 'lavamoat-viz' |
||||
- 'prettier-plugin-sort-json' # automatically imported by prettier |
||||
- 'source-map-explorer' |
||||
# development tool |
||||
- "yarn-deduplicate" |
||||
- "improved-yarn-audit" |
||||
- 'yarn-deduplicate' |
||||
- 'improved-yarn-audit' |
||||
# storybook |
||||
- "@storybook/core" |
||||
- "@storybook/addon-backgrounds" |
||||
- "@storybook/addon-toolbars" |
||||
- "style-loader" |
||||
- "css-loader" |
||||
- "sass-loader" |
||||
- "resolve-url-loader" |
||||
- '@storybook/core' |
||||
- '@storybook/addon-essentials' |
||||
- '@storybook/addon-a11y' |
||||
- 'style-loader' |
||||
- 'css-loader' |
||||
- 'sass-loader' |
||||
- 'resolve-url-loader' |
||||
|
||||
# files depcheck should not parse |
||||
# files depcheck should not parse |
||||
ignorePatterns: |
||||
# seems to incorrectly parse scss @include pragmas? |
||||
- "**/*.scss" |
||||
- '**/*.scss' |
||||
# self-contained bundle used for testing |
||||
- "**/send-eth-with-private-key-test/web3js.js" |
||||
- "**/send-eth-with-private-key-test/ethereumjs-tx.js" |
||||
|
||||
- '**/send-eth-with-private-key-test/web3js.js' |
||||
- '**/send-eth-with-private-key-test/ethereumjs-tx.js' |
||||
|
@ -1,37 +1,41 @@ |
||||
// import { useGlobals } from '@storybook/api';
|
||||
const { useGlobals } = require('@storybook/api') |
||||
const React = require("react") |
||||
const { addons, types } = require("@storybook/addons") |
||||
const { Icons, IconButton } = require('@storybook/components') |
||||
const localeList = require('../../app/_locales/index.json') |
||||
const { useEffect } = React |
||||
const { useGlobals } = require('@storybook/api'); |
||||
const React = require('react'); |
||||
const { addons, types } = require('@storybook/addons'); |
||||
const { Icons, IconButton } = require('@storybook/components'); |
||||
const localeList = require('../../app/_locales/index.json'); |
||||
const { useEffect } = React; |
||||
|
||||
addons.register("i18n-party", () => { |
||||
|
||||
addons.add("i18n-party", { |
||||
title: "rotates through every i18n locale", |
||||
addons.register('i18n-party', () => { |
||||
addons.add('i18n-party', { |
||||
title: 'rotates through every i18n locale', |
||||
//👇 Sets the type of UI element in Storybook
|
||||
type: types.TOOL, |
||||
match: () => true, |
||||
render: (...args) => { |
||||
// https://github.com/storybookjs/storybook/blob/6490a0d646dbaa293b76bbde477daca615efe789/addons/toolbars/src/components/MenuToolbar.tsx#L2
|
||||
const [globals, updateGlobals] = useGlobals() |
||||
const [globals, updateGlobals] = useGlobals(); |
||||
useEffect(() => { |
||||
if (!globals.localeParty) return |
||||
if (!globals.localeParty) return; |
||||
const interval = setInterval((...args) => { |
||||
const currentIndex = localeList.findIndex(({ code }) => code === globals.locale) |
||||
const nextIndex = (currentIndex + 1) % localeList.length |
||||
const nextLocale = localeList[nextIndex].code |
||||
updateGlobals({ locale: nextLocale }) |
||||
}, 2000) |
||||
return () => clearInterval(interval) |
||||
}) |
||||
const currentIndex = localeList.findIndex( |
||||
({ code }) => code === globals.locale, |
||||
); |
||||
const nextIndex = (currentIndex + 1) % localeList.length; |
||||
const nextLocale = localeList[nextIndex].code; |
||||
updateGlobals({ locale: nextLocale }); |
||||
}, 2000); |
||||
return () => clearInterval(interval); |
||||
}); |
||||
|
||||
return ( |
||||
<IconButton onClick={() => updateGlobals({ localeParty: !globals.localeParty })}> |
||||
<Icons icon={globals.localeParty ? 'star' : 'starhollow'}/> |
||||
<IconButton |
||||
onClick={() => updateGlobals({ localeParty: !globals.localeParty })} |
||||
> |
||||
<Icons icon={globals.localeParty ? 'star' : 'starhollow'} /> |
||||
<span> Shuffle i18n locale</span> |
||||
</IconButton> |
||||
) |
||||
); |
||||
}, |
||||
}) |
||||
}) |
||||
}); |
||||
}); |
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,824 @@ |
||||
{ |
||||
"chunks": [ |
||||
{ |
||||
"faces": [ |
||||
[0, 1, 2], |
||||
[2, 3, 0], |
||||
[4, 5, 2], |
||||
[6, 3, 2], |
||||
[2, 5, 6], |
||||
[7, 8, 9], |
||||
[10, 3, 6], |
||||
[10, 50, 7], |
||||
[7, 3, 10], |
||||
[7, 9, 3], |
||||
[49, 0, 9], |
||||
[3, 9, 0], |
||||
[2, 1, 4] |
||||
], |
||||
"name": "left ear", |
||||
"gradient": "left-ear-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[53, 54, 55], |
||||
[55, 56, 53], |
||||
[57, 56, 55], |
||||
[58, 59, 55], |
||||
[55, 54, 58], |
||||
[60, 61, 62], |
||||
[63, 58, 54], |
||||
[63, 60, 89], |
||||
[60, 63, 54], |
||||
[60, 54, 61], |
||||
[88, 61, 53], |
||||
[54, 53, 61], |
||||
[55, 59, 57] |
||||
], |
||||
"name": "right ear", |
||||
"gradient": "right-ear-gradient" |
||||
}, |
||||
{ |
||||
"color": [22, 22, 22], |
||||
"faces": [[11, 12, 13]], |
||||
"name": "left eye" |
||||
}, |
||||
{ |
||||
"color": [22, 22, 22], |
||||
"faces": [[64, 65, 66]], |
||||
"name": "right eye" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[14, 15, 11], |
||||
[11, 16, 14] |
||||
], |
||||
"name": "left inner eye", |
||||
"gradient": "left-inner-eye-gradient" |
||||
}, |
||||
{ |
||||
"faces": [[17, 12, 18]], |
||||
"name": "left outer eye", |
||||
"gradient": "left-outer-eye-gradient" |
||||
}, |
||||
{ |
||||
"faces": [[41, 64, 37]], |
||||
"name": "right lower inner eye", |
||||
"gradient": "right-inner-eye-gradient" |
||||
}, |
||||
{ |
||||
"faces": [[67, 68, 66]], |
||||
"name": "right outer eye", |
||||
"gradient": "right-outer-eye-gradient" |
||||
}, |
||||
{ |
||||
"color": [223, 117, 84], |
||||
"faces": [ |
||||
[19, 20, 21], |
||||
[21, 22, 19], |
||||
[20, 19, 23], |
||||
[23, 24, 20], |
||||
[23, 25, 24], |
||||
[19, 22, 26], |
||||
[26, 27, 19], |
||||
[23, 28, 29], |
||||
[23, 29, 30], |
||||
[25, 23, 30], |
||||
[29, 51, 52], |
||||
[52, 30, 29], |
||||
[27, 26, 69], |
||||
[69, 70, 27], |
||||
[70, 71, 72], |
||||
[72, 27, 70], |
||||
[72, 71, 73], |
||||
[51, 74, 72], |
||||
[52, 51, 72], |
||||
[73, 52, 72], |
||||
[19, 27, 74], |
||||
[74, 28, 19], |
||||
[51, 29, 28], |
||||
[28, 74, 51], |
||||
[74, 27, 72], |
||||
[28, 23, 19] |
||||
], |
||||
"name": "lower chin" |
||||
}, |
||||
{ |
||||
"color": [255, 159, 90], |
||||
"faces": [ |
||||
[21, 20, 24], |
||||
[24, 31, 21] |
||||
], |
||||
"name": "left lower snout" |
||||
}, |
||||
{ |
||||
"color": [255, 159, 90], |
||||
"faces": [ |
||||
[69, 71, 70], |
||||
[71, 69, 75] |
||||
], |
||||
"name": "right lower snout" |
||||
}, |
||||
{ |
||||
"color": [147, 131, 250], |
||||
"faces": [[31, 24, 18]], |
||||
"name": "left upper snout" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[6, 5, 16], |
||||
[16, 17, 6] |
||||
], |
||||
"name": "left forehead", |
||||
"gradient": "left-forehead-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[24, 32, 33], |
||||
[33, 34, 24] |
||||
], |
||||
"name": "left lower cheek", |
||||
"gradient": "left-lower-cheek-gradient" |
||||
}, |
||||
{ |
||||
"faces": [[5, 4, 35]], |
||||
"name": "left top ear", |
||||
"gradient": "left-top-ear-gradient" |
||||
}, |
||||
{ |
||||
"color": [147, 131, 250], |
||||
"faces": [[75, 68, 71]], |
||||
"name": "right upper snout" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[58, 67, 40], |
||||
[40, 59, 58] |
||||
], |
||||
"name": "right forhead", |
||||
"gradient": "right-forehead-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[71, 76, 77], |
||||
[77, 78, 71] |
||||
], |
||||
"name": "right lower cheek", |
||||
"gradient": "right-lower-cheek-gradient" |
||||
}, |
||||
{ |
||||
"faces": [[24, 34, 18]], |
||||
"name": "left middle cheek", |
||||
"gradient": "left-middle-cheek-gradient" |
||||
}, |
||||
{ |
||||
"color": [156, 90, 221], |
||||
"faces": [ |
||||
[16, 13, 12], |
||||
[12, 17, 16], |
||||
[13, 16, 11] |
||||
], |
||||
"name": "left above eye" |
||||
}, |
||||
{ |
||||
"faces": [[71, 68, 76]], |
||||
"name": "right middle cheek", |
||||
"gradient": "right-middle-cheek-gradient" |
||||
}, |
||||
{ |
||||
"color": [156, 90, 221], |
||||
"faces": [ |
||||
[40, 67, 66], |
||||
[66, 65, 40], |
||||
[65, 64, 40] |
||||
], |
||||
"name": "right above eye" |
||||
}, |
||||
{ |
||||
"color": [22, 22, 22], |
||||
"faces": [ |
||||
[36, 15, 37], |
||||
[37, 38, 36], |
||||
[31, 39, 22], |
||||
[22, 21, 31], |
||||
[31, 15, 36], |
||||
[36, 39, 31], |
||||
[75, 69, 26], |
||||
[26, 80, 75], |
||||
[75, 80, 38], |
||||
[38, 37, 75], |
||||
[38, 80, 39], |
||||
[39, 36, 38], |
||||
[39, 80, 26], |
||||
[26, 22, 39] |
||||
], |
||||
"name": "nose" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[17, 33, 10], |
||||
[17, 18, 34], |
||||
[34, 33, 17], |
||||
[10, 6, 17] |
||||
], |
||||
"name": "left upper cheek", |
||||
"gradient": "left-upper-cheek-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[11, 15, 31], |
||||
[31, 18, 11], |
||||
[18, 12, 11] |
||||
], |
||||
"name": "left below eye", |
||||
"gradient": "left-below-eye-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[14, 16, 40], |
||||
[40, 41, 14], |
||||
[59, 5, 35], |
||||
[35, 79, 59], |
||||
[14, 41, 37], |
||||
[37, 15, 14], |
||||
[5, 59, 40], |
||||
[40, 16, 5] |
||||
], |
||||
"name": "forehead", |
||||
"gradient": "forehead-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[67, 63, 77], |
||||
[67, 77, 76], |
||||
[76, 68, 67], |
||||
[63, 67, 58] |
||||
], |
||||
"name": "right upper cheek", |
||||
"gradient": "right-upper-cheek-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[64, 68, 75], |
||||
[75, 37, 64], |
||||
[68, 64, 66] |
||||
], |
||||
"name": "right below eye", |
||||
"gradient": "right-below-eye-gradient" |
||||
}, |
||||
{ |
||||
"faces": [ |
||||
[35, 4, 42], |
||||
[4, 1, 42], |
||||
[42, 43, 44], |
||||
[44, 35, 42], |
||||
[45, 43, 42], |
||||
[42, 10, 45], |
||||
[30, 32, 24], |
||||
[24, 25, 30], |
||||
[30, 33, 32], |
||||
[33, 30, 10], |
||||
[44, 43, 46], |
||||
[43, 45, 47], |
||||
[47, 46, 43], |
||||
[48, 47, 45], |
||||
[45, 30, 48], |
||||
[30, 45, 10], |
||||
[49, 42, 0], |
||||
[8, 7, 42], |
||||
[50, 42, 7], |
||||
[50, 10, 42], |
||||
[1, 0, 42], |
||||
[42, 9, 8], |
||||
[42, 49, 9], |
||||
[79, 81, 57], |
||||
[57, 81, 56], |
||||
[82, 79, 35], |
||||
[35, 44, 82], |
||||
[81, 79, 82], |
||||
[82, 83, 81], |
||||
[84, 63, 81], |
||||
[81, 83, 84], |
||||
[44, 46, 85], |
||||
[85, 82, 44], |
||||
[52, 73, 71], |
||||
[71, 78, 52], |
||||
[52, 78, 77], |
||||
[77, 63, 52], |
||||
[82, 85, 83], |
||||
[83, 85, 86], |
||||
[86, 84, 83], |
||||
[87, 52, 84], |
||||
[84, 86, 87], |
||||
[52, 63, 84], |
||||
[88, 53, 81], |
||||
[62, 81, 60], |
||||
[89, 60, 81], |
||||
[89, 81, 63], |
||||
[56, 81, 53], |
||||
[81, 62, 61], |
||||
[81, 61, 88], |
||||
[48, 87, 86], |
||||
[86, 47, 48], |
||||
[47, 86, 85], |
||||
[85, 46, 47], |
||||
[48, 30, 52], |
||||
[52, 87, 48] |
||||
], |
||||
"name": "back", |
||||
"gradient": "back-gradient" |
||||
}, |
||||
{ |
||||
"faces": [[57, 59, 79]], |
||||
"name": "right top ear", |
||||
"gradient": "right-top-ear-gradient" |
||||
}, |
||||
{ |
||||
"faces": [[64, 41, 40]], |
||||
"name": "right inner upper eye", |
||||
"gradient": "right-inner-eye-gradient" |
||||
} |
||||
], |
||||
"gradients": { |
||||
"left-inner-eye-gradient": { |
||||
"type": "linear", |
||||
"x1": "41.97721822541966%", |
||||
"y1": "67.79239690721649%", |
||||
"x2": "44.56654676258992%", |
||||
"y2": "67.79239690721649%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#BA86F3" |
||||
}, |
||||
{ |
||||
"offset": "0.5281", |
||||
"stop-color": "#B786F4" |
||||
}, |
||||
{ |
||||
"offset": "0.8987", |
||||
"stop-color": "#AE86F5" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#AA86F6" |
||||
} |
||||
] |
||||
}, |
||||
"right-inner-eye-gradient": { |
||||
"type": "linear", |
||||
"x1": "56.72805755395684%", |
||||
"y1": "81.08904639175258%", |
||||
"x2": "56.72805755395684%", |
||||
"y2": "54.49574742268041%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#BA86F3" |
||||
}, |
||||
{ |
||||
"offset": "0.5281", |
||||
"stop-color": "#B786F4" |
||||
}, |
||||
{ |
||||
"offset": "0.8987", |
||||
"stop-color": "#AE86F5" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#AA86F6" |
||||
} |
||||
] |
||||
}, |
||||
"left-middle-cheek-gradient": { |
||||
"type": "linear", |
||||
"x1": "25.107913669064747%", |
||||
"y1": "72.68865979381442%", |
||||
"x2": "25.107913669064747%", |
||||
"y2": "89.44690721649484%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#6848BA" |
||||
}, |
||||
{ |
||||
"offset": "0.3363", |
||||
"stop-color": "#6356D5" |
||||
} |
||||
] |
||||
}, |
||||
"right-middle-cheek-gradient": { |
||||
"type": "linear", |
||||
"x1": "74.89208633093526%", |
||||
"y1": "51.32938144329896%", |
||||
"x2": "74.89208633093526%", |
||||
"y2": "94.76301546391753%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#6848BA" |
||||
}, |
||||
{ |
||||
"offset": "0.3363", |
||||
"stop-color": "#6356D5" |
||||
} |
||||
] |
||||
}, |
||||
"right-forehead-gradient": { |
||||
"type": "linear", |
||||
"x1": "67.00671462829736%", |
||||
"y1": "30.13930412371134%", |
||||
"x2": "67.00671462829736%", |
||||
"y2": "54.49561855670103%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#DC69E6" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#C289F3" |
||||
} |
||||
] |
||||
}, |
||||
"left-forehead-gradient": { |
||||
"type": "linear", |
||||
"x1": "32.99340527577938%", |
||||
"y1": "30.13930412371134%", |
||||
"x2": "32.99340527577938%", |
||||
"y2": "54.49561855670103%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#DC69E6" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#C289F3" |
||||
} |
||||
] |
||||
}, |
||||
"right-top-ear-gradient": { |
||||
"type": "linear", |
||||
"x1": "95.056858513189448%", |
||||
"y1": "15.06958762886598%", |
||||
"x2": "57.31654676258992%", |
||||
"y2": "15.06958762886598%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#BB65ED" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#E560E3" |
||||
} |
||||
] |
||||
}, |
||||
"left-top-ear-gradient": { |
||||
"type": "linear", |
||||
"x1": "4.943141486810552%", |
||||
"y1": "15.06958762886598%", |
||||
"x2": "42.68345323741008%", |
||||
"y2": "15.06958762886598%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#BB65ED" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#E560E3" |
||||
} |
||||
] |
||||
}, |
||||
"left-lower-cheek-gradient": { |
||||
"type": "linear", |
||||
"x1": "15.103956834532372%", |
||||
"y1": "72.6889175257732%", |
||||
"x2": "15.103956834532372%", |
||||
"y2": "96.03221649484537%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#906EF7" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#575ADE" |
||||
} |
||||
] |
||||
}, |
||||
"right-lower-cheek-gradient": { |
||||
"type": "linear", |
||||
"x1": "84.91570743405276%", |
||||
"y1": "72.6889175257732%", |
||||
"x2": "84.91570743405276%", |
||||
"y2": "96.03221649484537%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#906EF7" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#575ADE" |
||||
} |
||||
] |
||||
}, |
||||
"right-outer-eye-gradient": { |
||||
"type": "linear", |
||||
"x1": "68.7720623501199%", |
||||
"y1": "63.14909793814433%", |
||||
"x2": "78.03057553956835%", |
||||
"y2": "63.14909793814433%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#BA86F3" |
||||
}, |
||||
{ |
||||
"offset": "0.5281", |
||||
"stop-color": "#B786F4" |
||||
}, |
||||
{ |
||||
"offset": "0.8987", |
||||
"stop-color": "#AE86F5" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#AA86F6" |
||||
} |
||||
] |
||||
}, |
||||
"left-outer-eye-gradient": { |
||||
"type": "linear", |
||||
"x1": "21.969424460431654%", |
||||
"y1": "63.14909793814433%", |
||||
"x2": "31.227937649880094%", |
||||
"y2": "63.14909793814433%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#BA86F3" |
||||
}, |
||||
{ |
||||
"offset": "0.5281", |
||||
"stop-color": "#B786F4" |
||||
}, |
||||
{ |
||||
"offset": "0.8987", |
||||
"stop-color": "#AE86F5" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#AA86F6" |
||||
} |
||||
] |
||||
}, |
||||
"left-ear-gradient": { |
||||
"type": "linear", |
||||
"x1": "50%", |
||||
"y1": "30%", |
||||
"x2": "4%", |
||||
"y2": "4%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#541758" |
||||
}, |
||||
{ |
||||
"offset": "0.4286", |
||||
"stop-color": "#4F206C" |
||||
}, |
||||
{ |
||||
"offset": "0.62", |
||||
"stop-color": "#4D2577" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#8B45B6" |
||||
} |
||||
] |
||||
}, |
||||
"right-ear-gradient": { |
||||
"type": "linear", |
||||
"x1": "50%", |
||||
"y1": "30%", |
||||
"x2": "96%", |
||||
"y2": "4%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#541758" |
||||
}, |
||||
{ |
||||
"offset": "0.4286", |
||||
"stop-color": "#4F206C" |
||||
}, |
||||
{ |
||||
"offset": "0.62", |
||||
"stop-color": "#4D2577" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#8B45B6" |
||||
} |
||||
] |
||||
}, |
||||
"left-below-eye-gradient": { |
||||
"type": "linear", |
||||
"x1": "30.914028776978412%", |
||||
"y1": "72.83646907216496%", |
||||
"x2": "44.56654676258992%", |
||||
"y2": "72.83646907216496%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#C8A8F7" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#BAAAFB" |
||||
} |
||||
] |
||||
}, |
||||
"right-below-eye-gradient": { |
||||
"type": "linear", |
||||
"x1": "55.43345323741007%", |
||||
"y1": "72.83646907216496%", |
||||
"x2": "69.12517985611511%", |
||||
"y2": "72.83646907216496%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#C8A8F7" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#BAAAFB" |
||||
} |
||||
] |
||||
}, |
||||
"left-upper-cheek-gradient": { |
||||
"type": "linear", |
||||
"x1": "16.02589928057554%", |
||||
"y1": "43.35154639175258%", |
||||
"x2": "16.02589928057554%", |
||||
"y2": "72.85773195876288%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#B65FE5" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#ADA2FC" |
||||
} |
||||
] |
||||
}, |
||||
"right-upper-cheek-gradient": { |
||||
"type": "linear", |
||||
"x1": "83.99364508393285%", |
||||
"y1": "43.35154639175258%", |
||||
"x2": "83.99364508393285%", |
||||
"y2": "72.85773195876288%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#B65FE5" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#ADA2FC" |
||||
} |
||||
] |
||||
}, |
||||
"forehead-gradient": { |
||||
"type": "linear", |
||||
"x1": "50%", |
||||
"y1": "12.790180412371136%", |
||||
"x2": "50%", |
||||
"y2": "81.08904639175258%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#FB7FE4" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#BCABFB" |
||||
} |
||||
] |
||||
}, |
||||
"back-gradient": { |
||||
"type": "linear", |
||||
"x1": "50%", |
||||
"y1": "12.790180412371136%", |
||||
"x2": "50%", |
||||
"y2": "81.08904639175258%", |
||||
"gradientUnits": "userSpaceOnUse", |
||||
"stops": [ |
||||
{ |
||||
"stop-color": "#FB7FE4" |
||||
}, |
||||
{ |
||||
"offset": "1", |
||||
"stop-color": "#5C5CE0" |
||||
} |
||||
] |
||||
} |
||||
}, |
||||
"positions": [ |
||||
[111.024597, 52.604599, 46.225899], |
||||
[114.025002, 87.673302, 58.9818], |
||||
[66.192001, 80.898003, 55.394299], |
||||
[72.113297, 35.491798, 30.871401], |
||||
[97.804497, 116.560997, 73.978798], |
||||
[16.7623, 58.010899, 58.078201], |
||||
[52.608898, 30.3641, 42.556099], |
||||
[106.881401, 31.945499, 46.9133], |
||||
[113.484596, 38.6049, 49.121498], |
||||
[108.6633, 43.2332, 46.315399], |
||||
[101.216599, 15.9822, 46.308201], |
||||
[16.6605, -16.2883, 93.618698], |
||||
[40.775002, -10.2288, 85.276398], |
||||
[23.926901, -2.5103, 86.736504], |
||||
[11.1691, -7.0037, 99.377602], |
||||
[9.5692, -34.393902, 141.671997], |
||||
[12.596, 7.1655, 88.740997], |
||||
[61.180901, 8.8142, 76.996803], |
||||
[39.719501, -28.927099, 88.963799], |
||||
[13.7962, -68.575699, 132.057007], |
||||
[15.2674, -62.32, 129.688004], |
||||
[14.8446, -52.6096, 140.113007], |
||||
[12.8917, -49.771599, 144.740997], |
||||
[35.604198, -71.758003, 81.063904], |
||||
[47.462502, -68.606102, 63.369701], |
||||
[38.2486, -64.730202, 38.909901], |
||||
[-12.8917, -49.771599, 144.740997], |
||||
[-13.7962, -68.575699, 132.057007], |
||||
[17.802099, -71.758003, 81.063904], |
||||
[19.1243, -69.0168, 49.420101], |
||||
[38.2486, -66.275597, 17.776199], |
||||
[12.8928, -36.703499, 141.671997], |
||||
[109.283997, -93.589897, 27.824301], |
||||
[122.117996, -36.8894, 35.025002], |
||||
[67.7668, -30.197001, 78.417801], |
||||
[33.180698, 101.851997, 25.3186], |
||||
[9.4063, -35.589802, 150.722], |
||||
[-9.5692, -34.393902, 141.671997], |
||||
[-9.4063, -35.589802, 150.722], |
||||
[11.4565, -37.899399, 150.722], |
||||
[-12.596, 7.1655, 88.740997], |
||||
[-11.1691, -7.0037, 99.377602], |
||||
[70.236504, 62.836201, -3.9475], |
||||
[47.263401, 54.293999, -27.414801], |
||||
[28.7302, 91.731102, -24.972601], |
||||
[69.167603, 6.5862, -12.7757], |
||||
[28.7302, 49.1003, -48.3596], |
||||
[31.903, 5.692, -47.821999], |
||||
[35.075802, -34.432899, -16.280899], |
||||
[115.284103, 48.681499, 48.684101], |
||||
[110.842796, 28.4821, 49.176201], |
||||
[-19.1243, -69.0168, 49.420101], |
||||
[-38.2486, -66.275597, 17.776199], |
||||
[-111.024597, 52.604599, 46.225899], |
||||
[-72.113297, 35.491798, 30.871401], |
||||
[-66.192001, 80.898003, 55.394299], |
||||
[-114.025002, 87.673302, 58.9818], |
||||
[-97.804497, 116.560997, 73.978798], |
||||
[-52.608898, 30.3641, 42.556099], |
||||
[-16.7623, 58.010899, 58.078201], |
||||
[-106.881401, 31.945499, 46.9133], |
||||
[-108.6633, 43.2332, 46.315399], |
||||
[-113.484596, 38.6049, 49.121498], |
||||
[-101.216599, 15.9822, 46.308201], |
||||
[-16.6605, -16.2883, 93.618698], |
||||
[-23.926901, -2.5103, 86.736504], |
||||
[-40.775002, -10.2288, 85.276398], |
||||
[-61.180901, 8.8142, 76.996803], |
||||
[-39.719501, -28.927099, 88.963799], |
||||
[-14.8446, -52.6096, 140.113007], |
||||
[-15.2674, -62.32, 129.688004], |
||||
[-47.462502, -68.606102, 63.369701], |
||||
[-35.604198, -71.758003, 81.063904], |
||||
[-38.2486, -64.730202, 38.909901], |
||||
[-17.802099, -71.758003, 81.063904], |
||||
[-12.8928, -36.703499, 141.671997], |
||||
[-67.7668, -30.197001, 78.417801], |
||||
[-122.117996, -36.8894, 35.025002], |
||||
[-109.283997, -93.589897, 27.824301], |
||||
[-33.180698, 101.851997, 25.3186], |
||||
[-11.4565, -37.899399, 150.722], |
||||
[-70.236504, 62.836201, -3.9475], |
||||
[-28.7302, 91.731102, -24.972601], |
||||
[-47.263401, 54.293999, -27.414801], |
||||
[-69.167603, 6.5862, -12.7757], |
||||
[-28.7302, 49.1003, -48.3596], |
||||
[-31.903, 5.692, -47.821999], |
||||
[-35.075802, -34.432899, -16.280899], |
||||
[-115.284103, 48.681499, 48.684101], |
||||
[-110.842796, 28.4821, 49.176201] |
||||
] |
||||
} |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 902 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 211 KiB |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 429 B |
After Width: | Height: | Size: 586 B |
After Width: | Height: | Size: 14 KiB |
@ -0,0 +1,26 @@ |
||||
{ |
||||
"browser_action": { |
||||
"default_icon": { |
||||
"16": "images/icon-16.png", |
||||
"19": "images/icon-19.png", |
||||
"32": "images/icon-32.png", |
||||
"38": "images/icon-38.png", |
||||
"64": "images/icon-64.png", |
||||
"128": "images/icon-128.png", |
||||
"512": "images/icon-512.png" |
||||
}, |
||||
"default_title": "MetaMask Flask" |
||||
}, |
||||
"icons": { |
||||
"16": "images/icon-16.png", |
||||
"19": "images/icon-19.png", |
||||
"32": "images/icon-32.png", |
||||
"38": "images/icon-38.png", |
||||
"48": "images/icon-48.png", |
||||
"64": "images/icon-64.png", |
||||
"128": "images/icon-128.png", |
||||
"512": "images/icon-512.png" |
||||
}, |
||||
"name": "__MSG_appName__ Flask", |
||||
"short_name": "__MSG_appName__ Flask" |
||||
} |
@ -0,0 +1,21 @@ |
||||
diff --git a/node_modules/@eslint/eslintrc/lib/config-array-factory.js b/node_modules/@eslint/eslintrc/lib/config-array-factory.js
|
||||
index c7ff6a0..6a88c6d 100644
|
||||
--- a/node_modules/@eslint/eslintrc/lib/config-array-factory.js
|
||||
+++ b/node_modules/@eslint/eslintrc/lib/config-array-factory.js
|
||||
@@ -41,7 +41,6 @@
|
||||
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
-const importFresh = require("import-fresh");
|
||||
const stripComments = require("strip-json-comments");
|
||||
const ConfigValidator = require("./shared/config-validator");
|
||||
const naming = require("./shared/naming");
|
||||
@@ -222,7 +221,7 @@ function loadLegacyConfigFile(filePath) {
|
||||
function loadJSConfigFile(filePath) {
|
||||
debug(`Loading JS config file: ${filePath}`);
|
||||
try {
|
||||
- return importFresh(filePath);
|
||||
+ return require(filePath);
|
||||
} catch (e) {
|
||||
debug(`Error reading JavaScript file: ${filePath}`);
|
||||
e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
|
@ -0,0 +1,13 @@ |
||||
diff --git a/node_modules/eslint/lib/linter/linter.js b/node_modules/eslint/lib/linter/linter.js
|
||||
index adb5c21..4a4be92 100644
|
||||
--- a/node_modules/eslint/lib/linter/linter.js
|
||||
+++ b/node_modules/eslint/lib/linter/linter.js
|
||||
@@ -560,7 +560,7 @@ function resolveParserOptions(parserName, providedOptions, enabledEnvironments)
|
||||
*/
|
||||
function resolveGlobals(providedGlobals, enabledEnvironments) {
|
||||
return Object.assign(
|
||||
- {},
|
||||
+ Object.create(null),
|
||||
...enabledEnvironments.filter(env => env.globals).map(env => env.globals),
|
||||
providedGlobals
|
||||
);
|