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

@highlight-run/gatsby-plugin-highlight

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highlight-run/gatsby-plugin-highlight - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

8

gatsby-browser.js
const Highlight = require("highlight.run");
const PACKAGE_NAME = "@highlight-run/gatsby-plugin-highlight";
exports.onClientEntry = (_, pluginOptions) => {
const { orgID, plugins, ...options } = pluginOptions;
if (orgID === undefined) {
throw new Error(`Invalid options for "${PACKAGE_NAME}": `);
}
Highlight.H.init(orgID, options.options);
Highlight.H.init(orgID, options);
// @ts-ignore
window.H = Highlight.H;
};

2

package.json
{
"name": "@highlight-run/gatsby-plugin-highlight",
"version": "0.0.2",
"version": "0.0.3",
"description": "Gatsby plugin for adding Highlight error monitoring and session recording.",

@@ -5,0 +5,0 @@ "main": "index.js",

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

<p align="center">
<a href="https://highlight.run" target="_blank" align="center">
<img src="https://uploads-ssl.webflow.com/60a2acace1fd91aae61c497d/60d1a335b43b924351ddfa4e_Coloured.png" width="500">
</a>
<br />
</p>
# Official Highlight SDK for GatsbyJS

@@ -22,3 +15,3 @@

enableStrictPrivacy: false;
environment: 'production';
environment: 'production';
version: '5.2.3';

@@ -25,0 +18,0 @@ networkRecording: true;

Sorry, the diff of this file is not supported yet

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