@plaidev/karte-action-sdk 1.1.251 → 1.1.252

Sign up to get free protection for your applications and to get access to all the features.
@@ -15120,7 +15120,7 @@ function rgbToHex(r, g, b) {
15120
15120
  function darkenColor(color, percent) {
15121
15121
  let r, g, b;
15122
15122
  if (color.startsWith('rgba') || color.startsWith('rgb')) {
15123
- const rgbaMatch = color.replace(', ', ',').match(/rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)/);
15123
+ const rgbaMatch = color.replace(/, /g, ',').match(/rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)/);
15124
15124
  if (rgbaMatch) {
15125
15125
  r = parseInt(rgbaMatch[1]);
15126
15126
  g = parseInt(rgbaMatch[2]);
package/dist/index.es.js CHANGED
@@ -14032,7 +14032,7 @@ function rgbToHex(r, g, b) {
14032
14032
  function darkenColor(color, percent) {
14033
14033
  let r, g, b;
14034
14034
  if (color.startsWith('rgba') || color.startsWith('rgb')) {
14035
- const rgbaMatch = color.replace(', ', ',').match(/rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)/);
14035
+ const rgbaMatch = color.replace(/, /g, ',').match(/rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)/);
14036
14036
  if (rgbaMatch) {
14037
14037
  r = parseInt(rgbaMatch[1]);
14038
14038
  g = parseInt(rgbaMatch[2]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.251",
3
+ "version": "1.1.252",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",