Socket
Socket
Sign inDemoInstall

ember-mask-input

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-mask-input - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

2

index.js

@@ -8,3 +8,3 @@ 'use strict';

module.exports = {
name: 'ember-mask-input',
name: require('./package').name,

@@ -11,0 +11,0 @@ isDevelopingAddon : function(){

{
"name": "ember-mask-input",
"version": "3.0.2",
"version": "3.1.0",
"description": "Ember input component that uses jquery-mask-plugin",

@@ -8,2 +8,3 @@ "keywords": [

],
"repository": "https://github.com/ahmetemrekilinc/ember-mask-input.git",
"license": "MIT",

@@ -15,6 +16,6 @@ "author": "ahmetemrekilinc",

},
"repository": "https://github.com/ahmetemrekilinc/ember-mask-input.git",
"scripts": {
"build": "ember build",
"lint:js": "eslint ./*.js addon addon-test-support app config lib server test-support tests",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"start": "ember serve",

@@ -25,32 +26,34 @@ "test": "ember test",

"dependencies": {
"ember-cli-babel": "6.6.0",
"jquery-mask-plugin": "1.14.11"
"ember-cli-babel": "6.16.0",
"jquery-mask-plugin": "1.14.15"
},
"devDependencies": {
"broccoli-asset-rev": "2.4.5",
"ember-ajax": "3.0.0",
"ember-cli": "3.1.2",
"ember-cli-dependency-checker": "2.0.0",
"ember-cli-eslint": "4.2.1",
"ember-cli-htmlbars": "2.0.3",
"ember-cli-htmlbars-inline-precompile": "1.0.0",
"ember-cli-inject-live-reload": "1.4.1",
"ember-cli-qunit": "4.3.2",
"ember-cli-shims": "1.2.0",
"ember-cli-sri": "2.1.0",
"ember-cli-uglify": "2.0.0",
"@ember/optional-features": "0.6.3",
"broccoli-asset-rev": "2.7.0",
"ember-ajax": "3.1.0",
"ember-cli": "3.5.0",
"ember-cli-dependency-checker": "3.0.0",
"ember-cli-eslint": "4.2.3",
"ember-cli-htmlbars": "3.0.0",
"ember-cli-htmlbars-inline-precompile": "1.0.3",
"ember-cli-inject-live-reload": "1.8.2",
"ember-cli-sri": "2.1.1",
"ember-cli-template-lint": "1.0.0-beta.1",
"ember-cli-uglify": "2.1.0",
"ember-export-application-global": "2.0.0",
"ember-load-initializers": "1.0.0",
"ember-load-initializers": "1.1.0",
"ember-maybe-import-regenerator": "0.1.6",
"ember-resolver": "4.0.0",
"ember-source": "3.1.0",
"ember-source-channel-url": "1.0.1",
"ember-try": "0.2.23",
"ember-welcome-page": "3.0.0",
"eslint-plugin-ember": "5.0.3",
"eslint-plugin-node": "6.0.1",
"loader.js": "4.2.3"
"ember-qunit": "3.4.1",
"ember-resolver": "5.0.1",
"ember-source": "3.5.0",
"ember-source-channel-url": "1.1.0",
"ember-try": "1.0.0",
"ember-welcome-page": "3.2.0",
"eslint-plugin-ember": "5.2.0",
"eslint-plugin-node": "7.0.1",
"loader.js": "4.7.0",
"qunit-dom": "0.8.0"
},
"engines": {
"node": "4.5 || 6.* || >= 7.*"
"node": "6.* || 8.* || >= 10.*"
},

@@ -57,0 +60,0 @@ "ember-addon": {

@@ -1,50 +0,51 @@

# ember-mask-input
ember-mask-input
==============================================================================
This README outlines the details of collaborating on this ember-mask-input addon.
[Short description of the addon.]
## Installation
Installation
------------------------------------------------------------------------------
```bash
cd your-project-directory
```
ember install ember-mask-input
```
## Usage
Simple IBAN masked input:
```handlebars
{{ember-mask-input maskType='iban' value='TR625373458726249832302425' }}
```
Simple phone-no masked input:
```handlebars
{{ember-mask-input maskType='phone-no' value='2223334455' }}
```
Usage
------------------------------------------------------------------------------
Simple credit-card masked input:
```handlebars
{{ember-mask-input maskType='credit-card' value='2222333344445555' }}
```
[Longer description of how to use the addon in apps.]
Simple custom masked input:
```handlebars
{{ember-mask-input mask='0000.0000.0000.0000' value='9876987612341234' }}
```
Actioned masked input:
```handlebars
{{ember-mask-input maskType='iban' value=myIban onUpdate=(action 'valueUpdated') }}
<br/>
Updated value: {{updatedValue}}
```
Contributing
------------------------------------------------------------------------------
classNames binding masked input:
```handlebars
{{ember-mask-input value='TR625373458726249832302426' maskType='iban' classNames='myclass' }}
<style>
.myclass {
width: 400px;
font-weight: bold;
font-style: italic;
}
</style>
```
### Installation
* `git clone <repository-url>`
* `cd ember-mask-input`
* `yarn install`
### Linting
* `yarn lint:hbs`
* `yarn lint:js`
* `yarn lint:js --fix`
### Running tests
* `ember test` – Runs the test suite on the current Ember version
* `ember test --server` – Runs the test suite in "watch mode"
* `ember try:each` – Runs the test suite against multiple Ember versions
### Running the dummy application
* `ember serve`
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
License
------------------------------------------------------------------------------
This project is licensed under the [MIT License](LICENSE.md).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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