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

angular-in-viewport

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-in-viewport - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

bower.json
{
"name": "angular-in-viewport",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/showpad/angular-in-viewport",

@@ -5,0 +5,0 @@ "authors": [

# Changelog
## 1.0.1
* Fix package.json main file
* (Update some build settings)
## 1.0.0
* Initial release
'use strict';
var gulp = require('gulp'),
karma = require('karma').server,
jshint = require('gulp-jshint'),
uglify = require('gulp-uglify'),
concat = require('gulp-concat'),
stylish = require('jshint-stylish'),
var gulp = require('gulp');
var karma = require('karma');
var jshint = require('gulp-jshint');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var stylish = require('jshint-stylish');
config = {
test: __dirname + '/test/karma.conf.js',
src: [
'./src/in-viewport.module.js',
'./src/directives/*.js'
],
dist: './dist/'
};
var config = {
test: __dirname + '/test/karma.conf.js',
src: [
'./src/in-viewport.module.js',
'./src/directives/*.js'
],
dist: './dist/'
};

@@ -22,6 +22,16 @@

gulp.task('karma', function (done) {
karma.start({
var karmaConfig = {
configFile: config.test,
singleRun: true
}, done);
};
var server = new karma.Server(karmaConfig, karmaCallback);
server.start();
function karmaCallback ()
{
done();
}
});

@@ -28,0 +38,0 @@

{
"name": "angular-in-viewport",
"version": "1.0.0",
"version": "1.0.1",
"description": "Directives to check if a DOM element is in a specified viewport",
"main": "index.js",
"main": "dist/in-viewport.js",
"scripts": {

@@ -24,15 +24,17 @@ "test": "gulp karma"

"devDependencies": {
"bower": "1.3.x",
"gulp": "3.8.x",
"gulp-concat": "^2.4.2",
"bower": "1.7.x",
"gulp": "3.9.x",
"gulp-concat": "2.4.2",
"gulp-jshint": "1.6.x",
"gulp-uglify": "1.0.x",
"jasmine-core": "2.4.1",
"jshint-stylish": "0.2.x",
"karma": "0.12.x",
"karma": "0.13.19",
"karma-chrome-launcher": "0.1.x",
"karma-coverage": "0.2.x",
"karma-jasmine": "0.x",
"karma-junit-reporter": "0.2.x",
"karma-phantomjs-launcher": "0.1.x"
"karma-coverage": "0.5.3",
"karma-jasmine": "0.3.6",
"karma-junit-reporter": "0.3.8",
"karma-phantomjs-launcher": "0.2.3",
"phantomjs": "2.1.3"
}
}
(function (angular) {
'use strict';
angular
.module('in-viewport')
.directive('viewportEnter', viewportEnterDefinition);
/**

@@ -34,6 +38,2 @@ * Directive definition for viewport-enter

angular
.module('in-viewport')
.directive('viewportEnter', viewportEnterDefinition);
})(window.angular);
(function (angular) {
'use strict';
angular
.module('in-viewport')
.directive('viewportLeave', viewportLeaveDefinition);
/**

@@ -34,6 +38,2 @@ * Directive definition for viewport-enter

angular
.module('in-viewport')
.directive('viewportLeave', viewportLeaveDefinition);
})(window.angular);
(function (angular) {
'use strict';
angular
.module('in-viewport')
.directive('viewport', ViewportDefinition);

@@ -199,7 +202,2 @@ /**

angular
.module('in-viewport')
.directive('viewport', ViewportDefinition);
})(window.angular);

@@ -49,3 +49,2 @@ // Karma configuration

plugins: [
'karma-ng-html2js-preprocessor',
'karma-phantomjs-launcher',

@@ -60,3 +59,4 @@ 'karma-jasmine',

junitReporter: {
outputFile: 'test/test-results.xml'
outputDir: 'test/junit/',
outputFile: 'test-results.xml'
},

@@ -63,0 +63,0 @@

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