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

@twreporter/core

Package Overview
Dependencies
Maintainers
5
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/core - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

7

CHANGELOG.md

@@ -7,2 +7,9 @@ # CHANGELOG

### 1.1.0
- Change request-origin constants naming
- Update dependency:
- Add `prop-types`: ^15.0.0
- Fix mututal dependency between `@twreporter/redux` and `@twreporter/core`
### 1.0.3

@@ -9,0 +16,0 @@

60

lib/constants/request-origins.js

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

var _fromServer, _fromClient;
var _forServerSideRenderi, _forClientSideRenderi;

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

var fromServer = (_fromServer = {}, _defineProperty(_fromServer, _releaseBranch["default"].master, {
// accounts: 'http://localhost:3001',
var forServerSideRendering = (_forServerSideRenderi = {}, _defineProperty(_forServerSideRenderi, _releaseBranch["default"].master, {
accounts: 'http://localhost:3001',
api: 'http://localhost:8080',
main: 'http://localhost:3000' // support: 'http://localhost:3001'
}), _defineProperty(_fromServer, _releaseBranch["default"].test, {
main: 'http://localhost:3000',
support: 'http://localhost:3001'
}), _defineProperty(_forServerSideRenderi, _releaseBranch["default"].test, {
accounts: 'http://localhost:3001',
api: 'http://localhost:8080',
main: 'http://localhost:3000'
}), _defineProperty(_fromServer, _releaseBranch["default"].staging, {
main: 'http://localhost:3000',
support: 'http://localhost:3001'
}), _defineProperty(_forServerSideRenderi, _releaseBranch["default"].staging, {
accounts: 'https://staging-accounts.twreporter.org',
api: 'http://go-api:8080',
main: 'http://staging.twreporter.org'
}), _defineProperty(_fromServer, _releaseBranch["default"].preview, {
main: 'http://staging.twreporter.org',
support: 'https://staging-support.twreporter.org'
}), _defineProperty(_forServerSideRenderi, _releaseBranch["default"].preview, {
accounts: 'https://staging-accounts.twreporter.org',
api: 'http://go-api:8080',
main: 'https://staging.twreporter.org'
}), _defineProperty(_fromServer, _releaseBranch["default"].release, {
main: 'https://staging.twreporter.org',
support: 'https://staging-support.twreporter.org'
}), _defineProperty(_forServerSideRenderi, _releaseBranch["default"].release, {
accounts: 'https://accounts.twreporter.org',
api: 'http://go-api:8080',
main: 'https://www.twreporter.org'
}), _fromServer);
var fromClient = (_fromClient = {}, _defineProperty(_fromClient, _releaseBranch["default"].master, fromServer.master), _defineProperty(_fromClient, _releaseBranch["default"].test, fromServer.test), _defineProperty(_fromClient, _releaseBranch["default"].staging, {
main: 'https://www.twreporter.org',
support: 'https://support.twreporter.org'
}), _forServerSideRenderi);
var forClientSideRendering = (_forClientSideRenderi = {}, _defineProperty(_forClientSideRenderi, _releaseBranch["default"].master, forServerSideRendering[_releaseBranch["default"].master]), _defineProperty(_forClientSideRenderi, _releaseBranch["default"].test, forServerSideRendering[_releaseBranch["default"].test]), _defineProperty(_forClientSideRenderi, _releaseBranch["default"].staging, {
accounts: forServerSideRendering[_releaseBranch["default"].staging].accounts,
api: 'https://staging-go-api.twreporter.org:443',
main: 'https://staging.twreporter.org'
}), _defineProperty(_fromClient, _releaseBranch["default"].preview, {
main: forServerSideRendering[_releaseBranch["default"].staging].main,
support: forServerSideRendering[_releaseBranch["default"].staging].support
}), _defineProperty(_forClientSideRenderi, _releaseBranch["default"].preview, {
accounts: forServerSideRendering[_releaseBranch["default"].preview].accounts,
api: 'https://staging-go-api.twreporter.org:443',
main: 'https://staging.twreporter.org'
}), _defineProperty(_fromClient, _releaseBranch["default"].release, {
main: forServerSideRendering[_releaseBranch["default"].preview].main,
support: forServerSideRendering[_releaseBranch["default"].preview].support
}), _defineProperty(_forClientSideRenderi, _releaseBranch["default"].release, {
accounts: forServerSideRendering[_releaseBranch["default"].release].accounts,
api: 'https://go-api.twreporter.org:443',
main: 'https://www.twreporter.org'
}), _fromClient);
main: forServerSideRendering[_releaseBranch["default"].release].main,
support: forServerSideRendering[_releaseBranch["default"].release].support
}), _forClientSideRenderi);
var _default = {
fromClient: fromClient,
fromServer: fromServer
forClientSideRendering: forClientSideRendering,
forServerSideRendering: forServerSideRendering
};
exports["default"] = _default;
{
"name": "@twreporter/core",
"version": "1.0.3",
"version": "1.1.0",
"main": "lib/index.js",

@@ -14,2 +14,3 @@ "repository": "https://github.com/twreporter/twreporter-npm-packages.git",

"lodash": "^4.0.0",
"prop-types": "^15.0.0",
"styled-components": "^4.0.0"

@@ -16,0 +17,0 @@ },

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