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

internaldocs-fb-helpers

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

internaldocs-fb-helpers - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

11

index.js

@@ -34,5 +34,5 @@ /**

if (isInternal()) {
return 'internal' in args ? args.internal : [];
return 'internal' in args ? callIfFunction(args.internal) : [];
} else {
return 'external' in args ? args.external : [];
return 'external' in args ? callIfFunction(args.external) : [];
}

@@ -50,2 +50,9 @@ }

function callIfFunction(arg) {
if (typeof(arg) == 'function') {
return arg();
}
return arg;
}
function validateFbContentArgs(args) {

@@ -52,0 +59,0 @@ if (typeof args !== 'object') {

2

package.json
{
"name": "internaldocs-fb-helpers",
"version": "1.0.0",
"version": "1.1.0",
"description": "Helper library for including / excluding content from docusaurus websites",

@@ -5,0 +5,0 @@ "main": "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