Socket
Socket
Sign inDemoInstall

@brighthr/component-toast

Package Overview
Dependencies
27
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.14 to 2.0.0

dist/index.d.cts

7

dist/index.d.ts

@@ -1,4 +0,4 @@

/// <reference types="node" />
import { ReactNode } from 'react';
export declare type ToastParams = {
declare type ToastParams = {
type: 'success' | 'error' | 'information' | 'tip' | 'warning';

@@ -20,2 +20,3 @@ text?: string;

declare const Toaster: () => JSX.Element;
export { Toaster, useToast };
export { ToastParams, Toaster, useToast };
{
"name": "@brighthr/component-toast",
"version": "1.0.14",
"version": "2.0.0",
"license": "MIT",
"type": "module",
"source": "src/index.tsx",
"exports": "./dist/index.modern.js",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"types": "./dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {

@@ -15,4 +16,4 @@ "access": "public"

"scripts": {
"start": "microbundle watch --jsx React.createElement --jsxFragment React.Fragment",
"build": "microbundle --jsx React.createElement --jsxFragment React.Fragment"
"start": "tsup --watch",
"build": "tsup"
},

@@ -41,3 +42,3 @@ "eslintConfig": {

},
"gitHead": "47942613c9b9213277a2945383add93767feafc8"
"gitHead": "1b82cedd964ef0ee483494eba535cdd0e48716ea"
}

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