Comparing version 4.1.0 to 4.2.0
@@ -8,3 +8,3 @@ "use strict"; | ||
enumerable: true, | ||
get: function get() { | ||
get: function () { | ||
return _emojis.collection; | ||
@@ -15,3 +15,3 @@ } | ||
enumerable: true, | ||
get: function get() { | ||
get: function () { | ||
return _emojis.emojiRegex; | ||
@@ -22,3 +22,3 @@ } | ||
enumerable: true, | ||
get: function get() { | ||
get: function () { | ||
return _emojis.shortnameRegex; | ||
@@ -25,0 +25,0 @@ } |
@@ -16,8 +16,2 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
const AVAILABLE_SIZES = { | ||
@@ -81,3 +75,5 @@ 32: true, | ||
const getOptions = options => _objectSpread(_objectSpread({}, defaultOptions), options); | ||
const getOptions = options => ({ ...defaultOptions, | ||
...options | ||
}); | ||
@@ -84,0 +80,0 @@ exports.getOptions = getOptions; |
@@ -9,3 +9,3 @@ { | ||
"bugs": "https://github.com/goodhood-eu/emojitsu/issues", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"keywords": [ | ||
@@ -36,19 +36,19 @@ "emoji", | ||
"devDependencies": { | ||
"@babel/cli": "^7.12.1", | ||
"@babel/core": "^7.12.3", | ||
"@babel/plugin-proposal-json-strings": "^7.12.1", | ||
"@babel/plugin-transform-strict-mode": "^7.12.1", | ||
"@babel/preset-env": "^7.12.1", | ||
"browserslist-config-nebenan": "^1.0.0", | ||
"@babel/cli": "^7.10.4", | ||
"@babel/core": "^7.10.4", | ||
"@babel/plugin-proposal-json-strings": "^7.10.4", | ||
"@babel/plugin-transform-strict-mode": "^7.10.4", | ||
"@babel/preset-env": "^7.10.4", | ||
"chai": "^4.2.0", | ||
"chalk": "^4.1.0", | ||
"emoji-assets": "6.0.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-nebenan-base": "^1.5.1", | ||
"eslint": "^7.13.0", | ||
"eslint-config-nebenan-base": "^1.6.0", | ||
"express": "^4.17.1", | ||
"got": "^11.5.0", | ||
"got": "^11.8.0", | ||
"lodash.difference": "^4.5.0", | ||
"lodash.uniq": "^4.5.0", | ||
"mkdirp": "^1.0.4", | ||
"mocha": "^8.0.1", | ||
"mocha": "^8.2.1", | ||
"regexgen": "^1.3.0" | ||
@@ -55,0 +55,0 @@ }, |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
471187
20075