Socket
Socket
Sign inDemoInstall

react-navi-helmet

Package Overview
Dependencies
24
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.13.6 to 0.14.0-alpha.0

11

dist/commonjs/index.js
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -41,4 +48,4 @@ if (mod && mod.__esModule) return mod;

var helmet = headAndTitleChunks &&
headAndTitleChunks.length && React.createElement.apply(React, [react_helmet_1.Helmet,
null].concat(headAndTitleChunks.map(function (chunk) {
headAndTitleChunks.length && React.createElement.apply(React, __spreadArrays([react_helmet_1.Helmet,
null], headAndTitleChunks.map(function (chunk) {
return chunk.type === 'title'

@@ -45,0 +52,0 @@ ? createTitleElement(chunk.title)

@@ -0,1 +1,8 @@

var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
import * as React from 'react';

@@ -31,4 +38,4 @@ import { Helmet } from 'react-helmet';

var helmet = headAndTitleChunks &&
headAndTitleChunks.length && React.createElement.apply(React, [Helmet,
null].concat(headAndTitleChunks.map(function (chunk) {
headAndTitleChunks.length && React.createElement.apply(React, __spreadArrays([Helmet,
null], headAndTitleChunks.map(function (chunk) {
return chunk.type === 'title'

@@ -35,0 +42,0 @@ ? createTitleElement(chunk.title)

8

package.json
{
"name": "react-navi-helmet",
"version": "0.13.6",
"version": "0.14.0-alpha.0",
"description": "Use react-helmet to render your Navi routes' title and head.",

@@ -40,4 +40,4 @@ "author": "James K Nelson <james@jamesknelson.com>",

"devDependencies": {
"navi": "^0.13.6",
"react-navi": "^0.13.6"
"navi": "^0.14.0-alpha.0",
"react-navi": "^0.14.0-alpha.0"
},

@@ -68,3 +68,3 @@ "homepage": "https://frontarm.com/navi/",

},
"gitHead": "2723721d2532f523bba918c83b54942be19a9318"
"gitHead": "42ef162ada630e1215d075057a748c3b6c1029e8"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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