Coder Social home page Coder Social logo

gulp-header's Introduction

The canonical location of this project is now gulp-community/gulp-header.

gulp-header

npm version Actions Status Code Coverage Dependency Status Github Issues MIT License

gulp-header is a Gulp extension to add a header to file(s) in the pipeline. Gulp is a streaming build system utilizing node.js.

Install

npm install --save-dev gulp-header

Usage

// assign the module to a local variable
var header = require('gulp-header');


// literal string
// NOTE: a line separator will not be added automatically
gulp.src('./foo/*.js')
  .pipe(header('Hello'))
  .pipe(gulp.dest('./dist/'))


// ejs style templating
gulp.src('./foo/*.js')
  .pipe(header('Hello <%= name %>\n', { name : 'World'} ))
  .pipe(gulp.dest('./dist/'))


// ES6-style template string
gulp.src('./foo/*.js')
  .pipe(header('Hello ${name}\n', { name : 'World'} ))
  .pipe(gulp.dest('./dist/'))


// using data from package.json
var pkg = require('./package.json');
var banner = ['/**',
  ' * <%= pkg.name %> - <%= pkg.description %>',
  ' * @version v<%= pkg.version %>',
  ' * @link <%= pkg.homepage %>',
  ' * @license <%= pkg.license %>',
  ' */',
  ''].join('\n');

gulp.src('./foo/*.js')
  .pipe(header(banner, { pkg : pkg } ))
  .pipe(gulp.dest('./dist/'))


// reading the header file from disk
var fs = require('fs');
gulp.src('./foo/*.js')
  .pipe(header(fs.readFileSync('header.txt', 'utf8'), { pkg : pkg } ))
  .pipe(gulp.dest('./dist/'))


// for use with coffee-script
return gulp.src([
        'src/*.coffee',
    ])
    .pipe(header(banner, { pkg : pkg } ))
    .pipe(sourcemaps.init()) // init sourcemaps *after* header
    .pipe(coffee({
        bare: true
    }))
    .pipe(sourcemaps.write('.'))
    .pipe(gulp.dest('dist/js'))

Issues and Alerts

My handle on twitter is @tracker1 - If there is an urgent issue, I get twitter notifications sent to my phone.

API

header(text, data)

text

Type: String Default: ''

The template text.

data

Type: Object Default: {}

The data object used to populate the text.

In addition to the passed in data, file will be the stream object for the file being templated against and filename will be the path relative from the stream's basepath.

NOTE: using false will disable template processing of the header

gulp-header's People

Contributors

demurgos avatar dkern avatar douglasduteil avatar dpilafian avatar el-davo avatar icdevin avatar jacobboland avatar jsdevel avatar kud avatar kvnloo avatar laureysruben avatar madhums avatar maximerety avatar paulfalgout avatar shinnn avatar sukima avatar thedancingcode avatar theofidry avatar tracker1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gulp-header's Issues

Suggested documentation update for CoffeeScript

This works well for CoffeeScript but to use it the comments need tweaking. Also if you're using source maps you'll want to make sure the header is included before building them.

    // using data from package.json
    var pkg = require('./package.json');
    var banner = ['###',
      ' * <%= pkg.name %> - <%= pkg.description %>',
      ' * @version v<%= pkg.version %>',
      ' * @link <%= pkg.homepage %>',
      ' * @license <%= pkg.license %>',
      ' ###',
      ''].join('\n');

    return gulp.src([
            'src/*.coffee',
        ])
        .pipe(header(banner, { pkg : pkg } ))
        .pipe(sourcemaps.init())
        .pipe(coffee({
            bare: true
        }))
        .pipe(sourcemaps.write('.'))
        .pipe(gulp.dest('dist/js'))

TypeError: Cannot read property 'url' of undefined

I have an issue.

This is my gulp tast:

var gulp          = require('gulp')
  , gutil         = require('gulp-util')
  , header        = require('gulp-header')
  , pkg           = require('../../package.json')

var banner = {
  theme :
  '/**n' +
  ' * Banner content: <%= package.name %>/n' +
  ' */'
};

