@qlean/york-core
Advanced tools
Comparing version 3.7.1 to 3.9.0
module.exports = { | ||
presets: ['@babel/preset-env'], | ||
plugins: ['@babel/plugin-transform-runtime'], | ||
} |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -7,2 +9,3 @@ value: true | ||
var _exportNames = { | ||
fetcher: true, | ||
sizes: true, | ||
@@ -12,2 +15,8 @@ formatServerError: true, | ||
}; | ||
Object.defineProperty(exports, "fetcher", { | ||
enumerable: true, | ||
get: function get() { | ||
return _fetcher["default"]; | ||
} | ||
}); | ||
Object.defineProperty(exports, "sizes", { | ||
@@ -32,2 +41,4 @@ enumerable: true, | ||
var _fetcher = _interopRequireDefault(require("./fetcher")); | ||
var _colors = require("./styles/colors"); | ||
@@ -76,4 +87,2 @@ | ||
var _legacyMoney = _interopRequireDefault(require("./utils/legacyMoney")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
var _legacyMoney = _interopRequireDefault(require("./utils/legacyMoney")); |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -8,16 +12,6 @@ value: true | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); | ||
var R = _interopRequireWildcard(require("ramda")); | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; if (obj != null) { var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } | ||
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } | ||
function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } | ||
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } | ||
var hexColors = { | ||
@@ -48,3 +42,3 @@ green: 0x00aa64ff, | ||
}))(hexColor.toString(16)), | ||
_R$pipe2 = _slicedToArray(_R$pipe, 4), | ||
_R$pipe2 = (0, _slicedToArray2["default"])(_R$pipe, 4), | ||
r = _R$pipe2[0], | ||
@@ -51,0 +45,0 @@ g = _R$pipe2[1], |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -12,6 +14,2 @@ value: true | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; if (obj != null) { var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
var getErrorData = function getErrorData(error) { | ||
@@ -18,0 +16,0 @@ var data = R.prop('data', error) || {}; |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -8,10 +10,4 @@ value: true | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); | ||
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } | ||
function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } | ||
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } | ||
var isInRange = function isInRange(number, start, end) { | ||
@@ -71,3 +67,3 @@ return number >= start && number <= end; | ||
var _value$split = value.split('/'), | ||
_value$split2 = _slicedToArray(_value$split, 2), | ||
_value$split2 = (0, _slicedToArray2["default"])(_value$split, 2), | ||
monthString = _value$split2[0], | ||
@@ -74,0 +70,0 @@ yearString = _value$split2[1]; |
{ | ||
"name": "@qlean/york-core", | ||
"version": "3.7.1", | ||
"version": "3.9.0", | ||
"description": "", | ||
@@ -20,3 +20,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "c6776480fd0c3d8f8a16aba93686e0f49b9bf6c6" | ||
"gitHead": "57723b193ab8c26642646b3b7aae2090756f6cec" | ||
} |
@@ -0,1 +1,2 @@ | ||
export { default as fetcher } from './fetcher' | ||
export * from './styles/colors' | ||
@@ -2,0 +3,0 @@ export * from './utils/formatters' |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
44332
31
917
4