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

d3-flame-graph

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-flame-graph - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

src/d3.flameGraph.css

2

bower.json
{
"name": "d3-flame-graph",
"version": "0.3.0",
"version": "0.4.0",
"homepage": "https://github.com/spiermar/d3-flame-graph",

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

@@ -7,2 +7,3 @@ var gulp = require('gulp'),

jshint = require('gulp-jshint'),
minifycss = require('gulp-minify-css'),
del = require('del'),

@@ -15,5 +16,11 @@ browserSync = require('browser-sync').create();

gulp.task('dist', ['lint'], function() {
gulp.task('lint', function() {
return gulp.src('./src/**/*.js')
.pipe(concat('d3.flame.js'))
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'));
});
gulp.task('scripts', ['lint'], function() {
return gulp.src('src/**/*.js')
.pipe(concat('d3.flameGraph.js'))
.pipe(gulp.dest('dist'))

@@ -23,11 +30,16 @@ .pipe(rename({suffix: '.min'}))

.pipe(gulp.dest('dist'))
.pipe(notify({ message: 'Build complete.' }));
.pipe(notify({ message: 'Scripts task complete.' }));
});
gulp.task('lint', function() {
return gulp.src('./src/**/*.js')
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'));
gulp.task('styles', function() {
return gulp.src('src/**/*.css', { style: 'expanded' })
.pipe(gulp.dest('dist'))
.pipe(rename({suffix: '.min'}))
.pipe(minifycss())
.pipe(gulp.dest('dist'))
.pipe(notify({ message: 'Styles task complete' }));
});
gulp.task('dist', ['clean', 'scripts', 'styles']);
gulp.task('browser-sync', function() {

@@ -34,0 +46,0 @@ browserSync.init({

{
"name": "d3-flame-graph",
"version": "0.3.0",
"version": "0.4.0",
"description": "A d3.js library to produce flame graphs.",

@@ -37,2 +37,3 @@ "main": "src/d3.flame.js",

"gulp-jshint": "^1.11.2",
"gulp-minify-css": "^1.2.1",
"gulp-notify": "^2.2.0",

@@ -39,0 +40,0 @@ "gulp-rename": "^1.2.2",

# d3-flame-graph
A D3.js library that produces flame graphs from hierarchical data.
A D3.js plugin that produces flame graphs from hierarchical data.
![Flame Graph example](screenshot.png)
![Flame Graph GIF](http://giant.gfycat.com/DelectableResponsibleHart.gif)

@@ -15,5 +15,5 @@ If you don't know what flame graphs are, check [Brendan Gregg's post](http://www.brendangregg.com/flamegraphs.html).

This is the first release of this library. As such, expect to find bugs and issues. We count on your support to find and report them!
This is the first release of this plugin. As such, expect to find bugs and issues. We count on your support to find and report them!
**At this point, the library provides only basic flame graph functionality. Please check the [issues](https://github.com/spiermar/d3-flame-graph/issues) page for roadmap information.**
**At this point, the plugin provides only basic flame graph functionality. Please check the [issues](https://github.com/spiermar/d3-flame-graph/issues) page for roadmap information.**

@@ -30,3 +30,3 @@ ## Getting Started

Install the d3-flame-graph library.
Install the d3-flame-graph plugin.

@@ -71,3 +71,3 @@ ```

This library uses Gulp.js as build system. A few tasks are already defined, including browser-sync that can be used for development. To start it, just execute the default task.
This plugin uses Gulp.js as build system. A few tasks are already defined, including browser-sync that can be used for development. To start it, just execute the default task.

@@ -74,0 +74,0 @@ ```

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