Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dejurin committed May 13, 2024
1 parent b3e05f6 commit eff6ec3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Change emoji skin tones effortlessly. πŸ§›πŸ§›πŸ»πŸ§›πŸΌπŸ§›πŸ½πŸ§›πŸΎπŸ§›πŸΏ
* RGI Emoji Modifier Sequence.
Expand All @@ -8,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
* @param {SkinTone} tone - The skin tone to apply. If empty, returns the original emoji.
* @returns {string} The emoji string with skin tones applied where applicable.
*/
function skinTone(emoji, tone) {
export default function skinTone(emoji, tone) {
if (!tone) {
return emoji;
}
Expand Down Expand Up @@ -36,4 +34,3 @@ function skinTone(emoji, tone) {
});
return modifiedParts.join(zwj);
}
exports.default = skinTone;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qit.tools/skin-tone",
"version": "0.1.2",
"version": "0.2.0",
"description": "Change emoji skin tones effortlessly. πŸ§›πŸ§›πŸ»πŸ§›πŸΌπŸ§›πŸ½πŸ§›πŸΎπŸ§›πŸΏ",
"exports": {
"types": "./index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "CommonJS",
"module": "ESNext",
"target": "ES6",
"esModuleInterop": true,
"moduleResolution": "node",
Expand Down

0 comments on commit eff6ec3

Please sign in to comment.