Socket
Socket
Sign inDemoInstall

turkish-string

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

2

dist/turkish-string.min.js

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

!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.TurkishString=r():e.TurkishString=r()}(window,function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=2)}([function(e,r,t){"use strict";var n=/[\u00E7\u011F\u0131\u0069\u00F6\u015F\u00FC]/g,o=/[\u00C7\u011E\u0049\u0130\u00D6\u015E\u00DC]/g,u=/[\u00E7\u011F\u0131\u00F6\u015F\u00FC\u00C7\u011E\u0130\u00D6\u015E\u00DC]/g,i={"ç":99.5,"Ç":67.5,"ğ":103.5,"Ğ":71.5,"ı":104.5,"İ":74.5,"ş":115.5,"Ş":83.5,"ö":111.5,"Ö":79.5,"ü":117.5,"Ü":85.5},s={"ç":"c","ı":"i","ğ":"g","ş":"s","ö":"o","ü":"u","Ç":"C","İ":"I","Ğ":"G","Ş":"S","Ö":"O","Ü":"U"},c={"İ":"i",I:"ı","Ş":"ş","Ğ":"ğ","Ü":"ü","Ö":"ö","Ç":"ç"},a={i:"İ","ş":"Ş","ğ":"Ğ","ü":"Ü","ö":"Ö","ç":"Ç","ı":"I"};function f(e,r,t){return e.replace(r,function(e){return t[e]})}e.exports={clear:function(e){return f(e,u,s)},isString:function(e){return"[object String]"===Object.prototype.toString.call(e)},getCharCode:function(e){return i[e]||e.charCodeAt(0)},toLowerCase:function(e){return f(e,o,c).toLowerCase()},toUpperCase:function(e){return f(e,n,a).toUpperCase()}}},function(e,r,t){"use strict";var n=t(0),o=n.clear,u=n.isString,i=n.getCharCode,s=n.toLowerCase,c=n.toUpperCase,a=-1,f=0,p=1;function l(e){this.source=l.resolve(e)}l.create=function(e){return new l(e)},l.resolve=function(e){if(u(e))return e;if(e instanceof l)return e.toString();throw new TypeError("expected string but found : "+JSON.stringify(e))},l.prototype.clone=function(){return new l(this.source)},l.prototype.toString=function(){return String(this.source).toString()},l.toLowerCase=function(e){return s(l.resolve(e))},l.prototype.toLowerCase=function(){return l.toLowerCase(this.source)},l.toUpperCase=function(e){return c(l.resolve(e))},l.prototype.toUpperCase=function(){return l.toUpperCase(this.source)},l.clear=function(e){return o(l.resolve(e))},l.prototype.clear=function(){return l.clear(this.source)},l.isGreaterThan=function(e,r){return l.compare(e,r)===p},l.prototype.isGreaterThan=function(e){return l.isGreaterThan(this.source,e)},l.isGreaterThanOrEqual=function(e,r){return l.compare(e,r)>a},l.prototype.isGreaterThanOrEqual=function(e){return l.isGreaterThanOrEqual(this.source,e)},l.isLessThan=function(e,r){return l.compare(e,r)===a},l.prototype.isLessThan=function(e){return l.isLessThan(this.source,e)},l.isLessThanOrEqual=function(e,r){return l.compare(e,r)<p},l.prototype.isLessThanOrEqual=function(e){return l.isLessThanOrEqual(this.source,e)},l.compare=function(e,r){var t=l.resolve(e),n=l.resolve(r);if(t!==n){for(var o=Math.min(t.length,n.length),u=0;u<o;u++)if(t[u]!==n[u])return Math.sign(i(t[u])-i(n[u]));return t.length>n.length?p:a}return f},e.exports=l},function(e,r,t){"use strict";e.exports=t(1)}])});
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.TurkishString=r():e.TurkishString=r()}(this,function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=2)}([function(e,r,t){"use strict";var n=/[\u00E7\u011F\u0131\u0069\u00F6\u015F\u00FC]/g,o=/[\u00C7\u011E\u0049\u0130\u00D6\u015E\u00DC]/g,u=/[\u00E7\u011F\u0131\u00F6\u015F\u00FC\u00C7\u011E\u0130\u00D6\u015E\u00DC]/g,i={"ç":99.5,"Ç":67.5,"ğ":103.5,"Ğ":71.5,"ı":104.5,"İ":74.5,"ş":115.5,"Ş":83.5,"ö":111.5,"Ö":79.5,"ü":117.5,"Ü":85.5},s={"ç":"c","ı":"i","ğ":"g","ş":"s","ö":"o","ü":"u","Ç":"C","İ":"I","Ğ":"G","Ş":"S","Ö":"O","Ü":"U"},c={"İ":"i",I:"ı","Ş":"ş","Ğ":"ğ","Ü":"ü","Ö":"ö","Ç":"ç"},a={i:"İ","ş":"Ş","ğ":"Ğ","ü":"Ü","ö":"Ö","ç":"Ç","ı":"I"};function f(e,r,t){return e.replace(r,function(e){return t[e]})}e.exports={clear:function(e){return f(e,u,s)},isString:function(e){return"[object String]"===Object.prototype.toString.call(e)},getCharCode:function(e){return i[e]||e.charCodeAt(0)},toLowerCase:function(e){return f(e,o,c).toLowerCase()},toUpperCase:function(e){return f(e,n,a).toUpperCase()}}},function(e,r,t){"use strict";var n=t(0),o=n.clear,u=n.isString,i=n.getCharCode,s=n.toLowerCase,c=n.toUpperCase,a=-1,f=0,p=1;function l(e){this.source=l.resolve(e)}l.create=function(e){return new l(e)},l.resolve=function(e){if(u(e))return e;if(e instanceof l)return e.toString();throw new TypeError("expected string but found : "+JSON.stringify(e))},l.prototype.clone=function(){return new l(this.source)},l.prototype.toString=function(){return String(this.source).toString()},l.toLowerCase=function(e){return s(l.resolve(e))},l.prototype.toLowerCase=function(){return l.toLowerCase(this.source)},l.toUpperCase=function(e){return c(l.resolve(e))},l.prototype.toUpperCase=function(){return l.toUpperCase(this.source)},l.clear=function(e){return o(l.resolve(e))},l.prototype.clear=function(){return l.clear(this.source)},l.isGreaterThan=function(e,r){return l.compare(e,r)===p},l.prototype.isGreaterThan=function(e){return l.isGreaterThan(this.source,e)},l.isGreaterThanOrEqual=function(e,r){return l.compare(e,r)>a},l.prototype.isGreaterThanOrEqual=function(e){return l.isGreaterThanOrEqual(this.source,e)},l.isLessThan=function(e,r){return l.compare(e,r)===a},l.prototype.isLessThan=function(e){return l.isLessThan(this.source,e)},l.isLessThanOrEqual=function(e,r){return l.compare(e,r)<p},l.prototype.isLessThanOrEqual=function(e){return l.isLessThanOrEqual(this.source,e)},l.compare=function(e,r){var t=l.resolve(e),n=l.resolve(r);if(t!==n){for(var o=Math.min(t.length,n.length),u=0;u<o;u++)if(t[u]!==n[u])return Math.sign(i(t[u])-i(n[u]));return t.length>n.length?p:a}return f},e.exports=l},function(e,r,t){"use strict";e.exports=t(1)}])});
{
"name": "turkish-string",
"version": "1.1.1",
"version": "1.1.2",
"description": "isomorphic turkish string utilities for javascript",

@@ -5,0 +5,0 @@ "main": "dist/turkish-string.min.js",

@@ -10,3 +10,4 @@ var path = require('path');

path: path.resolve(__dirname, 'dist'),
filename: 'turkish-string.min.js'
filename: 'turkish-string.min.js',
globalObject: 'this'
},

@@ -13,0 +14,0 @@ module: {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc