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.6.4-rc.2 to 1.6.4-rc.3

2

dist/index.d.ts

@@ -21,3 +21,3 @@ /**

export declare function validateFbContentArgs<X, Y>(args: FbContent<X, Y>): void;
export declare function isInternal(): string | undefined;
export declare function isInternal(): Boolean;
export declare function FbInternalOnly<T>(props: {

@@ -24,0 +24,0 @@ children: ReactElement<T>;

@@ -84,3 +84,9 @@ "use strict";

// To use this in front-end code, we're relying on docusaurus-plugin-internaldocs-fb to add this value to the webpack env plugins.
return process && process.env && process.env.FB_INTERNAL;
try {
return Boolean(process.env.FB_INTERNAL);
}
catch (e) {
console.log("process.env.FB_INTERNAL couldn't be read, maybe you forgot to add the required webpack EnvironmentPlugin config?", e);
return false;
}
}

@@ -87,0 +93,0 @@ exports.isInternal = isInternal;

{
"name": "internaldocs-fb-helpers",
"version": "1.6.4-rc.2",
"version": "1.6.4-rc.3",
"description": "Helper library for including / excluding content from docusaurus websites",

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