Socket
Socket
Sign inDemoInstall

@betty-blocks/option-helpers

Package Overview
Dependencies
Maintainers
25
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betty-blocks/option-helpers - npm Package Compare versions

Comparing version 22.6.2 to 22.6.3

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [22.6.3](https://gitlab.betty.services/code/js-mono/compare/v22.6.2...v22.6.3) (2019-09-13)
**Note:** Version bump only for package @betty-blocks/option-helpers
## [22.6.2](https://gitlab.betty.services/code/js-mono/compare/v22.6.1...v22.6.2) (2019-09-12)

@@ -8,0 +16,0 @@

18

dist/bundle.cjs.js

@@ -150,2 +150,4 @@ 'use strict';

const warning = (name, value, def) => `${name} '${value}' is not a valid value, the default value will be set ('${def}')`;
const convertSize = (size, sizes) => {

@@ -158,4 +160,6 @@ if (isUnit(size)) {

return sizes[size];
}
} // eslint-disable-next-line
console.warn(warning('Size', size, 'M'));
return sizes.M;

@@ -170,4 +174,6 @@ };

return colors[color];
}
} // eslint-disable-next-line
console.warn(warning('Color', color, 'Primary'));
return colors.Primary;

@@ -178,4 +184,6 @@ };

return fonts[font];
}
} // eslint-disable-next-line
console.warn(warning('Font', font, 'Body1'));
return fonts.Body1;

@@ -186,4 +194,6 @@ };

return sizes[viewport];
}
} // eslint-disable-next-line
console.warn(warning('Viewport', viewport, 'Mobile'));
return sizes.Mobile;

@@ -190,0 +200,0 @@ };

@@ -146,2 +146,4 @@ const XS = 'XS';

const warning = (name, value, def) => `${name} '${value}' is not a valid value, the default value will be set ('${def}')`;
const convertSize = (size, sizes) => {

@@ -154,4 +156,6 @@ if (isUnit(size)) {

return sizes[size];
}
} // eslint-disable-next-line
console.warn(warning('Size', size, 'M'));
return sizes.M;

@@ -166,4 +170,6 @@ };

return colors[color];
}
} // eslint-disable-next-line
console.warn(warning('Color', color, 'Primary'));
return colors.Primary;

@@ -174,4 +180,6 @@ };

return fonts[font];
}
} // eslint-disable-next-line
console.warn(warning('Font', font, 'Body1'));
return fonts.Body1;

@@ -182,4 +190,6 @@ };

return sizes[viewport];
}
} // eslint-disable-next-line
console.warn(warning('Viewport', viewport, 'Mobile'));
return sizes.Mobile;

@@ -186,0 +196,0 @@ };

{
"name": "@betty-blocks/option-helpers",
"version": "22.6.2",
"version": "22.6.3",
"main": "dist/bundle.cjs.js",

@@ -42,3 +42,3 @@ "module": "dist/bundle.esm.js",

},
"gitHead": "2b67d086edb829513106c77982ce17cb7a55e4c8"
"gitHead": "057eff03cc964cc45b704eb243801d8aadb2fbca"
}
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