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

innerken-js-utils

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

innerken-js-utils - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

dist/Utils.js

@@ -128,3 +128,3 @@ "use strict";

title: 'Geladen',
allowOutsideClick: () => !_sweetalert.default.isLoading(),
allowOutsideClick: () => canCancel,
allowEscapeKey: canCancel

@@ -291,3 +291,3 @@ });

function play(url) {
var audio = new Audio(url ? url : 'http://i.cloudup.com/E021I9zUG3.m4a');
var audio = new Audio(url || 'http://i.cloudup.com/E021I9zUG3.m4a');
audio.play();

@@ -294,0 +294,0 @@ }

{
"name": "innerken-js-utils",
"version": "1.0.10",
"version": "1.0.11",
"description": "",

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

@@ -12,3 +12,3 @@ import Swal from 'sweetalert2'

toast.addEventListener('mouseleave', Swal.resumeTimer)
},
}
})

@@ -32,3 +32,3 @@

cancelButtonText: 'Zurück',
confirmButtonText: 'OK',
confirmButtonText: 'OK'
}).then((result) => {

@@ -61,3 +61,3 @@ if (result.value) {

icon: type,
title: title,
title: title
})

@@ -75,3 +75,3 @@ }

text: content,
footer: '<a href="https://innerken.com">Wenden Sie sich an den Techniker</a>',
footer: '<a href="https://innerken.com">Wenden Sie sich an den Techniker</a>'
})

@@ -86,4 +86,4 @@ }

title: 'Geladen',
allowOutsideClick: () => !Swal.isLoading(),
allowEscapeKey: canCancel,
allowOutsideClick: () => canCancel,
allowEscapeKey: canCancel
})

@@ -96,5 +96,4 @@ Swal.showLoading()

Swal.fire({
icon: success ? 'success' : 'error',
icon: success ? 'success' : 'error'
})
}

@@ -122,3 +121,3 @@

target: target,
copyTarget: obj,
copyTarget: obj
})

@@ -139,3 +138,3 @@ Object.keys(target).forEach(key => {

export function getCookie (name) {
let arr = {}
const arr = {}
const reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)')

@@ -185,7 +184,7 @@ if (arr === document.cookie.match(reg)) {

export function compose () {
var args = arguments
var start = args.length - 1
const args = arguments
const start = args.length - 1
return function () {
var i = start
var result = args[start].apply(this, arguments)
let i = start
let result = args[start].apply(this, arguments)
while (i--) result = args[i].call(this, result)

@@ -207,5 +206,5 @@ return result

v => !!v || 'E-mail is required',
v => /.+@.+\..+/.test(v) || 'E-mail must be valid',
v => /.+@.+\..+/.test(v) || 'E-mail must be valid'
],
NotEmpty: [v => !!v || 'Dieses Feld wird benötigt'],
NotEmpty: [v => !!v || 'Dieses Feld wird benötigt']
}

@@ -234,3 +233,3 @@

export function play (url) {
const audio = new Audio(url ? url : 'http://i.cloudup.com/E021I9zUG3.m4a')
const audio = new Audio(url || 'http://i.cloudup.com/E021I9zUG3.m4a')
audio.play()

@@ -237,0 +236,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