New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-barcode-scanner

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-barcode-scanner - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.babelrc

37

package.json
{
"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

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