New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@qlean/york-core

Package Overview
Dependencies
Maintainers
8
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qlean/york-core - npm Package Compare versions

Comparing version 3.3.0 to 3.6.0

docs/formatters/capitalize.md

52

lib/index.js

@@ -8,6 +8,3 @@ "use strict";

sizes: true,
capitalize: true,
formatPhoneForHref: true,
formatServerError: true,
format: true,
money: true

@@ -21,30 +18,12 @@ };

});
Object.defineProperty(exports, "capitalize", {
enumerable: true,
get: function get() {
return _capitalize["default"];
}
});
Object.defineProperty(exports, "formatPhoneForHref", {
enumerable: true,
get: function get() {
return _formatPhoneForHref["default"];
}
});
Object.defineProperty(exports, "formatServerError", {
enumerable: true,
get: function get() {
return _formatServerError["default"];
return _legacyFormatServerError["default"];
}
});
Object.defineProperty(exports, "format", {
enumerable: true,
get: function get() {
return _format["default"];
}
});
Object.defineProperty(exports, "money", {
enumerable: true,
get: function get() {
return _money["default"];
return _legacyMoney["default"];
}

@@ -66,5 +45,5 @@ });

var _validate = require("./utils/validate");
var _formatters = require("./utils/formatters");
Object.keys(_validate).forEach(function (key) {
Object.keys(_formatters).forEach(function (key) {
if (key === "default" || key === "__esModule") return;

@@ -75,3 +54,3 @@ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;

get: function get() {
return _validate[key];
return _formatters[key];
}

@@ -81,14 +60,21 @@ });

var _sizes = _interopRequireDefault(require("./styles/sizes"));
var _validators = require("./utils/validators");
var _capitalize = _interopRequireDefault(require("./utils/capitalize"));
Object.keys(_validators).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _validators[key];
}
});
});
var _formatPhoneForHref = _interopRequireDefault(require("./utils/formatPhoneForHref"));
var _sizes = _interopRequireDefault(require("./styles/sizes"));
var _formatServerError = _interopRequireDefault(require("./utils/formatServerError"));
var _legacyFormatServerError = _interopRequireDefault(require("./utils/legacyFormatServerError"));
var _format = _interopRequireDefault(require("./utils/format"));
var _legacyMoney = _interopRequireDefault(require("./utils/legacyMoney"));
var _money = _interopRequireDefault(require("./utils/money"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -10,4 +10,6 @@ "use strict";

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj["default"] = obj; return newObj; } }
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(); }

@@ -17,3 +19,3 @@

function _iterableToArrayLimit(arr, i) { 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 _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; }

@@ -20,0 +22,0 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }

{
"name": "@qlean/york-core",
"version": "3.3.0",
"version": "3.6.0",
"description": "",

@@ -15,5 +15,3 @@ "license": "MIT",

"clean": "rimraf coverage lib",
"lint": "eslint . --ext .js",
"test": "jest",
"test:watch": "jest --watch"
"lint": "eslint . --ext .js"
},

@@ -23,3 +21,3 @@ "peerDependencies": {

},
"gitHead": "b6f8bcfee4e424e7c97750f95a34871de2feb6f9"
"gitHead": "f826b3d50fc86f1668090da2a47bd429fae5d03a"
}
export * from './styles/colors'
export * from './utils/validate'
export * from './utils/formatters'
export * from './utils/validators'
export { default as sizes } from './styles/sizes'
export { default as capitalize } from './utils/capitalize'
export { default as formatPhoneForHref } from './utils/formatPhoneForHref'
export { default as formatServerError } from './utils/formatServerError'
export { default as format } from './utils/format'
export { default as money } from './utils/money'
export { default as formatServerError } from './utils/legacyFormatServerError'
export { default as money } from './utils/legacyMoney'
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