Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tadashi/mask

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tadashi/mask - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

src/mask.js

46

package.json
{
"name": "@tadashi/mask",
"version": "3.0.0",
"version": "4.0.0",
"description": "The simple and tiny script for input mask",

@@ -19,5 +19,6 @@ "keywords": [

},
"main": "src/index.js",
"type": "module",
"main": "./src/mask.js",
"browser": "./src/mask.js",
"files": [
"dist",
"src",

@@ -30,35 +31,14 @@ "license",

"coverage": "jest test --coverage --coverageReporters=lcov",
"rm": "rm -rf dist",
"rollup": "rollup -c",
"build": "run-s test rm rollup",
"prepublishOnly": "npm run build",
"pretest": "xo",
"test": "jest test"
"eslint": "eslint --config .eslintrc.yml --ext .js --ignore-path .gitignore .",
"pretest": "npm run eslint",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest --coverage --coverageReporters=lcov --coverageReporters=text"
},
"xo": {
"envs": [
"es6"
],
"globals": [
"beforeEach",
"test",
"expect",
"document",
"HTMLInputElement"
],
"esnext": true,
"semicolon": false,
"rules": {
"capitalized-comments": 0,
"unicorn/prevent-abbreviations": 0
}
},
"devDependencies": {
"@babel/preset-env": "7.13.10",
"jest": "26.6.3",
"npm-run-all": "4.1.5",
"rollup": "2.41.1",
"simulant": "0.2.2",
"xo": "0.38.2"
"eslint": "8.23.1",
"eslint-config-xo": "0.42.0",
"eslint-plugin-unicorn": "43.0.2",
"jest": "29.0.3",
"jest-environment-jsdom": "29.0.3",
"simulant": "0.2.2"
}
}
# Mask
[![NPM version][npm-img]][npm]
[![Build Status][ci-img]][ci]

@@ -7,10 +8,13 @@ [![Coverage Status][coveralls-img]][coveralls]

[ci-img]: https://github.com/lagden/mask/workflows/Node.js%20CI/badge.svg
[ci]: https://github.com/lagden/mask/actions?query=workflow%3A%22Node.js+CI%22
[coveralls-img]: https://coveralls.io/repos/github/lagden/mask/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/lagden/mask?branch=master
[xo-img]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg
[xo]: https://github.com/sindresorhus/xo
[npm-img]: https://img.shields.io/npm/v/@tadashi/mask.svg
[npm]: https://www.npmjs.com/package/@tadashi/mask
[ci-img]: https://github.com/lagden/mask/actions/workflows/nodejs.yml/badge.svg
[ci]: https://github.com/lagden/mask/actions/workflows/nodejs.yml
[coveralls-img]: https://coveralls.io/repos/github/lagden/mask/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/lagden/mask?branch=master
[xo-img]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg
[xo]: https://github.com/sindresorhus/xo
The simple and tiny script for input mask

@@ -34,3 +38,4 @@

<script type="module">
import Mask from 'https://unpkg.com/@tadashi/mask@{version}/src/index.js'
import Mask from 'https://unpkg.com/@tadashi/mask@{version}/src/mask.js'
const mask = new Mask(telefone)

@@ -37,0 +42,0 @@ </script>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc