@svgmoji/core
Advanced tools
Comparing version 3.1.0 to 3.2.0
# @svgmoji/core | ||
## 3.2.0 | ||
> 2021-06-15 | ||
### Patch Changes | ||
- 71bb8f85: Regenerate exported `.svg` and `.json` files with latest version of [**SVGO**](https://github.com/svg/svgo). | ||
## 3.1.0 | ||
@@ -4,0 +12,0 @@ |
@@ -489,2 +489,4 @@ 'use strict'; | ||
const _excluded$2 = ["version"]; | ||
async function runInBrowser(callback) { | ||
@@ -505,3 +507,3 @@ | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["version"]); | ||
opts = _objectWithoutProperties(options, _excluded$2); | ||
@@ -589,2 +591,5 @@ if (process.env.NODE_ENV === 'dev') { | ||
const _excluded$1 = ["skins", "tone"], | ||
_excluded2 = ["tone"]; | ||
/** | ||
@@ -626,3 +631,3 @@ * Throws an error if the tone is undefined. | ||
} = emojiWithShortcodes, | ||
base = _objectWithoutProperties(emojiWithShortcodes, ["skins", "tone"]); | ||
base = _objectWithoutProperties(emojiWithShortcodes, _excluded$1); | ||
@@ -640,3 +645,3 @@ emojis.push(createFlatEmoji(base, skins, tone)); | ||
} = _skin, | ||
baseSkin = _objectWithoutProperties(_skin, ["tone"]); | ||
baseSkin = _objectWithoutProperties(_skin, _excluded2); | ||
@@ -654,2 +659,3 @@ if (base.tags) { | ||
const _excluded = ["shortcodes"]; | ||
async function fetchEmojis(locale) { | ||
@@ -661,3 +667,3 @@ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["shortcodes"]); | ||
opts = _objectWithoutProperties(options, _excluded); | ||
@@ -664,0 +670,0 @@ const emojis = await fetchFromCDN("".concat(locale, "/data.json"), opts); |
@@ -486,2 +486,4 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
const _excluded$2 = ["version"]; | ||
async function runInBrowser(callback) { | ||
@@ -502,3 +504,3 @@ | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["version"]); | ||
opts = _objectWithoutProperties(options, _excluded$2); | ||
@@ -586,2 +588,5 @@ if (process.env.NODE_ENV === 'dev') { | ||
const _excluded$1 = ["skins", "tone"], | ||
_excluded2 = ["tone"]; | ||
/** | ||
@@ -623,3 +628,3 @@ * Throws an error if the tone is undefined. | ||
} = emojiWithShortcodes, | ||
base = _objectWithoutProperties(emojiWithShortcodes, ["skins", "tone"]); | ||
base = _objectWithoutProperties(emojiWithShortcodes, _excluded$1); | ||
@@ -637,3 +642,3 @@ emojis.push(createFlatEmoji(base, skins, tone)); | ||
} = _skin, | ||
baseSkin = _objectWithoutProperties(_skin, ["tone"]); | ||
baseSkin = _objectWithoutProperties(_skin, _excluded2); | ||
@@ -651,2 +656,3 @@ if (base.tags) { | ||
const _excluded = ["shortcodes"]; | ||
async function fetchEmojis(locale) { | ||
@@ -658,3 +664,3 @@ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["shortcodes"]); | ||
opts = _objectWithoutProperties(options, _excluded); | ||
@@ -661,0 +667,0 @@ const emojis = await fetchFromCDN("".concat(locale, "/data.json"), opts); |
@@ -489,2 +489,4 @@ 'use strict'; | ||
const _excluded$2 = ["version"]; | ||
async function runInBrowser(callback) { | ||
@@ -508,3 +510,3 @@ if (typeof document === 'undefined') { | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["version"]); | ||
opts = _objectWithoutProperties(options, _excluded$2); | ||
@@ -592,2 +594,5 @@ if (process.env.NODE_ENV === 'dev') { | ||
const _excluded$1 = ["skins", "tone"], | ||
_excluded2 = ["tone"]; | ||
/** | ||
@@ -629,3 +634,3 @@ * Throws an error if the tone is undefined. | ||
} = emojiWithShortcodes, | ||
base = _objectWithoutProperties(emojiWithShortcodes, ["skins", "tone"]); | ||
base = _objectWithoutProperties(emojiWithShortcodes, _excluded$1); | ||
@@ -643,3 +648,3 @@ emojis.push(createFlatEmoji(base, skins, tone)); | ||
} = _skin, | ||
baseSkin = _objectWithoutProperties(_skin, ["tone"]); | ||
baseSkin = _objectWithoutProperties(_skin, _excluded2); | ||
@@ -657,2 +662,3 @@ if (base.tags) { | ||
const _excluded = ["shortcodes"]; | ||
async function fetchEmojis(locale) { | ||
@@ -664,3 +670,3 @@ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["shortcodes"]); | ||
opts = _objectWithoutProperties(options, _excluded); | ||
@@ -667,0 +673,0 @@ const emojis = await fetchFromCDN("".concat(locale, "/data.json"), opts); |
@@ -489,2 +489,4 @@ 'use strict'; | ||
const _excluded$2 = ["version"]; | ||
async function runInBrowser(callback) { | ||
@@ -508,3 +510,3 @@ if (typeof document === 'undefined') { | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["version"]); | ||
opts = _objectWithoutProperties(options, _excluded$2); | ||
@@ -582,2 +584,5 @@ const cacheKey = "svgmoji/".concat(version, "/").concat(path); | ||
const _excluded$1 = ["skins", "tone"], | ||
_excluded2 = ["tone"]; | ||
/** | ||
@@ -619,3 +624,3 @@ * Throws an error if the tone is undefined. | ||
} = emojiWithShortcodes, | ||
base = _objectWithoutProperties(emojiWithShortcodes, ["skins", "tone"]); | ||
base = _objectWithoutProperties(emojiWithShortcodes, _excluded$1); | ||
@@ -633,3 +638,3 @@ emojis.push(createFlatEmoji(base, skins, tone)); | ||
} = _skin, | ||
baseSkin = _objectWithoutProperties(_skin, ["tone"]); | ||
baseSkin = _objectWithoutProperties(_skin, _excluded2); | ||
@@ -647,2 +652,3 @@ if (base.tags) { | ||
const _excluded = ["shortcodes"]; | ||
async function fetchEmojis(locale) { | ||
@@ -654,3 +660,3 @@ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["shortcodes"]); | ||
opts = _objectWithoutProperties(options, _excluded); | ||
@@ -657,0 +663,0 @@ const emojis = await fetchFromCDN("".concat(locale, "/data.json"), opts); |
@@ -486,2 +486,4 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
const _excluded$2 = ["version"]; | ||
async function runInBrowser(callback) { | ||
@@ -505,3 +507,3 @@ if (typeof document === 'undefined') { | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["version"]); | ||
opts = _objectWithoutProperties(options, _excluded$2); | ||
@@ -589,2 +591,5 @@ if (process.env.NODE_ENV === 'dev') { | ||
const _excluded$1 = ["skins", "tone"], | ||
_excluded2 = ["tone"]; | ||
/** | ||
@@ -626,3 +631,3 @@ * Throws an error if the tone is undefined. | ||
} = emojiWithShortcodes, | ||
base = _objectWithoutProperties(emojiWithShortcodes, ["skins", "tone"]); | ||
base = _objectWithoutProperties(emojiWithShortcodes, _excluded$1); | ||
@@ -640,3 +645,3 @@ emojis.push(createFlatEmoji(base, skins, tone)); | ||
} = _skin, | ||
baseSkin = _objectWithoutProperties(_skin, ["tone"]); | ||
baseSkin = _objectWithoutProperties(_skin, _excluded2); | ||
@@ -654,2 +659,3 @@ if (base.tags) { | ||
const _excluded = ["shortcodes"]; | ||
async function fetchEmojis(locale) { | ||
@@ -661,3 +667,3 @@ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
} = options, | ||
opts = _objectWithoutProperties(options, ["shortcodes"]); | ||
opts = _objectWithoutProperties(options, _excluded); | ||
@@ -664,0 +670,0 @@ const emojis = await fetchFromCDN("".concat(locale, "/data.json"), opts); |
{ | ||
"name": "@svgmoji/core", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Utilities forked from emojibase for working with svgmoji", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
"match-sorter": "^6.2.0", | ||
"type-fest": "^0.20 || ^0.21" | ||
"type-fest": "^1.2.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
109624
3202
+ Addedtype-fest@1.4.0(transitive)
- Removedtype-fest@0.21.3(transitive)
Updatedtype-fest@^1.2.0