gulp.task('styles-libsass', function() {
  return gulp.src(config.build.src)
  // ...
  // Here goes compilation and minification of my scss stylesheets
  // ...
  .pipe(header(banner.theme, { package : pkg }))
  .pipe(gulp.dest(config.build.dest)); // Drops the unminified CSS file into the `build` folder
});

Error:

events.js:160
      throw er; // Unhandled 'error' event
      ^
TypeError: Cannot read property 'url' of undefined
    at eval (eval at <anonymous> (/myproject/source/node_modules/lodash.template/index.js:349:12), <anonymous>:12:29)
    at wrapped (/myproject/source/node_modules/gulp-util/lib/template.js:19:12)
    at Object.module.exports [as template] (/myproject/source/node_modules/gulp-util/lib/template.js:22:18)
    at DestroyableTransform.TransformStream [as _transform] (/myproject/source/node_modules/gulp-header/index.js:34:26)
    at DestroyableTransform.Transform._read (/myproject/source/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    at DestroyableTransform.Transform._write (/myproject/source/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:147:83)
    at doWrite (/myproject/source/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:313:64)
    at writeOrBuffer (/myproject/source/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:302:5)
    at DestroyableTransform.Writable.write (/myproject/source/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:241:11)
    at Transform.ondata (_stream_readable.js:555:20)

Line where error occurs:

var template = data === false ? headerText : gutil.template(headerText, extend({file : file, filename: filename}, data));

File exists, variables:

  • file: binary (link?) to the file
  • filename: style.css
  • data: content of my package.json
  • headerText: my template

Any ideas of how to fix this?

Upgrade lodash.template to version 4.5.0 or later

CVE-2019-10744
high severity
Vulnerable versions: < 4.5.0
Patched version: 4.5.0
Affected versions of lodash are vulnerable to Prototype Pollution.
The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.

Update travis.yml

May need to update travis.yml ... optionally migrate to github's ci/cd platform...

It's currently configured to deploy tags... the encrypted publish token is probably no longer valid.

Latest gulp-header release failed to build

Latest commit/release today just broke us again...had to pin to your last 1.8.9 release to stay afloat...

/node_modules/gulp-angular-templatecache/node_modules/gulp-header/index.js:30
e = data === false ? headerText : lodashTemplate(headerText)(Object.assign({ f
^
TypeError: undefined is not a function
at DestroyableTransform.TransformStream [as _transform] (/node_modules/gulp-angular-templatecache/node_modules/gulp-header/index.js:30:84)
at DestroyableTransform.Transform._read (/node_modules/gulp-angular-templatecache/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (/node_modules/gulp-angular-templatecache/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:83)
at doWrite (/node_modules/gulp-angular-templatecache/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:418:64)
at writeOrBuffer (/node_modules/gulp-angular-templatecache/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:407:5)
at DestroyableTransform.Writable.write (/node_modules/gulp-angular-templatecache/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at write (/node_modules/gulp-concat/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow (/node_modules/gulp-concat/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
at DestroyableTransform.pipeOnReadable (/node_modules/gulp-concat/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
at DestroyableTransform.emit (events.js:104:17)

extend is not defined

Hi!

I've tried to use a template with pre-populated file.data and the plugin had broken, because extend function on line 25 is never defined:

.../node_modules/gulp-header/index.js:25
data = extend(data, file.data);
^

ReferenceError: extend is not defined

Btw the gulp-footer is working fine with the identical setup, as it uses Object.assign() instead.

Here is a gulpfile to reproduce:

const gulp = require('gulp')
const data = require('gulp-data')
const header = require('gulp-header')

gulp.task('default', () =>
  gulp
    .src('src/sample.txt')
    .pipe(data(file => ({ x: 'x' })))
    .pipe(header('<%= file.data.x %>', {}))
    .pipe(gulp.dest('dest'))
)

And thanks for you plugin.

Sergey M.

gulp-header only works on one file

Since the 1.5 release, gulp-header stopped working on multiple streams of files.

gulp.src('/js/**/.js') // where multiple js files exist
       .pipe(header('use strict;'))
       .dest(...);

This does not throw an error, but the result is only the last file in the stream gets handled.

The reason:

_file is declared in the module and expected to be per stream, but it is continuously overridden until EndStream runs with only the final file.

Throw errors on header with '<%

I have tried to add header with somethig like that:
var HeaderTXT = '<% Ala ma asa %>\n';
gulp.src(srcfiles)
.pipe(gulp_header(HeaderTXT))
.pipe(gulp.dest(destfolder));
It throws result "SyntaxError: Unexpected identifier".
Changing HeaderTXT to '< Ala ma asa >\n'; prevents throwing an error.
Can I escape sequence '<%' or '<%=' ?

"TypeError: Cannot read property 'clone' of undefined" after upgrading to 1.5.0

After upgrading to 1.5.0, I get the following error stack when trying to run gulp-header.
Any help would be appreciated.

D:\MyDev\ljs_app\trunk\periscope\build\node_modules\gulp-header\index.js:58
    var file = _file.clone({ contents: false });
                    ^
TypeError: Cannot read property 'clone' of undefined
    at DestroyableTransform.EndStream [as _flush] (D:\MyDev\ljs_app\trunk\periscope\build\node_modules\gulp-header\index.js:58:21)
    at DestroyableTransform.<anonymous> (D:\MyDev\ljs_app\trunk\periscope\build\node_modules\gulp-header\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:123:12)
    at DestroyableTransform.g (events.js:199:16)
    at DestroyableTransform.emit (events.js:104:17)
    at prefinish (D:\MyDev\ljs_app\trunk\periscope\build\node_modules\gulp-header\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:492:12)
    at finishMaybe (D:\MyDev\ljs_app\trunk\periscope\build\node_modules\gulp-header\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:500:7)
    at endWritable (D:\MyDev\ljs_app\trunk\periscope\build\node_modules\gulp-header\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:512:3)
    at DestroyableTransform.Writable.end (D:\MyDev\ljs_app\trunk\periscope\build\node_modules\gulp-header\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:477:5)
    at Stream.onend (stream.js:79:10)
    at Stream.emit (events.js:129:20)

Place the header after @charset

Hello !
I use your gulp-header for my .js and .css file.

But in CSS, at the first line i have sometime the @charset="UTF-8" rule. gulp-header add a header at the top of the file so my @charset is not valid, because it need to be at the first line, before anything.

It could be awesome if we can have a new option charset, false by default. And when it's true, it check if there are a @charset rule, and place the header one line after.

Thanks ๐Ÿ˜ƒ

Node v4.2.1 throws error when using gulp-header

buffer.js:167
  throw new TypeError('must start with number, buffer, array or string');
  ^

TypeError: must start with number, buffer, array or string
    at fromObject (buffer.js:167:9)
    at new Buffer (buffer.js:58:10)
    at Concat.add (/.../node_modules/gulp-header/node_modules/concat-with-sourcemaps/index.js:40:15)
    at DestroyableTransform.TransformStream [as _transform] (/.../node_modules/gulp-header/index.js:49:12)
    at DestroyableTransform.Transform._read (/.../node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:10)
    at DestroyableTransform.Transform._write (/.../node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:160:12)
    at doWrite (/.../node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:326:12)
    at writeOrBuffer (/.../node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:312:5)
    at DestroyableTransform.Writable.write (/.../node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:239:11)
    at write (/.../node_modules/vinyl-source-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)

How I'm using it (shortened for readability):

  // Create banner for Main JS file
  var javascriptBanner = ['/**',
    ' * This is the main js file',
    ' * Edited: <%= new Date() %>',
    ' */',
    '',
    'console.log("Time since you changed main.js: " + ((new Date().getTime() - <%= new Date().getTime() %> ) / 1000) + "s");',
    '',
    ''].join('\n');

module.exports = function(gulp, plugins, config, browserSync) {
  return function() {
        browserify({
            entries: [
                // ...
            ]
        })
        .transform()
        .transform()
        .bundle()
        .pipe(source(config.jsOutputFilename))
        .pipe(plugins.header(javascriptBanner))
        .pipe(gulp.dest(config.outputJsDir))
        .pipe(browserSync.stream())
 };
};

Commenting out the plugins.header line and the build works again.

Any ideas?

header plugin before tsc plugin

gulp.src(tsfiles)
.pipe(plugins.header("var test = 666;"))
.pipe(partials.errorPipe())
.pipe(plugins.tsc(
{
allowBool: true,
out: CONFIG.DIST.JS.FILES.APP(),
sourcemap: doUseSourceMaps,
sourceRoot: doUseSourceMaps ? "/" : null,
target: ecmaScriptVersion
}))
.pipe(plugins.header("var test = 555;"))
;

will do var test = 555 but not var test = 666.
Is it somehow related to the TypeScript plugin?

Any idea ?

Please use git tags to mark releases for your npm module

By now only the current release of your module is available. Please mark previous releases with git tags so that they are available to.

Current problem is now, that you forked the initial project and changed the repo in npm registry to, so there is no way to access the previous releases (e.g. 1.0.2)

BOM is not preserved at start of file if coming from gulp-sass compressed

I have a really weird bug that is a combination of gulp-sass and gulp-header.

Steps to reproduce:

  1. Have a .scss file with non-ASCII characters (โ—ผ for example)
  2. Pass it through gulp-sass with {outputStyle: 'compressed'} and gulp-header
  3. Look at the output in a hex editor

2017-09-15_21-50-13

Expected behaviour:

gulp-sass adds a Unicode BOM (EF BB BF in UTF-8), and gulp-header moves it to the beginning of the file.

Actual behaviour:

The BOM is maintained in the file but after the header, meaning it gets treated as a regular (invalid) Unicode character.

I could not reproduce this without gulp-sass set to compressed output, even if the source file to gulp-header had a UTF-8 BOM in it. In non-compressed output, gulp-sass adds a @charset "UTF-8"; to the output instead of a BOM.

From stepping through the gulp pipeline with a debugger, the BOM is already present when it reaches gulp-header, however it should be moved to the beginning of the output file.

Repro repo: https://github.com/markspolakovs/gulp-sass-header-bom-repro. Original repo where we encountered the issue (and broke the build): https://github.com/VolunteerLiveTeam/VLT-Reddit-Stylesheet

1.5.0 fails if the file has `\r\n` line separators

If the source file contains \r\n symbols (instead of just \n) then gulp-header produces a corrupt output in which part of the original source file is suppressed. Related to 33c17a3.

I've tested that 1.5.0 works correctly if the source file has just \n.

Source sourcemap file added to output sourcemap

Hi, thanks for the great plugin.

I have a gulp task like so:

gulp.src(src)
.pipe(plugins.sourcemaps.init())
.pipe(plugins.concatUtil(outFileName))
.pipe(plugins.header(_banner, { pkg: pkg }))
.pipe(plugins.sourcemaps.write(".", { includeContent: false, sourceRoot: sourceRoot + plugins.path.sep }));

I expect the source mapping to only include files from 'src', but the concat generated file is being added in by gulp-header along with them.

This appears to be due to the line:

if (file.isBuffer()) {
concat.add(filename, new Buffer(template));
}

This can be fixed like so:

if (file.isBuffer()) {
concat.add(null, template);
}

This is suggested by concat-with-sourcemaps:

for content without a file reference, e.g. a license comment.

Add link to documentation about the file stream object

Without information about the fields of the stream object, it's hard to know how to take advantage of the following:

In addition to the passed in data, file will be the stream object for the file being templated against and filename will be the path relative from the stream's basepath.

Please start a changelog.md

It takes some time to analyse all commits between a version I'm using right now and the latest when I update. It would be easier for plugin users if you made some curated summary on each release.

Crash when gulp-header is used with traceur

When I load traceur and try to use gulp-header in my gulp file it crashes.

Stacktrace:
undefined:2276
var props = keys(source);
^
TypeError: Object.keys called on non-object
at keys (native)
at assign (eval at (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\gulp-traceur\node_modules
traceur\src\node\traceur.js:24:17), :2276:19)
at DestroyableTransform._transform (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\gulp-header\index.js:1
3:51)
at DestroyableTransform.Transform._read (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_mod
ules\readable-stream\lib_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_mo
dules\readable-stream\lib_stream_transform.js:172:12)
at doWrite (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_modules\readable-stream\lib_str
eam_writable.js:237:10)
at writeOrBuffer (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_modules\readable-stream\li
b_stream_writable.js:227:5)
at DestroyableTransform.Writable.write (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_modu
les\readable-stream\lib_stream_writable.js:194:11)
at write (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_modules\readable-stream\lib_strea
m_readable.js:623:24)
at flow (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_modules\readable-stream\lib_stream
readable.js:632:7)
at DestroyableTransform.pipeOnReadable (C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_modu
les\readable-stream\lib_stream_readable.js:664:5)
at DestroyableTransform.emit (events.js:92:17)
at emitReadable
(C:\Users\Entwickler\source\factro.Net_Refactor\SMB.factro.Client\node_modules\through2\node_modules\readable-stream\li
b_stream_readable.js:448:10)

Has to do with traceur as I can "fix" it by just not loading traceur.

How do I this one?

/* Table of contents
*
* folder1
*  - file
*  - file
* folder2
*  -file
*  -file
*/

thanks.

Broken with Node.js 5 / dependencies version constraints not strict enough

When using gulp-header with nodejs 5, I get this error:

TypeError: through.obj is not a function
    at module.exports (node_modules/gulp-header/index.js:68:18)

package.json hs not enough strict version constraints for the dependences:

  "dependencies": {
    "gulp-util": "*",
    "object-assign": "*",
    "through2": "*",
    "concat-with-sourcemaps": "*"
  },
  "devDependencies": {
    "event-stream": "^3.1.7",
    "gulp": "^3.9.0",
    "mocha": "*",
    "should": "*",
    "vinyl": "*"
  }

EDIT: through2.obj(fn) is only available since through2 0.4.0. If another dependency requires an older through2 then npm3 dedupe will happily put the old version in node_modules, and gulp-header will crash like this. (for me it happened with progress-stream).

All dependencies should use semver constraints whenever possible to avoir this issue.

Error when gulp.src does not find any files

gulp.task('taskname', function() {
  return gulp.src('*.html')
    .pipe(header('Hello'));
});

When there are no html files in '*.html', it throws the following error:

node_modules/gulp-header/index.js:58
    var file = _file.clone({ contents: false });
                    ^
TypeError: Cannot read property 'clone' of undefined

Apparently, TransformStream never gets called, but EndStream does. _file is undefined and, therefore, does not have a clone property.

Proposed solution is to add the following code to the beginning of EndStream function:

if(!_file) {
  return cb();
}

Replace deprecated dependency gulp-util

gulp-util has been recently deprecated. Continuing to use this dependency may prevent the use of your library with the latest release of Gulp 4 so it is important to replace gulp-util.

The README.md lists alternatives for all the components so a simple replacement should be enough.

Your package is one of the most popular packages still relying on gulp-util, it would be good to publish a fixed version to npm as soon as possible.

See:

1.8.3 breaks gulp-ng-templates

I'm not sure what has changed between 1.8.2 and 1.8.3 but something is causing gulp-ng-templates to break now with the following error:

fs.js:839
  return binding.lstat(pathModule._makeLong(path));
                 ^

Error: ENOENT: no such file or directory, lstat '/home/project-barbie/build/source/js/main/directives/partials/templates.min.js'
    at Error (native)
    at Object.fs.lstatSync (fs.js:839:18)
    at DestroyableTransform.TransformStream [as _transform] (/home/project-barbie/node_modules/gulp-ng-templates/node_modules/gulp-header/index.js:38:12)
    at DestroyableTransform.Transform._read (/home/project-barbie/node_modules/gulp-ng-templates/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    at DestroyableTransform.Transform._write (/home/project-barbie/node_modules/gulp-ng-templates/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:147:83)
    at doWrite (/home/project-barbie/node_modules/gulp-ng-templates/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:313:64)
    at writeOrBuffer (/home/project-barbie/node_modules/gulp-ng-templates/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:302:5)
    at DestroyableTransform.Writable.write (/home/project-barbie/node_modules/gulp-ng-templates/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:241:11)
    at write (/home/project-barbie/node_modules/gulp-concat/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/home/project-barbie/node_modules/gulp-concat/node_modules/readable-stream/lib/_stream_readable.js:632:7)

This may either be the way gulp-ng-templates is using it, or it could be a wider issue that affects other dependencies and uses.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.