Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3 dependencies from npm #75

Merged
merged 6 commits into from Jan 18, 2018

Conversation

dependencies[bot]
Copy link
Contributor

@dependencies dependencies bot commented Jan 17, 2018

Overview

The following dependencies have been updated:

  • css-loader in / from "0.28.8" to "0.28.9"
  • postcss-modules-values-replace in / from "2.0.0" to "2.0.2"
  • react-virtualized in / from "9.17.2" to "9.17.3"

Details

Dependencies.io has updated css-loader (a npm dependency in /) from "0.28.8" to "0.28.9".

0.28.9

2018-01-17

Bug Fixes


Dependencies.io has updated postcss-modules-values-replace (a npm dependency in /) from "2.0.0" to "2.0.2".

2.0.2

No content found. Please open an issue at https://github.com/dependencies-io/support if you think this content could have been found.


Dependencies.io has updated react-virtualized (a npm dependency in /) from "9.17.2" to "9.17.3".

9.17.3

No content found. Please open an issue at https://github.com/dependencies-io/support if you think this content could have been found.

@Hypnosphi
Copy link
Contributor

Hypnosphi commented Jan 17, 2018

@princed using binary search, I found out that it's postcss-modules-values-replace update what's crashing the build. Any idea why?

https://teamcity.jetbrains.com/viewLog.html?buildId=1297383&buildTypeId=JetBrainsUi_RingUi_UnitTestsAndBuild&tab=buildResultsDiv

[JavaScript Unit Tests] Electron 1.8.1 (Linux 0.0.0) ERROR
[15:08:49][JavaScript Unit Tests]   {
[15:08:49][JavaScript Unit Tests]     "message": "Uncaught Error: Module build failed: Error: Parse error on line 1:\nunit*8\n^\nExpecting 'SUB', 'LPAREN', 'NESTED_CALC', 'NUMBER', 'CSS_VAR', 'LENGTH', 'ANGLE', 'TIME', 'FREQ', 'RES', 'EMS', 'EXS', 'CHS', 'REMS', 'VHS', 'VWS', 'VMINS', 'VMAXS', 'PERCENTAGE', got 'PREFIX'\n    at Parser.parseError (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:160:21)\n    at Parser.parse (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:227:22)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:35:30\n    at walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/walk.js:15:13)\n    at ValueParser.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/index.js:18:5)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:29:51)\n    at transformValue (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:24:45)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:54:100)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:29:78\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:144:26\n    at Root.each (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:110:22)\n    at Root.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:143:21)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:25:9\n    at LazyResult.run (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:277:20)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:192:32)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:204:22)\nat test-helpers/test-suite.js:169:1\n\nError: Module build failed: Error: Parse error on line 1:\nunit*8\n^\nExpecting 'SUB', 'LPAREN', 'NESTED_CALC', 'NUMBER', 'CSS_VAR', 'LENGTH', 'ANGLE', 'TIME', 'FREQ', 'RES', 'EMS', 'EXS', 'CHS', 'REMS', 'VHS', 'VWS', 'VMINS', 'VMAXS', 'PERCENTAGE', got 'PREFIX'\n    at Parser.parseError (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:160:21)\n    at Parser.parse (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:227:22)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:35:30\n    at walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/walk.js:15:13)\n    at ValueParser.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/index.js:18:5)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:29:51)\n    at transformValue (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:24:45)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:54:100)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:29:78\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:144:26\n    at Root.each (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:110:22)\n    at Root.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:143:21)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:25:9\n    at LazyResult.run (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:277:20)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:192:32)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:204:22)\n    at Object.<anonymous> (test-helpers/test-suite.js:169:7)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:362004:11)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:117911:15)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:123692:70)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:69637:72)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)",
[15:08:49][JavaScript Unit Tests]     "str": "Uncaught Error: Module build failed: Error: Parse error on line 1:\nunit*8\n^\nExpecting 'SUB', 'LPAREN', 'NESTED_CALC', 'NUMBER', 'CSS_VAR', 'LENGTH', 'ANGLE', 'TIME', 'FREQ', 'RES', 'EMS', 'EXS', 'CHS', 'REMS', 'VHS', 'VWS', 'VMINS', 'VMAXS', 'PERCENTAGE', got 'PREFIX'\n    at Parser.parseError (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:160:21)\n    at Parser.parse (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:227:22)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:35:30\n    at walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/walk.js:15:13)\n    at ValueParser.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/index.js:18:5)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:29:51)\n    at transformValue (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:24:45)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:54:100)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:29:78\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:144:26\n    at Root.each (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:110:22)\n    at Root.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:143:21)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:25:9\n    at LazyResult.run (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:277:20)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:192:32)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:204:22)\nat test-helpers/test-suite.js:169:1\n\nError: Module build failed: Error: Parse error on line 1:\nunit*8\n^\nExpecting 'SUB', 'LPAREN', 'NESTED_CALC', 'NUMBER', 'CSS_VAR', 'LENGTH', 'ANGLE', 'TIME', 'FREQ', 'RES', 'EMS', 'EXS', 'CHS', 'REMS', 'VHS', 'VWS', 'VMINS', 'VMAXS', 'PERCENTAGE', got 'PREFIX'\n    at Parser.parseError (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:160:21)\n    at Parser.parse (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/parser.js:227:22)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:35:30\n    at walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/walk.js:15:13)\n    at ValueParser.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-value-parser/lib/index.js:18:5)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/node_modules/reduce-css-calc/dist/index.js:29:51)\n    at transformValue (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:24:45)\n    at exports.default (/mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/lib/transform.js:54:100)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:29:78\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:144:26\n    at Root.each (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:110:22)\n    at Root.walk (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/container.js:143:21)\n    at /mnt/agent/work/fcc104fed721274c/node_modules/postcss-cssnext/node_modules/postcss-calc/dist/index.js:25:9\n    at LazyResult.run (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:277:20)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:192:32)\n    at LazyResult.asyncTick (/mnt/agent/work/fcc104fed721274c/node_modules/postcss/lib/lazy-result.js:204:22)\n    at Object.<anonymous> (test-helpers/test-suite.js:169:7)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:362004:11)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:117911:15)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:123692:70)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)\n    at Object.<anonymous> (test-helpers/test-suite.js:69637:72)\n    at __webpack_require__ (test-helpers/test-suite.js:20:30)"
[15:08:49][JavaScript Unit Tests]   }

