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

@react-stately/toast

Package Overview
Dependencies
Maintainers
2
Versions
458
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/toast - npm Package Compare versions

Comparing version 3.0.0-nightly.3964 to 3.0.0-nightly.3966

11

dist/main.js

@@ -1,2 +0,1 @@

var $1uBRd$swchelperslib_define_propertyjs = require("@swc/helpers/lib/_define_property.js");
var $1uBRd$react = require("react");

@@ -8,5 +7,2 @@ var $1uBRd$usesyncexternalstoreshimindexjs = require("use-sync-external-store/shim/index.js");

}
function $parcel$interopDefault(a) {
return a && a.__esModule ? a.default : a;
}

@@ -38,3 +34,2 @@ $parcel$export(module.exports, "useToastState", () => $c995945a643dde76$export$c7b26b20d3ced9c5);

function $c995945a643dde76$export$c7b26b20d3ced9c5(props = {}) {

@@ -129,5 +124,5 @@ let { maxVisibleToasts: maxVisibleToasts = 1 , hasExitAnimation: hasExitAnimation = false } = props;

constructor(options){
(0, ($parcel$interopDefault($1uBRd$swchelperslib_define_propertyjs)))(this, "queue", []);
(0, ($parcel$interopDefault($1uBRd$swchelperslib_define_propertyjs)))(this, "subscriptions", new Set());
/** The currently visible toasts. */ (0, ($parcel$interopDefault($1uBRd$swchelperslib_define_propertyjs)))(this, "visibleToasts", []);
this.queue = [];
this.subscriptions = new Set();
/** The currently visible toasts. */ this.visibleToasts = [];
var _options_maxVisibleToasts;

@@ -134,0 +129,0 @@ this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : 1;

@@ -1,2 +0,1 @@

import $jopoU$swchelperssrc_define_propertymjs from "@swc/helpers/src/_define_property.mjs";
import {useMemo as $jopoU$useMemo, useCallback as $jopoU$useCallback} from "react";

@@ -27,3 +26,2 @@ import {useSyncExternalStore as $jopoU$useSyncExternalStore} from "use-sync-external-store/shim/index.js";

function $77b352cf12efcf73$export$c7b26b20d3ced9c5(props = {}) {

@@ -118,5 +116,5 @@ let { maxVisibleToasts: maxVisibleToasts = 1 , hasExitAnimation: hasExitAnimation = false } = props;

constructor(options){
(0, $jopoU$swchelperssrc_define_propertymjs)(this, "queue", []);
(0, $jopoU$swchelperssrc_define_propertymjs)(this, "subscriptions", new Set());
/** The currently visible toasts. */ (0, $jopoU$swchelperssrc_define_propertymjs)(this, "visibleToasts", []);
this.queue = [];
this.subscriptions = new Set();
/** The currently visible toasts. */ this.visibleToasts = [];
var _options_maxVisibleToasts;

@@ -123,0 +121,0 @@ this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : 1;

{
"name": "@react-stately/toast",
"version": "3.0.0-nightly.3964+7f63e933e",
"version": "3.0.0-nightly.3966+a30e1bf81",
"description": "Spectrum UI components in React",

@@ -25,3 +25,3 @@ "license": "Apache-2.0",

"dependencies": {
"@swc/helpers": "^0.4.14",
"@swc/helpers": "^0.5.0",
"use-sync-external-store": "^1.2.0"

@@ -38,3 +38,3 @@ },

},
"gitHead": "7f63e933e61f20891b4cf3f447ab817f918cb263"
"gitHead": "a30e1bf810e03f4a4457c788c1a1315423567e96"
}

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc