@twreporter/core
Advanced tools
Comparing version 1.22.0 to 1.22.1-rc.0
@@ -6,2 +6,14 @@ # Change Log | ||
## [1.22.1-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.22.0...@twreporter/core@1.22.1-rc.0) (2024-06-03) | ||
### Bug Fixes | ||
* follow style guide ([c71f9a0](https://github.com/twreporter/twreporter-npm-packages/commit/c71f9a02d29c1c255dd62ce1cd442d812b12f06b)) | ||
* use core screen tablet value ([25c0b9a](https://github.com/twreporter/twreporter-npm-packages/commit/25c0b9a2c7c558f18ad3e2b35da1068da503155b)) | ||
# [1.22.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.22.0-rc.0...@twreporter/core@1.22.0) (2024-05-30) | ||
@@ -8,0 +20,0 @@ |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports["default"] = exports.DEFAULT_SCREEN = void 0; | ||
exports.getMediaQueryUtil = getMediaQueryUtil; | ||
@@ -12,3 +12,3 @@ | ||
var defaultScreen = { | ||
var DEFAULT_SCREEN = Object.freeze({ | ||
tablet: { | ||
@@ -23,6 +23,7 @@ minWidth: 768 | ||
} | ||
}; | ||
}); | ||
exports.DEFAULT_SCREEN = DEFAULT_SCREEN; | ||
function getMediaQueryUtil() { | ||
var screen = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultScreen; | ||
var screen = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_SCREEN; | ||
return { | ||
@@ -56,4 +57,4 @@ mobileOnly: function mobileOnly() { | ||
var defaultMq = getMediaQueryUtil(defaultScreen); | ||
var defaultMq = getMediaQueryUtil(DEFAULT_SCREEN); | ||
var _default = defaultMq; | ||
exports["default"] = _default; |
{ | ||
"name": "@twreporter/core", | ||
"version": "1.22.0", | ||
"version": "1.22.1-rc.0", | ||
"main": "lib/index.js", | ||
@@ -23,3 +23,3 @@ "repository": "https://github.com/twreporter/twreporter-npm-packages.git", | ||
], | ||
"gitHead": "140b33e61fd76615028d242dc55a63f9a1792a36" | ||
"gitHead": "40ff2a4c83c47f90335072049e9bb65a789088a6" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
89461
963
2