Socket
Socket
Sign inDemoInstall

@hoory/embed

Package Overview
Dependencies
Maintainers
5
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hoory/embed - npm Package Compare versions

Comparing version 1.0.73 to 1.0.74

bun.lockb

24

build.react.js

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

const { build } = require("estrella");
const { build } = require("tsup");
const config = {
build({
entry: ["./index.ts"],
outDir: "./",
bundle: true,
minify: true,
format: ["cjs", "esm"],
platform: "browser",
external: ["react"],
minify: true,
run: false,
define: {

@@ -12,15 +15,2 @@ "process.env.NODE_ENV": '"NODE_ENV_VALUE"',

},
};
build({
...config,
entry: "./index.ts",
outfile: "./index.es.js",
format: "esm",
});
build({
...config,
entry: "./index.ts",
outfile: "./index.cjs.js",
format: "cjs",
});

@@ -137,2 +137,4 @@ import { useCallback, useEffect, useRef, useState } from "react";

script.onload = () => {
window.hoory.init();
window.hoory.onOpen(() => {

@@ -166,3 +168,2 @@ onChatOpen();

setIsScriptLoaded(true);
window.hoory.init();
};

@@ -169,0 +170,0 @@ }, [env, onScriptLoad]);

{
"name": "@hoory/embed",
"version": "1.0.73",
"version": "1.0.74",
"main": "./index.js",
"module": "./index.mjs",
"devDependencies": {
"tsup": "^6.6.3"
},
"peerDependencies": {
"react": "^17.0.2 || ^18.0.2",
"react-dom": "^17.0.2 || ^18.0.2"
},
"description": "Hoory script embedder",
"keywords": [],
"license": "MIT",
"private": false,
"description": "Hoory script embedder",
"main": "./index.cjs.js",
"module": "./index.es.js",
"types": "./index.ts",
"scripts": {

@@ -14,11 +22,3 @@ "prepack": "yarn build",

},
"keywords": [],
"license": "MIT",
"devDependencies": {
"estrella": "^1.4.0"
},
"peerDependencies": {
"react": "^17.0.2 || ^18.0.2",
"react-dom": "^17.0.2 || ^18.0.2"
}
"types": "./index.ts"
}
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