text-direction
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,1 +0,1 @@ | ||
this.textDirection=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=0)}([function(e,t,r){"use strict";r.r(t),t.default=function(e){return document.defaultView.getComputedStyle(e||document.body).direction}}]).default; | ||
(()=>{"use strict";var e={d:(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function o(e){return document.defaultView.getComputedStyle(e||document.body).direction}e.d(t,{default:()=>o}),this.textDirection=t.default})(); |
{ | ||
"name": "text-direction", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Get the text direction from the browser.", | ||
@@ -9,2 +9,6 @@ "main": "text-direction.js", | ||
], | ||
"type": "module", | ||
"exports": { | ||
"default": "./text-direction.js" | ||
}, | ||
"unpkg": "dist/text-direction.min.js", | ||
@@ -43,11 +47,10 @@ "jsdelivr": "dist/text-direction.min.js", | ||
"devDependencies": { | ||
"@gmartigny/eslint-config": "^1.3.1", | ||
"@pencil.js/test-environment": "^1.1.0", | ||
"ava": "^3.0.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-import": "^2.20.0", | ||
"@gmartigny/eslint-config": "^1.7.0", | ||
"@pencil.js/test-environment": "^1.2.1", | ||
"ava": "^3.15.0", | ||
"eslint": "^7.32.0", | ||
"esm": "^3.2.25", | ||
"webpack": "^4.41.5", | ||
"webpack-cli": "^3.3.5" | ||
"webpack": "^5.47.1", | ||
"webpack-cli": "^4.7.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7
Yes
4947