@ta-interaktiv/react-polymorphic-share-buttons
Advanced tools
Comparing version 1.2.5 to 1.3.0-beta.0434bf23
@@ -0,1 +1,25 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
<a name="1.3.0-beta.0434bf23"></a> | ||
# [1.3.0-beta.0434bf23](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-polymorphic-share-buttons@1.2.6...@ta-interaktiv/react-polymorphic-share-buttons@1.3.0-beta.0434bf23) (2018-03-09) | ||
### Bug Fixes | ||
* yes, we use bind in JSX, but this is still the best solution, I think ([6d12e14](https://gitlab.com/ta-interaktiv/packages/commit/6d12e14)) | ||
<a name="1.2.6"></a> | ||
## 1.2.6 (2018-03-07) | ||
**Note:** Version bump only for package @ta-interaktiv/react-polymorphic-share-buttons | ||
<a name="1.2.5"></a> | ||
@@ -61,3 +85,3 @@ ## [1.2.5](https://gitlab.com/ta-interactive/react-polymorphic-share-buttons/compare/v1.2.4...v1.2.5) (2018-02-15) | ||
- 🔥 Removed `communities` prop – it's not like this did anything in the first | ||
place. | ||
place. | ||
- Moved package to [`@ta-interaktiv/react-polymorphic-share-buttons`][1] | ||
@@ -64,0 +88,0 @@ |
@@ -33,3 +33,4 @@ 'use strict'; | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint-disable react/jsx-no-bind */ | ||
/** | ||
@@ -36,0 +37,0 @@ * @module PolymorphicShareButtons |
@@ -11,2 +11,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
/* eslint-disable react/jsx-no-bind */ | ||
/** | ||
@@ -13,0 +15,0 @@ * @module PolymorphicShareButtons |
{ | ||
"version": "1.2.5", | ||
"version": "1.3.0-beta.0434bf23", | ||
"main": "dist/index.js", | ||
@@ -15,23 +15,7 @@ "jsnext:main": "es/index", | ||
"watch-scss": "node-sass scss/styles.scss --output style --source-map true --watch", | ||
"prepublishOnly": "yarn run fix && yarn run compile-scss && yarn run docs && yarn run dist && yarn run dist:es", | ||
"prepublishOnly": "yarn run fix", | ||
"prepare": "yarn run compile-scss && yarn run docs && yarn run dist && yarn run dist:es", | ||
"storybook": "start-storybook -p 9001 -c storybook", | ||
"docs": "documentation readme src/*.js --section=API", | ||
"changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s", | ||
"preversion": "git checkout master && git pull", | ||
"version": "yarn run fix && yarn run docs && yarn run changelog && git add --all", | ||
"precommit": "lint-staged" | ||
"docs": "documentation readme src/*.js --section=API" | ||
}, | ||
"lint-staged": { | ||
"linters": { | ||
"{src,cfg,res}/**/*.js": [ | ||
"prettier-standard", | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"{src,res,cfg,scss,style}/**/*.{css,scss,sass}": [ | ||
"prettier-standard", | ||
"git add" | ||
] | ||
} | ||
}, | ||
"author": "Kaspar Manz <kaspar.manz@tages-anzeiger.ch>", | ||
@@ -45,22 +29,7 @@ "license": "ISC", | ||
"babel-eslint": "^8", | ||
"babel-plugin-syntax-flow": "^6.18.0", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.23.0", | ||
"babel-preset-react": "^6.16.0", | ||
"conventional-changelog-cli": "^1.3.4", | ||
"documentation": "^4.0.0-rc.1", | ||
"eslint": "^4.1.1", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-config-standard-jsx": "^4.0.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-node": "^5.1.0", | ||
"eslint-plugin-promise": "^3.5.0", | ||
"eslint-plugin-react": "^7.0.1", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"flow-bin": "^0.56", | ||
"flow-copy-source": "^1.2.1", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^4.2.3", | ||
"node-sass": "^4.5.0", | ||
"prettier-standard": "^7.0.1", | ||
"prop-types": "^15.5.10", | ||
@@ -83,4 +52,4 @@ "react": "^15 || ^16", | ||
"@ta-interaktiv/newsnet-api-flow-types": "^0.5.1", | ||
"@ta-interaktiv/parse-hostname": "^1.0.0", | ||
"@ta-interaktiv/react-share-buttons": "^1.6.5", | ||
"@ta-interaktiv/parse-hostname": "^1.3.0-beta.0434bf23", | ||
"@ta-interaktiv/react-share-buttons": "^1.7.0-beta.0434bf23", | ||
"d3-request": "^1.0.3" | ||
@@ -91,3 +60,3 @@ }, | ||
"type": "git", | ||
"url": "git+ssh://git@gitlab.com/ta-interactive/react-polymorphic-share-buttons.git" | ||
"url": "git+ssh://git@gitlab.com/ta-interaktiv/packages.git" | ||
}, | ||
@@ -100,5 +69,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://gitlab.com/ta-interactive/react-polymorphic-share-buttons/issues" | ||
"url": "https://gitlab.com/ta-interaktiv/packages/issues" | ||
}, | ||
"homepage": "https://gitlab.com/ta-interactive/react-polymorphic-share-buttons#README", | ||
"homepage": "https://gitlab.com/ta-interaktiv/packages/tree/master/packages/react-polymorphic-share-buttons#README", | ||
"name": "@ta-interaktiv/react-polymorphic-share-buttons", | ||
@@ -105,0 +74,0 @@ "browserslist": [ |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable react/jsx-no-bind */ | ||
// @flow | ||
@@ -125,5 +126,5 @@ /** | ||
json( | ||
`//${API_SUBDOMAIN}.${parseHostname() | ||
.publicationDomain}/api/articles/${this.props | ||
.articleID}/external_services`, | ||
`//${API_SUBDOMAIN}.${parseHostname().publicationDomain}/api/articles/${ | ||
this.props.articleID | ||
}/external_services`, | ||
(error, data) => { | ||
@@ -170,4 +171,5 @@ if (error) { | ||
request( | ||
`//${API_SUBDOMAIN}.${parseHostname() | ||
.publicationDomain}/api/communities/${articleID}/counts/${shareTypeId}` | ||
`//${API_SUBDOMAIN}.${ | ||
parseHostname().publicationDomain | ||
}/api/communities/${articleID}/counts/${shareTypeId}` | ||
).post() | ||
@@ -174,0 +176,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14
458
0
0
36875
1
+ Added@ta-interaktiv/react-share-buttons@1.7.0-beta.d6e61851(transitive)
- Removed@ta-interaktiv/react-share-buttons@1.6.16(transitive)
Updated@ta-interaktiv/react-share-buttons@^1.7.0-beta.0434bf23