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

toast-me

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toast-me - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

package.json
{
"name": "toast-me",
"version": "1.0.2",
"version": "1.0.3",
"description": "Creates toast messages",
"main": "src/index.js",
"main": "lib/toast-me.js",
"scripts": {

@@ -7,0 +7,0 @@ "build": "webpack --env dev && webpack --env build && npm run test",

// @flow
import ToastMe from './toastMe';
import getOptions from './optionsLib';
import ToastOptions from './optionsLib';
import type { ToastActionType, ToastOptionsType } from './types';
// export {
// getOptions,
// };
export {
ToastOptions,
};

@@ -11,0 +11,0 @@ export default function (

@@ -23,2 +23,2 @@ // @flow

export default () => ToastOptions;
export default ToastOptions;
// @flow
import getOptions from './optionsLib';
import ToastOptions from './optionsLib';
import {

@@ -26,3 +26,3 @@ setClass,

const options = typeof receivedOptions === 'string'
? getOptions()[receivedOptions]
? ToastOptions()[receivedOptions]
: receivedOptions;

@@ -29,0 +29,0 @@

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