Socket
Socket
Sign inDemoInstall

reshow

Package Overview
Dependencies
305
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.16.5 to 0.16.6

9

build/cjs/ui/molecules/Reshow.js

@@ -38,2 +38,4 @@ "use strict";

var _withArray = require("with-array");
var _updateCanonicalUrl = _interopRequireWildcard(require("../../src/updateCanonicalUrl"));

@@ -47,3 +49,2 @@

var isArray = Array.isArray;
var isInit;

@@ -62,7 +63,3 @@

if (htmlTitle) {
if (isArray(htmlTitle)) {
oDoc.title = (0, _getObjectValue["default"])(htmlTitle, [0]);
} else {
oDoc.title = htmlTitle;
}
oDoc.title = (0, _withArray.oneItemArrayToString)(htmlTitle);
}

@@ -69,0 +66,0 @@

@@ -14,2 +14,3 @@ import _classCallCheck from "reshow-runtime/es/helpers/classCallCheck";

import { toJS } from "reshow-flux";
import { oneItemArrayToString } from "with-array";
import updateCanonicalUrl, { initCanonicalUrl } from "../../src/updateCanonicalUrl";

@@ -19,3 +20,2 @@ import dispatch from "../../src/dispatch";

import pageStore from "../../src/stores/pageStore";
var isArray = Array.isArray;
var isInit;

@@ -34,7 +34,3 @@

if (htmlTitle) {
if (isArray(htmlTitle)) {
oDoc.title = get(htmlTitle, [0]);
} else {
oDoc.title = htmlTitle;
}
oDoc.title = oneItemArrayToString(htmlTitle);
}

@@ -41,0 +37,0 @@

{
"name": "reshow",
"version": "0.16.5",
"version": "0.16.6",
"description": "A simplified React cross-component state management.",

@@ -26,3 +26,4 @@ "main": "./build/cjs/src/index.js",

"seturl": "*",
"smooth-scroll-to": "*"
"smooth-scroll-to": "*",
"with-array": "*"
},

@@ -29,0 +30,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc