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

ab-translate

Package Overview
Dependencies
Maintainers
8
Versions
600
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-translate - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

4

dist/src/abTranslate-runtime.js

@@ -40,3 +40,5 @@ "use strict";

if (specName) {
translationKeys = [].concat(new Set(Object.keys(translations).filter(function (key) {
// We use Array.from because Yoshi uses Babel in loose mode
// which unsafely transpiles Array spread on non-arrays (like a Set)
translationKeys = Array.from(new Set(Object.keys(translations).filter(function (key) {
return key.includes(specName);

@@ -43,0 +45,0 @@ }).map(function (key) {

@@ -145,3 +145,5 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (specName) {
translationKeys = [].concat(new Set(Object.keys(translations).filter(function (key) {
// We use Array.from because Yoshi uses Babel in loose mode
// which unsafely transpiles Array spread on non-arrays (like a Set)
translationKeys = Array.from(new Set(Object.keys(translations).filter(function (key) {
return key.includes(specName);

@@ -148,0 +150,0 @@ }).map(function (key) {

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.umd=t():e.umd=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=22)}({22:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!e||"[object Object]"!==e.toString())return t;if(!t)return{};var r={};for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&function(){var n=e[u],o=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(u);if(o){var c=o[2].split("abSpec-"),i=c[0],f=c[1];(f?[].concat(new Set(Object.keys(t).filter((function(e){return e.includes(f)})).map((function(e){return e.split("|abTranslate")[0]})))):[i]).forEach((function(e){if(r[e]=e,"0"!==n){var t=f?"|"+f:"";r[e]=e+"|abTranslate_"+n+t}}))}}();var c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t);for(var i in r){var f=Object.prototype.hasOwnProperty.call(r,i),a=t[r[i]];f&&a&&(c[i]=t[r[i]])}return c}r.r(t),r.d(t,"default",(function(){return u}))}})}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.umd=t():e.umd=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=22)}({22:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!e||"[object Object]"!==e.toString())return t;if(!t)return{};var r={};for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&function(){var n=e[u],o=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(u);if(o){var c=o[2].split("abSpec-"),f=c[0],i=c[1];(i?Array.from(new Set(Object.keys(t).filter((function(e){return e.includes(i)})).map((function(e){return e.split("|abTranslate")[0]})))):[f]).forEach((function(e){if(r[e]=e,"0"!==n){var t=i?"|"+i:"";r[e]=e+"|abTranslate_"+n+t}}))}}();var c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t);for(var f in r){var i=Object.prototype.hasOwnProperty.call(r,f),a=t[r[f]];i&&a&&(c[f]=t[r[f]])}return c}r.r(t),r.d(t,"default",(function(){return u}))}})}));
//# sourceMappingURL=abTranslate-runtime.bundle.min.js.map

@@ -145,3 +145,5 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (specName) {
translationKeys = [].concat(new Set(Object.keys(translations).filter(function (key) {
// We use Array.from because Yoshi uses Babel in loose mode
// which unsafely transpiles Array spread on non-arrays (like a Set)
translationKeys = Array.from(new Set(Object.keys(translations).filter(function (key) {
return key.includes(specName);

@@ -148,0 +150,0 @@ }).map(function (key) {

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.umd=t():e.umd=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=83)}({22:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!e||"[object Object]"!==e.toString())return t;if(!t)return{};var r={};for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&function(){var n=e[u],o=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(u);if(o){var c=o[2].split("abSpec-"),i=c[0],f=c[1];(f?[].concat(new Set(Object.keys(t).filter((function(e){return e.includes(f)})).map((function(e){return e.split("|abTranslate")[0]})))):[i]).forEach((function(e){if(r[e]=e,"0"!==n){var t=f?"|"+f:"";r[e]=e+"|abTranslate_"+n+t}}))}}();var c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t);for(var i in r){var f=Object.prototype.hasOwnProperty.call(r,i),a=t[r[i]];f&&a&&(c[i]=t[r[i]])}return c}r.r(t),r.d(t,"default",(function(){return u}))},83:function(e,t,r){var n=r(22);angular.module("wix.ab-translate",[]).provider("abTranslate",(function(){return{abTranslate:n,$get:n}}))}})}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.umd=t():e.umd=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=83)}({22:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!e||"[object Object]"!==e.toString())return t;if(!t)return{};var r={};for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&function(){var n=e[u],o=/specs\.abTranslate\.(.*?)\.(.*)$/.exec(u);if(o){var i=o[2].split("abSpec-"),c=i[0],f=i[1];(f?Array.from(new Set(Object.keys(t).filter((function(e){return e.includes(f)})).map((function(e){return e.split("|abTranslate")[0]})))):[c]).forEach((function(e){if(r[e]=e,"0"!==n){var t=f?"|"+f:"";r[e]=e+"|abTranslate_"+n+t}}))}}();var i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t);for(var c in r){var f=Object.prototype.hasOwnProperty.call(r,c),a=t[r[c]];f&&a&&(i[c]=t[r[c]])}return i}r.r(t),r.d(t,"default",(function(){return u}))},83:function(e,t,r){var n=r(22);angular.module("wix.ab-translate",[]).provider("abTranslate",(function(){return{abTranslate:n,$get:n}}))}})}));
//# sourceMappingURL=abTranslate.angular-runtime.bundle.min.js.map
{
"name": "ab-translate",
"version": "2.7.0",
"version": "2.8.0",
"author": {

@@ -58,3 +58,3 @@ "name": "Yair Haimovitch",

"homepage": "https://github.com/wix-private/fe-essentials/tree/master/packages/ab-translate",
"falconPackageHash": "3db5859a1a5bd03c4caafe5fae305b824b1b0a6c9aa4f9aae4ba5af1"
"falconPackageHash": "f3bfc0b2a695b74b1aabb5a8ed30e77422a6964f298089b2de5be189"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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