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

confirm-zepto

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

confirm-zepto - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

dist/confirm.js

@@ -92,3 +92,3 @@ /******/ (function(modules) { // webpackBootstrap

module.exports = "<div class=\"prompt js-confirm\" style=\"display:none\">\n <div class=\"box\">\n <div class=\"title js-title\">自定义</div>\n <div class=\"btn-box\">\n <div class=\"btn is-left-btn js-negative\">取消</div><div class=\"btn is-right-btn js-positive\">添加</div>\n </div>\n </div>\n</div>\n";
module.exports = "<div class=\"confirm js-confirm\" style=\"display:none\">\n <div class=\"box\">\n <div class=\"title js-title\">自定义</div>\n <div class=\"btn-box\">\n <div class=\"btn is-left-btn js-negative\">取消</div><div class=\"btn is-right-btn js-positive\">添加</div>\n </div>\n </div>\n</div>\n";

@@ -130,3 +130,3 @@ /***/ },

// module
exports.push([module.id, ".prompt {\n position: absolute;\n top: 0;\n bottom: 0;\n width: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n font-size: 16px;\n}\n.prompt .box {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 270px;\n height: 150px;\n margin-left: -135px;\n margin-top: -60px;\n background-color: white;\n border-radius: 12.5px;\n}\n.prompt .box .title {\n height: 100px;\n line-height: 100px;\n text-align: center;\n font-weight: 700;\n}\n.prompt .box .btn-box {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 45px;\n line-height: 45px;\n color: #007aff;\n font-weight: 700;\n}\n.prompt .box .btn-box .btn {\n display: inline-block;\n width: 50%;\n height: 100%;\n box-sizing: border-box;\n text-align: center;\n border: 1px solid rgba(0, 0, 0, 0.1);\n}\n.prompt .box .btn-box .btn.is-left-btn {\n border-right: 0;\n}\n", ""]);
exports.push([module.id, ".confirm {\n position: absolute;\n top: 0;\n bottom: 0;\n width: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n font-size: 16px;\n}\n.confirm .box {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 270px;\n height: 150px;\n margin-left: -135px;\n margin-top: -60px;\n background-color: white;\n border-radius: 12.5px;\n}\n.confirm .box .title {\n height: 100px;\n line-height: 100px;\n text-align: center;\n font-weight: 700;\n}\n.confirm .box .btn-box {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 45px;\n line-height: 45px;\n color: #007aff;\n font-weight: 700;\n}\n.confirm .box .btn-box .btn {\n display: inline-block;\n width: 50%;\n height: 100%;\n box-sizing: border-box;\n text-align: center;\n border: 1px solid rgba(0, 0, 0, 0.1);\n}\n.confirm .box .btn-box .btn.is-left-btn {\n border-right: 0;\n}\n", ""]);

@@ -133,0 +133,0 @@ // exports

{
"name": "confirm-zepto",
"version": "1.0.2",
"version": "1.0.3",
"description": "mobile confirm replacing window.confirm(), mocking iOS prompt UI, supporting custom message and positive button text",

@@ -5,0 +5,0 @@ "main": "dist/confirm.js",

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