ember-mask-input
Advanced tools
Comparing version 3.0.2 to 3.1.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52
54373
25
17
+ Added@ampproject/remapping@2.3.0(transitive)
+ Added@babel/code-frame@7.24.7(transitive)
+ Added@babel/compat-data@7.25.4(transitive)
+ Added@babel/core@7.25.2(transitive)
+ Added@babel/generator@7.25.6(transitive)
+ Added@babel/helper-compilation-targets@7.25.2(transitive)
+ Added@babel/helper-module-imports@7.24.7(transitive)
+ Added@babel/helper-module-transforms@7.25.2(transitive)
+ Added@babel/helper-simple-access@7.24.7(transitive)
+ Added@babel/helper-string-parser@7.24.8(transitive)
+ Added@babel/helper-validator-identifier@7.24.7(transitive)
+ Added@babel/helper-validator-option@7.24.8(transitive)
+ Added@babel/helpers@7.25.6(transitive)
+ Added@babel/highlight@7.24.7(transitive)
+ Added@babel/parser@7.25.6(transitive)
+ Added@babel/template@7.25.0(transitive)
+ Added@babel/traverse@7.25.6(transitive)
+ Added@babel/types@7.25.6(transitive)
+ Added@jridgewell/gen-mapping@0.3.5(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Addedamd-name-resolver@1.2.0(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedbabel-plugin-debug-macros@0.2.0(transitive)
+ Addedbabel-plugin-ember-modules-api-polyfill@2.13.4(transitive)
+ Addedbrowserslist@4.24.0(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedconvert-source-map@2.0.0(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedember-cli-babel@6.16.0(transitive)
+ Addedember-rfc176-data@0.3.18(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedgensync@1.0.0-beta.2(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedjquery-mask-plugin@1.14.15(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjsesc@2.5.2(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedlru-cache@5.1.1(transitive)
+ Addedms@2.1.3(transitive)
+ Addednode-releases@2.0.18(transitive)
+ Addedpicocolors@1.1.0(transitive)
+ Addedsemver@6.3.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedto-fast-properties@2.0.0(transitive)
+ Addedupdate-browserslist-db@1.1.1(transitive)
+ Addedyallist@3.1.1(transitive)
- Removedamd-name-resolver@0.0.6(transitive)
- Removedbabel-plugin-debug-macros@0.1.11(transitive)
- Removedbabel-plugin-ember-modules-api-polyfill@1.6.0(transitive)
- Removedbroccoli-funnel@1.2.0(transitive)
- Removedember-cli-babel@6.6.0(transitive)
- Removedember-rfc176-data@0.2.7(transitive)
- Removedexists-sync@0.0.4(transitive)
- Removedjquery-mask-plugin@1.14.11(transitive)
Updatedember-cli-babel@6.16.0
Updatedjquery-mask-plugin@1.14.15