Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twreporter/universal-header

Package Overview
Dependencies
Maintainers
5
Versions
342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/universal-header - npm Package Compare versions

Comparing version 2.1.1-beta.1 to 2.1.1-beta.2

10

CHANGELOG.md

@@ -7,8 +7,14 @@ # CHANGELOG

### 2.1.1
### 2.1.1-beta.2
- Remove deprecated componentWillMount
- Per file imports are deprecated for react-router-dom
### 2.1.1-beta.1
- Remove deprecated `componentWillMount`
#### Update Dependencies
For removing deprecated `componentWillMount` and `componentWillReceiveProps`:
- Bump react-transition-group to v2

@@ -15,0 +21,0 @@ - Bump react-router-dom to v5

4

lib/components/customized-link.js

@@ -12,3 +12,3 @@ "use strict";

var _Link = _interopRequireDefault(require("react-router-dom/Link"));
var _reactRouterDom = require("react-router-dom");

@@ -68,3 +68,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

return _react["default"].createElement(_Link["default"], _extends({
return _react["default"].createElement(_reactRouterDom.Link, _extends({
to: to

@@ -71,0 +71,0 @@ }, rest));

{
"name": "@twreporter/universal-header",
"version": "2.1.1-beta.1",
"version": "2.1.1-beta.2",
"description": "Universal header of TWReporter sites",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc