Skip to content

Commit

Permalink
Merge pull request #175 from brigade/fixes
Browse files Browse the repository at this point in the history
Remove prop-types peerDep; 5.3.1 release
  • Loading branch information
jamesplease authored Apr 11, 2017
2 parents 49723a8 + 873f4c7 commit 74bfb3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## master (unreleased)

## 5.3.1

- Remove the `prop-types` peer dependency. This was an accidental breaking
change that will instead be released as 6.0.0.

## 5.3.0

- Remove deprecation warnings when running on React 15.5
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-waypoint",
"version": "5.3.0",
"version": "5.3.1",
"description": "A React component to execute a function whenever you scroll to an element.",
"main": "build/waypoint.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -28,8 +28,7 @@
"author": "Brigade Engineering",
"license": "MIT",
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"prop-types": "^15.0.0"
"react": "^0.14.0 || ^15.0.0"
},
"devDependencies": {
"@types/react": "^15.0.21",
Expand Down
3 changes: 1 addition & 2 deletions src/waypoint.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { addEventListener, removeEventListener } from 'consolidated-events';
import PropTypes from 'prop-types';
import React from 'react';
import React, { PropTypes } from 'react';

import computeOffsetPixels from './computeOffsetPixels';
import constants from './constants';
Expand Down

0 comments on commit 74bfb3f

Please sign in to comment.