Code Monkey home page Code Monkey logo

smile2emoji's Introduction

💫About Me :

Hello, My name is Federico and I'm a Software Engineer and Tech Lead with a passion for technology and the whole ICT world.

I have been developing web applications for more than 7 years, with working hands-on experience using Javascript (React, Node, Vanilla), Java, Ruby on Rails, PHP and others. I enjoy being challenged and working on projects that require me to work outside my comfort and knowledge set, as continuing to learn new coding languages and development techniques are important to me.

Born in 1989, I have a Bachelor’s degree in Electronic Engineering and a Master’s degree in Management ICT Engineering. Italian mother tongue, I speak, write and read English at very good level. Agile SCRUM active user and supporter. I’m also a big tennis fan (and poor tennis player). I created and developed a quite big project related to tennis: https://www.tennistalker.it A website built on AWS with RoR backend and React frontend, with more than 12k unique users a day.

🌐Socials

Facebook Instagram LinkedIn Stack Overflow

💻Tech Stack

JavaScript Java HTML5 CSS3 Ruby PHP TypeScript AWS Netlify .Net Bootstrap Electron.js Express.js Chart.js jQuery Less NPM NodeJS Next JS Rails React React Router Redux SASS Styled Components TailwindCSS Webpack Apache Nginx Apache Maven Apache Ant MongoDB MySQL Postgres Redis Figma Arduino Confluence Docker ESLint Jira Notion Postman Swagger Trello

📊GitHub Stats :



🏆GitHub Trophies

✍️Random Dev Quote


smile2emoji's People

Contributors

dependabot[bot] avatar emish89 avatar fossabot avatar renovate-bot avatar renovate[bot] avatar sebamarynissen avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

smile2emoji's Issues

string "constructor" will produce strange output

If you pass the string "constructor" to checkText() , you will get the following string back: "function Object() { [native code] }"

To Reproduce
Steps to reproduce the behavior:
add this basic snippet:

console.log(checkText("constructor"));

Expected behavior
the function should return "constructor"

Desktop (please complete the following information):

  • OS: Windows
  • any
  • Version latest modern browsers

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/codesee-arch-diagram.yml
  • Codesee-io/codesee-action v2
.github/workflows/publish.yml
  • actions/checkout v4
.github/workflows/release.yml
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/setup-node v4
npm
package.json
  • @babel/cli 7.24.7
  • @babel/eslint-parser 7.24.7
  • @babel/preset-env 7.24.7
  • @babel/preset-typescript 7.24.7
  • @babel/register 7.24.6
  • @eslint/js ^9.3.0
  • @semantic-release/changelog 6.0.3
  • @semantic-release/commit-analyzer 13.0.0
  • @semantic-release/git 10.0.1
  • @semantic-release/github 10.0.6
  • @semantic-release/npm 12.0.1
  • @types/mocha ^10.0.6
  • @typescript-eslint/eslint-plugin 7.13.1
  • @typescript-eslint/parser 7.13.1
  • babel-plugin-add-module-exports 1.0.4
  • babel-preset-minify 0.5.2
  • chai 5.1.1
  • conventional-changelog-conventionalcommits 8.0.0
  • cross-env 7.0.3
  • eslint 9.5.0
  • eslint-config-airbnb 19.0.4
  • eslint-plugin-import 2.29.1
  • eslint-plugin-jsx-a11y 6.8.0
  • globals ^15.3.0
  • mocha 10.4.0
  • nyc 17.0.0
  • prettier 3.3.2
  • rimraf 5.0.7
  • ts-node ^10.9.2
  • typescript 5.4.5
  • typescript-eslint ^7.10.0

  • Check this box to trigger a request for Renovate to run again on this repository

New lines, first characters are not replaced

Describe the bug
I use the module for a textarea.
Pressing enter and try to enter something for replacement won't work. It needs at least one space before.

To Reproduce
Steps to reproduce the behavior:

  1. Create a textarea with checkText used in the EventListener
  2. Press Enter to get a new line in the text area
  3. Enter :-) or any other string to be replaced as the first characters of the line

Expected behavior
The entered string at the beginning of the line are replaced with the emoji.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows, Android
  • Browser Chrome, Edge,...

Demo Website

Is your feature request related to a problem? Please describe.
I wanted to test this out before downloading it, would it be possible for you to create a small demo website? I could create it if needed.

Describe the solution you'd like
A demo website (even one hosted on gh-pages) would be nice :)

I could create and PR, if this is acceptable :)

index.js needs to be renamed to index.cjs to work...

Using Next.js 14. Getting this error in console:

stderr:  ⨯ ReferenceError: exports is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/Users/admin/Development/ff/ff-web/node_modules/smile2emoji/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
    at file:///Users/admin/Development/ff/ff-web/node_modules/smile2emoji/lib/index.js:1:36
    at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:430:15) {
  page: '/app'
}

and on web page:

ReferenceError: exports is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/Users/admin/Development/ff/ff-web/node_modules/smile2emoji/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.

Renaming index.js to index.cjs did fix it, along with changing the path in package.json:

"main": "./lib/index.cjs",
"module": "./lib/index.cjs",

Please fix it so we don't need to update a node module :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.