@princed
Copy link
Contributor

princed commented Jan 18, 2018

@Hypnosphi I'll have a look

@princed
Copy link
Contributor

princed commented Jan 18, 2018

You may want to fix it with following patch (makes sense anyway) or wait for princed/postcss-modules-values-replace/issues/23:

diff --git a/components/global/global.css b/components/global/global.css
index f174f480e..f7896c77c 100644
--- a/components/global/global.css
+++ b/components/global/global.css
@@ -78,7 +78,7 @@
 @value alert-z-index: 6;
 
 /* Note: footer also has top margin which isn't taken into account here */
-@value footer-height: calc(unit*8);
+@value footer-height: calc(unit * 8);
 
 /* Media breakpoints (minimal values) */
 @value breakpoint-small: 640px;
diff --git a/components/grid/grid.css b/components/grid/grid.css
index c8fb2c14c..d00e1bab9 100644
--- a/components/grid/grid.css
+++ b/components/grid/grid.css
@@ -1,7 +1,7 @@
 @value unit, breakpoint-small, breakpoint-middle, breakpoint-large, large-screen-media, middle-screen-media, small-screen-media from '../global/global.css';
-@value gutterWidth: (unit*2);
+@value gutterWidth: (unit * 2);
 @value gutterCompensation: calc(gutterWidth / -2);
-@value outerMargin: calc(unit*2);
+@value outerMargin: calc(unit * 2);
 @value containerSmall: calc(breakpoint-small + gutterWidth);
 @value containerMedium: calc(breakpoint-middle + gutterWidth);
 @value containerLarge: calc(breakpoint-large + gutterWidth);

@princed
Copy link
Contributor

princed commented Jan 18, 2018

Fixed in 3.0.0, no migration required for ring-ui

@Hypnosphi
Copy link
Contributor

Cool, thanks. Will add the spaces anyway (I wonder can that be a stylelint rule)

@Hypnosphi Hypnosphi merged commit 642c4b5 into master Jan 18, 2018
@Hypnosphi Hypnosphi deleted the dependencies.io-update-build-117.0.0 branch January 18, 2018 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants