New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

twreporter-redux

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twreporter-redux - npm Package Compare versions

Comparing version 1.0.0-alpha-0.16 to 1.0.0-alpha-0.17

4

lib/actions/posts.js

@@ -75,3 +75,5 @@ 'use strict';

type: _actionTypes2.default.START_TO_GET_A_FULL_POST,
url: url
payload: {
slug: slug
}
});

@@ -78,0 +80,0 @@

@@ -60,3 +60,5 @@ 'use strict';

type: _actionTypes2.default.START_TO_GET_A_FULL_TOPIC,
url: url
payload: {
slug: slug
}
});

@@ -63,0 +65,0 @@

@@ -65,3 +65,4 @@ 'use strict';

isFetching: true,
url: action.url
slug: _.get(action, 'payload.slug'),
error: null
};

@@ -68,0 +69,0 @@

@@ -60,4 +60,6 @@ 'use strict';

case _actionTypes2.default.START_TO_GET_A_FULL_TOPIC:
console.log('url to fetch:', action.url);
return state;
return {
slug: _.get(action, 'payload.slug'),
error: null
};

@@ -64,0 +66,0 @@ case _actionTypes2.default.ERROR_TO_GET_A_FULL_TOPIC:

{
"name": "twreporter-redux",
"version": "1.0.0-alpha-0.16",
"version": "1.0.0-alpha-0.17",
"description": "redux actions and reducers for twreporter website",

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

@@ -37,3 +37,5 @@ import apiEndpoints from '../constants/api-endpoints'

type: types.START_TO_GET_A_FULL_POST,
url,
payload: {
slug,
}
})

@@ -40,0 +42,0 @@

@@ -34,3 +34,5 @@

type: types.START_TO_GET_A_FULL_TOPIC,
url,
payload: {
slug,
}
})

@@ -37,0 +39,0 @@

@@ -32,3 +32,4 @@ import types from '../constants/action-types'

isFetching: true,
url: action.url,
slug: _.get(action, 'payload.slug'),
error: null,
}

@@ -35,0 +36,0 @@

@@ -29,4 +29,6 @@ import types from '../constants/action-types'

case types.START_TO_GET_A_FULL_TOPIC:
console.log('url to fetch:', action.url)
return state
return {
slug: _.get(action, 'payload.slug'),
error: null,
}

@@ -33,0 +35,0 @@ case types.ERROR_TO_GET_A_FULL_TOPIC:

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