Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asana

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asana - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

dist/asana-min.js

2

bower.json
{
"name": "asana",
"main": "dist/asana.js",
"version": "0.3.4",
"version": "0.5.3",
"homepage": "https://github.com/Asana/node-asana",

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

@@ -6,2 +6,4 @@ var browserify = require('browserify');

var mocha = require('gulp-mocha');
var uglify = require('gulp-uglify');
var vinylBuffer = require('vinyl-buffer');
var vinylSourceStream = require('vinyl-source-stream');

@@ -21,14 +23,26 @@

gulp.task('test', ['bundle', 'spec']);
gulp.task('bundle', ['browser', 'browser-min']);
/**
* Bundles the code
* Bundles the code, full version to `asana.js` and minified to `asana-min.js`
*/
gulp.task('bundle', function() {
return browserify({
entries: [index],
standalone: 'Asana'
}).bundle()
.pipe(vinylSourceStream('asana.js'))
.pipe(gulp.dest('dist'));
});
function browserTask(minify) {
return function() {
var task = browserify(
{
entries: [index],
standalone: 'Asana'
})
.bundle()
.pipe(vinylSourceStream('asana' + (minify ? '-min' : '') + '.js'));
if (minify) {
task = task
.pipe(vinylBuffer())
.pipe(uglify());
}
return task.pipe(gulp.dest('dist'));
};
}
gulp.task('browser', browserTask(false));
gulp.task('browser-min', browserTask(true));

@@ -35,0 +49,0 @@ /**

{
"name": "asana",
"version": "0.5.3",
"version": "0.5.4",
"description": "A node.js client for the Asana API",

@@ -35,2 +35,3 @@ "main": "index.js",

"gulp-mocha": "^2.0.0",
"gulp-uglify": "^1.0.2",
"jshint-stylish": "^1.0.0",

@@ -37,0 +38,0 @@ "rewire": "^2.0.1",

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