Giter Club home page Giter Club logo

rheostat's People

Contributors

7rulnik avatar albertstill avatar dark-matter-dreams avatar denkristoffer avatar goatslacker avatar greenkeeper[bot] avatar iam4x avatar joeduncan avatar lambdahands avatar lencioni avatar ljharb avatar majapw avatar malindamiller avatar manuhabitela avatar mrkosima avatar noratarano avatar philipfweiss avatar raghavio avatar reklawnos avatar ryandunnewold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rheostat's Issues

Can't build a controlled component [Question]

updateNewValues ignores new props values when sliding. This reduces the ability to build completely controlled components using Rheostat (rheostat controls rendering while sliding).

A specific use-case: I'm building a 3 handle slider where the outer handles represent the bounds and the inner handle, the midpoint. When dragging an outer handle, I want to move the inner handle as well. As it stands, rheostat only updates the values after I've released the handle (ie: slidingIndex is null).

Clearly the code to skip updates while sliding was added intentionally. I was curious what the reasons are/were and, in general, if there's been consideration for such a use case as described above.

If I comment those lines out, my slider works as I'd expected.

For reference:

https://github.com/airbnb/rheostat/blob/master/src/Slider.jsx#L581

  updateNewValues(nextProps) {
    // Don't update while the slider is sliding
    if (this.state.slidingIndex !== null) {
      return;
    }

Any chance of a new release ?

Hi,

Thanks for creating this great package, which I am putting to good use. Would it be possible to put out a new release though?

It would be great to finally get rid of the messages like the ones below (which PR#138) addresses.

Warning: Expected `onMouseDown` listener to be a function, instead got `false`.
    
    If you used to conditionally omit it with onMouseDown={condition && value}, pass onMouseDown={condition ? value : undefined} instead.
        in button (created by Button)
        in Button (created by Rheostat)
        in div (created by Rheostat)
        in Rheostat (created by Slider)
        in div (created by <snip>)
        in <snip> (created by <snip>)
        in div (created by <snip>)
        in div (created by <snip>)
        in <snip> (created by <snip>)
        in <snip> (created by <snip>)
        in <snip>

Many thanks

Receiving public state onClick/onKeyDown

In my app theres different functionality for click keydown whatsoever, so the onChange function doesnt fit my requirements.
It would be pretty neat, if the public state variables that gets passed to onChange would also be passed to the other handlers, like onClick.

[Question] How works with float values

Currently I have something like:

min={0}
max={10}
values={[0, 10]}

and yeah, I can move the slider from {0, 10} values, but only for integer values.

Could be possible setup for .5 values? like:

[0, 0.5, 1, 1.5, ... 9.5, 10]

Ideally, something similar to lodash#range

When updating value prop onChange is triggered

I would imagine onChange would only be called if the value was changed as a result of a keyboard or click interaction.

But it's called when the value prop has changed as well.

Intended, or not?

For now I'm using onValuesUpdated to let me know if the user is in the process of updating the value, and then resetting it when onChange is called.

Slider.jsx Unexpected token

I've just installed rheostat with yarn and added the import line in my code. I'm getting the following errors.
I don't understand what I must do ...

Uncaught (in promise) Error: Module parse failed: /home/jchapelle/project/frontend-realestate/node_modules/rheostat/src/Slider.jsx Unexpected token (34:11)
You may need an appropriate loader to handle this file type.
| class Button extends React.Component {
|   render() {
|     return <button {...this.props} type="button" />;
|   }
| }

Unexpected Values with Large Min and Max

Have two cases to illustrate the unusual behavior:

The working case is if I pass:

min={70}
max={93}
snap
snapPoints={[70, 81, 93]}

The onChange handler gets passed values that land on the snapPoints for both the low and high values.

The failing case is if I pass:

min={1493}
max={3788}
snap
snapPoints={[1493, 2640,3788]}

onChange hander gets passed 2640 at the mid-point, but 1521 (high moved to min) and 3760 (low moved to max).

Looks like some sort of assumptions on the range of values for min and max.

My workaround, for now, is to simply use three values, e.g., 0, 1, 2, and scale everything myself in a wrapping component.

Keyboard interaction not working when `snap` prop is set to true

When I create a slider with the snap prop set to true, none of the keys update the value of the slider.

I encountered this in the app I'm working on, and have managed to recreate it as a story in story book using this simple config:

storiesOf('Slider', module)
  .add('Accessible Slider', () => (
    <div style={{margin: 30}}>
      <Rheostat
        min={0}
        max={5}
        snap={true}
        onChange={e => console.log(e.values[0])} />
    </div>
  ));

I would assume that if snap is true and no snap points are passed in, then it should behave in the same way as it would if you were using a mouse, i.e.:

If snap is set to true and no snapPoints are set then the slider is snapped into an absolute position. For example, on a scale of 1-10 if the slider is let go at the 54% mark it'll pick the value 5 and snap to 50%.

This synthetic event is reused for performance reasons.

Getting this error in chrome console when using custom slider with 1 handle on each side.

commons.js:1342 Warning: This synthetic event is reused for performance reasons. If you're seeing this, you're adding a new property in the synthetic event object. The property is never released. See https://fb.me/react-event-pooling for more information.

Error alerts in this section of react:

    if (process.env.NODE_ENV !== 'production') {
      (function () {
        var printWarning = function printWarning(format) {
          for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
            args[_key - 1] = arguments[_key];
          }

          var argIndex = 0;
          var message = 'Warning: ' + format.replace(/%s/g, function () {
            return args[argIndex++];
          });
          if (typeof console !== 'undefined') {
            console.error(message); \\ERROR IS CONSOLE LOGGED HERE
          }
          try {
            // --- Welcome to debugging React ---
            // This error was thrown as a convenience so that you can use this stack
            // to find the callsite that caused this warning to fire.
            throw new Error(message);
          } catch (x) {}
        };

An in-range update of eslint is breaking the build ๐Ÿšจ

โ˜๏ธ Greenkeeperโ€™s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.19.1 of eslint was just published.

Branch Build failing ๐Ÿšจ
Dependency eslint
Current Version 4.19.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v4.19.1
  • 3ff5d11 Fix: no-invalid-regexp not understand variable for flags (fixes #10112) (#10113) (่–›ๅฎš่ฐ”็š„็Œซ)
  • abc765c Fix: object-curly-newline minProperties w/default export (fixes #10101) (#10103) (Kevin Partington)
  • 6f9e155 Docs: Update ambiguous for...in example for guard-for-in (#10114) (CJ R)
  • 0360cc2 Chore: Adding debug logs on successful plugin loads (#10100) (Kevin Partington)
  • a717c5d Chore: Adding log at beginning of unit tests in Makefile.js (#10102) (Kevin Partington)
Commits

The new version differs by 7 commits.

  • f1f1bdf 4.19.1
  • b446650 Build: changelog update for 4.19.1
  • 3ff5d11 Fix: no-invalid-regexp not understand variable for flags (fixes #10112) (#10113)
  • abc765c Fix: object-curly-newline minProperties w/default export (fixes #10101) (#10103)
  • 6f9e155 Docs: Update ambiguous for...in example for guard-for-in (#10114)
  • 0360cc2 Chore: Adding debug logs on successful plugin loads (#10100)
  • a717c5d Chore: Adding log at beginning of unit tests in Makefile.js (#10102)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Ending a slide action also triggers a click action

If we have a slider with multiple handles, and we drag one handle past another, if we mouseup on the slider bar we also trigger the click behavior which will update the position of the handle that we are not dragging.

Here is a GIF of the incorrect behavior:
bad-behavior

I'm actually not sure the best way to fix this because we need a global mouseUp handler to trigger endSlide but only a component-level handler for handleClick.

One option would be to set a flag during slide and then ensure that handleClick fires after endSlide using a timeout.

Another option would be to just add a single global mouseUp/touchEnd handler that checks the target of the event and triggers the click behavior if there is no ongoing slide and the target is the component.

Format Price value for PitPoints

I formatted the price with comma and passed it to pitPoints. [eg: 1,23,400]. But I am unable to pass the values into pitPoints. As it is defined with 'PropTypes.arrayOf(PropTypes.number)'. When I format with comma, It treated as string and produce the below error.
'Failed prop type: Invalid prop pitPoints[0] of type string supplied to Rheostat, expected number.'
Please respond to the above question.

Thanks,
Saranya

An in-range update of nyc is breaking the build ๐Ÿšจ

Version 11.3.0 of nyc was just published.

Branch Build failing ๐Ÿšจ
Dependency nyc
Current Version 11.2.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

nyc is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 12 commits.

  • d85118c chore(release): 11.3.0
  • 7792733 chore: explicitly update istanbul dependencies (#698)
  • 222a3d0 chore: slight difference in pinning logic, based on @ljharb's advice
  • f04b7a9 feat: add option to hook vm.runInContext (#680)
  • cdfdff3 feat: add --exclude-after-remap option for users who pre-instrument their codebase (#697)
  • a413f6a chore: upgrade to yargs 10 (#694)
  • 10125aa docs: fix reporters link
  • f5089ca docs: added examples of coverage reports (#656)
  • af281e7 chore: update spawn-wrap to 1.4.0 (#692)
  • a685f7c docs: missing options prefix -- in front of check-coverage (#695)
  • f31d7a6 feat: allow instrument-only to produce sourcemaps (#674)
  • 425c0fd chore: ignore package-lock.json (#683)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Some values unreachable when using keyboard

When using the keyboard to enter a value into the slider, if the slider has been adjusted with the mouse already then interacting with it using the keyboard can cause values at the ends of the scale to be inaccessible. This looks to be something to do with the getNextPositionForKey() method which isn't correctly calculating the proposedPercentage. It should probably just snap to the percentage tied to the next value, at the moment it seems to be trying to step the correct amount percentage-wise which is why it fails when that step takes it over either of the ends.

I encountered this in the app I'm working on, and have managed to recreate it as a story in story book using this simple config:

storiesOf('Slider', module)
  .add('Accessible Slider', () => (
    <div style={{margin: 30}}>
      <Rheostat
        min={0}
        max={5}
        onChange={e => console.log(e.values[0])} />
    </div>
  ));

I'm happy to try and sort this and send a PR, but wanted to throw it up here first in case anyone has any ideas/things I should know about why it's been implemented in the way it has.

Cheers

Currency display

How to display a US dollar sign to the left of the left and right values below the slider?

An in-range update of sinon is breaking the build ๐Ÿšจ

โ˜๏ธ Greenkeeperโ€™s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.4.7 of sinon was just published.

Branch Build failing ๐Ÿšจ
Dependency sinon
Current Version 4.4.6
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 7 commits.

  • e060fe9 Update docs/changelog.md and set new release id in docs/_config.yml
  • e9fce06 Add release documentation for v4.4.7
  • f047838 4.4.7
  • cc91fe6 Update History.md and AUTHORS for new release
  • 9fb8577 Emojify the support message :heart:
  • a87ef85 Use existing mini-lib for coloring
  • 1f33fe5 Reduce noisy NPM output from postinstall script

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

TypeError in IE 10

When i use this component in IE 10, Error is occurred on console like below.
TypeError : Unable to get property 'max' of undefined or null reference
at Rheostat ( xxxxxx bundle.js :5 : 667 )
at g._constructComponentWithoutOwnner..
.
.
.

also bundle.js:5:667 is
Object.getPrototypeOf(Rheostat).call(this,e)),n=t.props,r=n.max,i=n.min,o=n.values;
I check the code 5:667 to bold text

Broken examples in React Storybook

The following examples in the repo's built-in React Storybook (npm run storybook) don't seem to work (tested in Firefox 58 on Mac):

  • A Simple Slider
  • Dates
  • Snapping
  • Vertical

(Possibly also "Disabled"; I can't tell if it's working properly or not.)

screen shot 2018-02-20 at 2 42 27 pm

Performance Issue

there is a performance problem when used as a price filter.

It ends up creating a large dom tree(hundreds of nodes more so when there are more results) and multiple re-renders of the page is ending up hogging memory (like searching a few more times on the page took memory usage of my chrome tab close to 1gb). disabling it steadies memory usage at atound ~200mb most of the time.

Value doesn't update if the passed `values` is updated

I am using Redux and there's a case when I change the values props to default but the slider doesn't reflect that. If I change the slider position everything works fine.

The reason I debugged.
when updateNewValues is called from componentWillReceiveProps, the value of this.state.slidingIndex in Line555 is -1. So it returns from there without updating the state.

Fix the values changing callback

It's confusing to have two callbacks for values changing.

So lets kill onValuesChanged which is sort of the same thing as onSliderMove and lets rename onValuesSet to just onChange.

values prop is confusing

Fix README for values. Talk about how it's initial values, and the length determines the amount of handles, and how you can dynamically alter the values.

An in-range update of babel-cli is breaking the build ๐Ÿšจ

Version 6.22.1 of babel-cli just got published.

Branch Build failing ๐Ÿšจ
Dependency babel-cli
Current Version 6.22.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As babel-cli is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช


Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details
Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Thoughts on adding a `handleProps` on the Slider component?

Hi,

Using the slider, I found a bit cumbersome to add custom props on the slider handles. What do you think about having a handleProps on the <Slider> that would be destructured into the <Handle>? It would simplify small customizations that don't necessarily require a whole new component.

My use case is I want to add a aria-labelledby attribute to the Handle.

Currently, to do this I need to create a new Handle component specific to the Slider I create. For example:

const MyHandle = ({...props}) =>
  <button
    {...props}
    type="button"
    aria-labelledby="aLabelId"
  />;

[...]

<Rheostat handle={MyHandle} />

With a handleProps I could do:

<Rheostat handleProps={{
  aria-labelledby="aLabelId"
}} />

Slider is not accessible via keyboard

Pressing tab on Shared room checkbox focuses More filters. Similarly pressing shift + tab on More filters focuses Shared room checkbox. Skipping the slider control in both forward and backward navigation.

Please find the stated behavior in the below animation.

slider animation

For expected keyboard interaction, please refer WAI-ARIA Authoring Practices - Slider (Multi-Thumb).

And I guess for the slider button you would prefer to use<button> instead of <div>. Please check out Use button if you mean it for further details.

screenshot of slider markup

Rheostat handle renders off slide track when min value is greater than zero

I'm currently using Rheostat with the following code:

<Rheostat min={5} max={50} />

When the slider renders, the slide handle is not shown on the slide track. I've been trying to figure it out but haven't had any luck.

From a bit of testing it seems that whenever the min value is greater than zero, the handle initially positions itself off the slide track. Am I perhaps doing something incorrect?

Unknown plugin "transform-replace-object-assign" in rheostat/.babelrc

Getting this error after doing a yarn add rheostat...

image

Seems to be the same error as on react-dates/react-dates#530 where @ljharb suggests that we shouldn't be using babel to transpile the node_modules folder, which sounds sensible. However, I don't know how "not" to do that and I suspect that I am not the only one. I've not consciously made Babel do this, so it seems to be how some of the default templates are setup.

Also, these two Airbnb projects appear to be the top ranking ones for this error, so I do wonder if the issue is more rooted in how this package is setup? I've not experienced this with any other packages....

Support overriding validatePosition

We'd like to implement two independent ranges on a single slider - The left handle would map from [0, leftMax], and the right would map to [rightMin, 100].

An easy way to support this without having to seriously extend the slider would be to allow the overriding of the canMove validatePosition function. If there is is appetite, I will submit a PR adding canMove to props and some tests.

Vertical slider is not shown in storybook

Hi,

In the process of porting this awesome project to typescript I've faced an issue with default vertical style, which has no visual height:

problem

There are many solutions, for example min-height and position: absolute can solve it:

.rheostat-vertical {
    ...
    min-height: 200px;

    .rheostat-background {
        ....
        position: absolute;
    }

An in-range update of enzyme-adapter-react-15 is breaking the build ๐Ÿšจ

Version 1.0.4 of enzyme-adapter-react-15 was just published.

Branch Build failing ๐Ÿšจ
Dependency enzyme-adapter-react-15
Current Version 1.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

enzyme-adapter-react-15 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Missing main extension break eslint-import-resolver-node

The recent change made to the package.json breaks the default configuration of the eslint-import-resolver-node. Since by default the node resolver only support ['.js', '.json'] it's not able to find the rheostat package because the jsnext:main point to a .jsx file.

IMO we should revert the change in order to avoid to consumer of the package to explicitly set the support of the jsx extension in eslint-import-resolver-node.

334b6cc#diff-b9cfc7f2cdf78a7f4b91a753d10865a2L5

An in-range update of eslint-plugin-react is breaking the build ๐Ÿšจ

Version 7.3.0 of eslint-plugin-react just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint-plugin-react
Current Version 7.2.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint-plugin-react is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v7.3.0

Added

  • Add checks for propTypes, contextTypes and childContextTypes to no-typos (#213 @DianaSuvorova)

Fixed

  • Fix boolean-prop-naming crash (#1369 @EvHaus)
  • Fix no-typos crash (#1353 @jseminck)
  • Fix require-default-props stopping when it finds a component without props (#1380 @brgibson)
  • Fix no-direct-mutation-state detection with nested components (#1382)

Changed

Commits

The new version differs by 25 commits.

  • 162b92b Update CHANGELOG and bump version
  • 686ab89 Merge pull request #1375 from jseminck/more-robust-no-typos-fix
  • 9805f70 Fix no-direct-mutation-state detection with nested components (fixes #1382)
  • 6af4bca Merge pull request #1383 from mjomble/patch-1
  • a05bc0a Fixed links in changelog
  • 48e8dc1 Merge pull request #1380 from brgibson/master
  • f371368 require-default-props - fixing an edge case where linting stops when it finds a component without props - should move on to the next component in the file
  • 5e25a5e Re-add FIXME and disable the warning through eslint-disable-next-line
  • d00e9e6 Remove FIXME as it fails linting
  • 0cf2415 Add comment to the eslint parent definition issue
  • 02ed7d0 Merge pull request #1371 from DianaSuvorova/i213
  • 1292807 Add comment explaining try/catch
  • fa890cb Tests and explaining the case that is currently not supported.
  • 1301fe9 More robust no-typos fix
  • 59a3f6a [no-typo] rule enhancement checking for a correct prop type spelling

There are 25 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Different handlers need to be used for rheostat

Hi,

I need to bring a dual point slider using rheostat. As I have tried giving different handlers as an array, I am unable to fix this. I need different handlers for min value as well as max value.
Do you have any suggestions on it? @ljharb

Hide or customise the "Average" value

When using Rheostat, there's always a value with "average" or "median" which is shown in the middle of the data. However this isn't always the preferred behaviour. I have a few options in mind:

  • add an option to hide average
  • add an option to round the average (with your custom function or Math.round())
  • add an option to specify x values to show (although that might be bad for responsive stuff)

Related: algolia/instantsearch#2275

An in-range update of eslint is breaking the build ๐Ÿšจ

Version 4.18.0 of eslint was just published.

Branch Build failing ๐Ÿšจ
Dependency eslint
Current Version 4.17.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 14 commits.

  • 883a2a2 4.18.0
  • 89d55ca Build: changelog update for 4.18.0
  • 70f22f3 Chore: Apply memoization to config creation within glob utils (#9944)
  • 0e4ae22 Update: fix indent bug with binary operators/ignoredNodes (fixes #9882) (#9951)
  • 47ac478 Update: add named imports and exports for object-curly-newline (#9876)
  • e8efdd0 Fix: support Rest/Spread Properties (fixes #9885) (#9943)
  • f012b8c Fix: support Async iteration (fixes #9891) (#9957)
  • 74fa253 Docs: Clarify no-mixed-operators options (fixes #9962) (#9964)
  • 426868f Docs: clean up key-spacing docs (fixes #9900) (#9963)
  • 4a6f22e Update: support eslint-disable-* block comments (fixes #8781) (#9745)
  • 777283b Docs: Propose fix typo for function (#9965)
  • bf3d494 Docs: Fix typo in max-len ignorePattern example. (#9956)
  • d64fbb4 Docs: fix typo in prefer-destructuring.md example (#9930)
  • f8d343f Chore: Fix default issue template (#9946)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of eslint-plugin-import is breaking the build ๐Ÿšจ

Version 2.4.0 of eslint-plugin-import just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint-plugin-import
Current Version 2.3.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint-plugin-import is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 10 commits.

  • 44ca158 update utils changelog
  • a3728d7 bump eslint-module-utils to v2.1.0
  • 3e29169 bump v2.4.0
  • ea9c92c Merge pull request #737 from kevin940726/master
  • 8f9b403 fix typos, enforce type of array of strings in allow option
  • 95315e0 update CHANGELOG.md
  • 28e1623 eslint-module-utils: filePath in parserOptions (#840)
  • 2f690b4 update CI to build on Node 6+7 (#846)
  • 7d41745 write doc, add two more tests
  • dedfb11 add allow glob for rule no-unassigned-import, fix #671

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of mocha is breaking the build ๐Ÿšจ

Version 3.4.0 of mocha just got published.

Branch Build failing ๐Ÿšจ
Dependency mocha
Current Version 3.3.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As mocha is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v3.4.0

Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.

This week's highlights:

  • allowUncaught added to commandline as --allow-uncaught (and bugfixed)
  • warning-related Node flags

๐ŸŽ‰ Enhancements

๐Ÿ› Fixes

๐Ÿ”ฉ Other

Commits

The new version differs by 9 commits0.

  • 7554b31 Add Changelog for v3.4.0
  • 9f7f7ed Add --trace-warnings flag
  • 92561c8 Add --no-warnings flag
  • ceee976 lint test/integration/fixtures/simple-reporter.js
  • dcfc094 Revert "use semistandard directly"
  • 93392dd no special case for macOS running Karma locally
  • 4d1d91d --allow-uncaught cli option
  • fb1e083 fix allowUncaught in browser
  • 4ed3fc5 Add license report and scan status

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Warning when click/tap slider icon es6

warning.js:45 Warning: ReactDOMComponent: Do not access .getDOMNode() of a DOM node; instead, use the node directly. This DOM node was rendered bySlider.

I'm getting this warning in React 0.14.6 when clicking/tap the slider icon. I'm using es6 class components with Babel.

An in-range update of sinon is breaking the build ๐Ÿšจ

Version 4.2.3 of sinon was just published.

Branch Build failing ๐Ÿšจ
Dependency sinon
Current Version 4.2.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 7 commits.

  • b5968ab Update docs/changelog.md and set new release id in docs/_config.yml
  • 9cbf3f2 Add release documentation for v4.2.3
  • 45cf330 4.2.3
  • 8f54d73 Update History.md and AUTHORS for new release
  • a401b34 Update package-lock.json
  • a21e4f7 Replace formatio with @sinonjs/formatio
  • f4e44ac Use comments in pull request template to get better descriptions with less template text

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Can't move handles when VoiceOver is turned on on iOS

When VioceOver is turned on on my iPhone, neither dragging the handles directly or swiping up/down (as the instruction announced by VoiceOver) can move the handles. This is reproducible in the examples too. Not sure how to fix this accessibility issue. Any suggestions would be appreciated.

An in-range update of babel-preset-airbnb is breaking the build ๐Ÿšจ

Version 2.3.0 of babel-preset-airbnb just got published.

Branch Build failing ๐Ÿšจ
Dependency babel-preset-airbnb
Current Version 2.2.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As babel-preset-airbnb is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 6 commits.

  • 9410812 Version 2.3.0
  • 98c9c1d Merge pull request #13 from airbnb/babel-preset-env
  • a3b73f6 Switches to use babel-preset-env
  • 13da4ee [Tests] npm v4.6+ doesnโ€™t work on node < v1
  • 3065a5c [Deps] update babel-plugin-syntax-trailing-function-commas, babel-plugin-transform-es2015-template-literals, babel-plugin-transform-es3-member-expression-literals, babel-plugin-transform-es3-property-literals, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-jscript, babel-plugin-transform-object-rest-spread, babel-preset-es2015, babel-preset-react
  • bd811d3 [Dev Deps] update eslint, eslint-config-airbnb-base, eslint-plugin-import

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.