angular-barcode-scanner
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "angular-barcode-scanner", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "An angular barcode reader module", | ||
"main": "index.js", | ||
"main": "dist/barcode-reader.min.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "webpack --mode=build", | ||
"dev": "webpack --progress --colors --watch --mode=dev" | ||
}, | ||
@@ -27,22 +28,16 @@ "repository": { | ||
"homepage": "https://github.com/isonet/barcode-reader#readme", | ||
"dependencies": { | ||
"angular": "^1.5.7" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"jspm": "^0.16.39" | ||
}, | ||
"jspm": { | ||
"directories": { | ||
"baseURL": ".", | ||
"packages": "jspm_packages" | ||
}, | ||
"dependencies": { | ||
"angular": "npm:angular@^1.5.7" | ||
}, | ||
"devDependencies": { | ||
"babel": "npm:babel-core@^5.8.24", | ||
"babel-runtime": "npm:babel-runtime@^5.8.24", | ||
"core-js": "npm:core-js@^1.1.4" | ||
} | ||
"angular": "^1.5.7", | ||
"babel-core": "^6.10.4", | ||
"babel-eslint": "^6.1.2", | ||
"babel-istanbul": "^0.11.0", | ||
"babel-istanbul-loader": "^0.1.0", | ||
"babel-loader": "^6.2.4", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.9.0", | ||
"loader-utils": "^0.2.15", | ||
"rimraf": "^2.5.3", | ||
"webpack": "^1.13.1" | ||
} | ||
} |
@@ -23,3 +23,2 @@ 'use strict'; | ||
link(scope, element, attributes) { | ||
console.info('Barcode Reader Directive link'); | ||
angular.element(this.window).on('keydown', (e) => { | ||
@@ -30,4 +29,2 @@ let keycode = e.keyCode || e.which; | ||
console.info(keycode); | ||
if(keycode === triggerChar) { | ||
@@ -34,0 +31,0 @@ scope.triggerCallback(); |
@@ -7,8 +7,4 @@ 'use strict'; | ||
console.info('Barcode Reader loading'); | ||
barcodeReader.directive('barcodeReader', BarcodeReaderDirective.directiveFactory); | ||
export default barcodeReader; |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
37328
0
18
223
0
11
1
- Removedangular@^1.5.7
- Removedangular@1.8.3(transitive)