New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

anima-toast

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anima-toast - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

package.json
{
"name": "anima-toast",
"version": "1.0.2",
"version": "1.0.3",
"description": "The best project ever.",

@@ -28,3 +28,4 @@ "homepage": "http://gitlab.alibaba-inc.com/animajs/toast",

"anima-pop": "1.0.2",
"anima-yocto-lite": "1.1.0"
"anima-yocto-lite": "1.1.0",
"import-style": "1.0.0"
},

@@ -31,0 +32,0 @@ "devDependencies": {

6

src/toast.js
var $ = require('anima-yocto-lite'),

@@ -19,3 +19,3 @@ Pop = require('anima-pop');

content : null,
template : '<div class="am-toast"></div>',
template : '<div class="am-toast" style="background-color: transparent;"></div>',
effect : 'fade',

@@ -65,3 +65,3 @@ align : {

iconCssTpl = type == 'none' ? '' : '<span class="am-toast-icon ' + 'am-icon-' + type + '"></span>',
tpl = '<div class="am-toast-text">'
tpl = '<div class="am-toast-text">'
+ iconCssTpl

@@ -68,0 +68,0 @@ + content

@@ -10,2 +10,4 @@

$('body').css('background-color', 'gray');
describe('toast', function() {

@@ -12,0 +14,0 @@ var toast = new Toast({

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