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

six-widget-support

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

six-widget-support - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

lib/swedish.js

26

lib/index.js

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

var s = require("react"), l = t(s), c = require("react-dom"), f = e(c), p = require("./number-formatter"), d = t(p), b = require("./globals"), h = exports.withData = function(e) {
var s = require("react"), l = t(s), c = require("react-dom"), f = e(c), p = require("./number-formatter"), d = t(p), b = require("./globals"), h = require("./swedish"), y = t(h), v = exports.withData = function(e) {
return function(t) {

@@ -116,3 +116,3 @@ return function(s) {

};
}, y = function(e) {
}, g = function(e) {
function t() {

@@ -131,4 +131,4 @@ return r(this, t), o(this, Object.getPrototypeOf(t).apply(this, arguments));

locale: e,
translate: function(e) {
return e;
translate: function(t) {
return 0 === e.toLowerCase().indexOf("sv-") && y["default"][t] ? y["default"][t] : t;
}

@@ -147,3 +147,3 @@ },

y.childContextTypes = {
g.childContextTypes = {
locale: l["default"].PropTypes.string,

@@ -154,11 +154,11 @@ i18n: l["default"].PropTypes.object,

var v = function(e) {
var m = function(e) {
return e.nodeType && 1 == e.nodeType;
}, g = exports.widget = function(e) {
}, w = exports.widget = function(e) {
return function(t, n, r) {
var o = v(n) ? n : document.getElementById(n);
var o = m(n) ? n : document.getElementById(n);
if (!o) throw new Error('Could not find element with id "' + n + '" (widget also accepts an Element)');
var u = l["default"].createElement(e, i({
session: t
}, r)), a = (f.render(l["default"].createElement(y, r, u), o), function() {
}, r)), a = (f.render(l["default"].createElement(g, r, u), o), function() {
f.unmountComponentAtNode(o);

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

};
}, m = exports.defer = function(e) {
}, O = exports.defer = function(e) {
window.setTimeout(e, 0);

@@ -175,5 +175,5 @@ };

exports["default"] = {
widget: g,
withData: h,
defer: m,
widget: w,
withData: v,
defer: O,
addGlobalSDK: b.addGlobalSDK,

@@ -180,0 +180,0 @@ addGlobalWidget: b.addGlobalWidget

{
"name": "six-widget-support",
"version": "0.2.6",
"version": "0.2.7",
"description": "Common functionality for SIX Widgets",

@@ -5,0 +5,0 @@ "main": "lib",

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