Giter Club home page Giter Club logo

gulp-sri-hash's Introduction

Hi there 👋

gulp-sri-hash's People

Contributors

dependabot[bot] avatar greenkeeper[bot] avatar macedigital avatar scottsmith95 avatar xhmikosr avatar zikaari avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

vzool

gulp-sri-hash's Issues

An in-range update of eslint is breaking the build 🚨

The devDependency eslint was updated from 5.15.3 to 5.16.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch: AppVeyor build succeeded (Details).
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v5.16.0
  • dfef227 Build: gensite passes rulesMeta to formatter rendering (#11567) (Kevin Partington)
  • c06d38c Fix: Allow HTML formatter to handle no meta data (#11566) (Ilya Volodin)
  • 87a5c03 Docs: func-style: clarify when allowArrowFunctions is used (#11548) (Oliver Joseph Ash)
  • bc3e427 Update: pass rule meta to formatters RFC 10 (#11551) (Chris Meyer)
  • b452f27 Chore: Update README to pull in reviewer data (#11506) (Nicholas C. Zakas)
  • afe3d25 Upgrade: Bump js-yaml dependency to fix Denial of Service vulnerability (#11550) (Vernon de Goede)
  • 4fe7eb7 Chore: use nyc instead of istanbul (#11532) (Toru Nagashima)
  • f16af43 Chore: fix formatters/table test (#11534) (Toru Nagashima)
  • 78358a8 Docs: fix duplicate punctuation in CLI docs (#11528) (Teddy Katz)
Commits

The new version differs by 11 commits.

  • ded2f94 5.16.0
  • ea36e13 Build: changelog update for 5.16.0
  • dfef227 Build: gensite passes rulesMeta to formatter rendering (#11567)
  • c06d38c Fix: Allow HTML formatter to handle no meta data (#11566)
  • 87a5c03 Docs: func-style: clarify when allowArrowFunctions is used (#11548)
  • bc3e427 Update: pass rule meta to formatters RFC 10 (#11551)
  • b452f27 Chore: Update README to pull in reviewer data (#11506)
  • afe3d25 Upgrade: Bump js-yaml dependency to fix Denial of Service vulnerability (#11550)
  • 4fe7eb7 Chore: use nyc instead of istanbul (#11532)
  • f16af43 Chore: fix formatters/table test (#11534)
  • 78358a8 Docs: fix duplicate punctuation in CLI docs (#11528)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint-config-airbnb-base is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The devDependency eslint-config-airbnb-base was updated from 14.0.0 to 14.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-config-airbnb-base is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch: AppVeyor build failed (Details).
  • continuous-integration/travis-ci/push: The Travis CI build passed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Ignore cache busting hash in URL

At the moment, if I have a process which adds a cache busting hash at the end of the URL, this plugin no longer works and I get an error such as...

Error: ENOENT: no such file or directory, open 'C:\Users\projectpath\build\css\style.css?cbh=5da92178ce374635e14b17a2e0038469'

I've had to move my "gulp-hash-src" task to after this one, which is fine, but it would be better if it worked either way.

In short, perhaps when loading .js and .css files locally, you could ignore the query string ("?" onwards).

Cheers, Rik

Tests on path resolution fail

All tests with path resolution fail. Here's the test result given by "npm test":

gulp-sri-hash
plugin
✓ should know it's name
✓ should be callable
plugin()
✓ should pass through null files
✓ should throw on streams
✓ should bail on unsupported hashing algorithm
✓ should ignore missing external files
✓ should ignore existing integrity attribute
with absolute path resolution
1) should apply integrity hash sha256
2) should apply integrity hash sha384
3) should apply integrity hash sha512
4) should apply custom selectors
5) should apply hashing to whitelisted prefixes
with relative path resolution
6) should apply integrity hash sha256
7) should apply integrity hash sha384
8) should apply integrity hash sha512
9) should apply custom selectors

Here is the error message for one of the failed tests. All failed tests start with "Uncaught TypeError: this is not a typed array.".

 1) gulp-sri-hash plugin() with absolute path resolution should apply integrity hash sha256:
     Uncaught TypeError: this is not a typed array.
      at Function.from (native)
      at calculateSri (index.js:56:17)
      at getFileHash (index.js:63:7)
      at Object.addIntegrityAttribute (index.js:87:33)
      at exports.each (node_modules/cheerio/lib/api/traversing.js:300:24)
      at updateDOM (index.js:75:17)
      at DestroyableTransform.pipeHandler [as _transform] (index.js:126:29)
      at DestroyableTransform.Transform._read (node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:159:10)
      at DestroyableTransform.Transform._write (node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:147:83)
      at doWrite (node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:347:64)
      at writeOrBuffer (node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:336:5)
      at DestroyableTransform.Writable.write (node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:274:11)
      at write (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
      at flow (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
      at DestroyableTransform.pipeOnReadable (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
      at emitReadable_ (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:448:10)
      at emitReadable (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:444:5)
      at readableAddChunk (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:187:9)
      at DestroyableTransform.Readable.push (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:149:10)
      at DestroyableTransform.Transform.push (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:145:32)
      at afterTransform (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:101:12)
      at TransformState.afterTransform (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:79:12)
      at DestroyableTransform.noop [as _transform] (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/through2.js:26:3)
      at DestroyableTransform.Transform._read (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
      at DestroyableTransform.Transform._write (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
      at doWrite (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
      at writeOrBuffer (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
      at DestroyableTransform.Writable.write (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
      at write (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
      at flow (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
      at DestroyableTransform.pipeOnReadable (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
      at emitReadable_ (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:448:10)
      at emitReadable (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:444:5)
      at readableAddChunk (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:187:9)
      at DestroyableTransform.Readable.push (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:149:10)
      at DestroyableTransform.Transform.push (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:145:32)
      at afterTransform (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:101:12)
      at TransformState.afterTransform (node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:79:12)
      at node_modules/gulp/node_modules/vinyl-fs/lib/src/getContents/bufferFile.js:12:5
      at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Hash external resources

It is specifically mentioned that "Referenced css- and js-files must be accessible from the local filesystem" but since it calculates based on the file content, shouldn't it also be possible to just read external file from url and generate hash?

I think integrity of external resources is more important as you have less control over them. So that would be a great option to have. Thanks.

Changes my HTML tags and rewrites them

For some weird reason this plugin rewrites my html file and moves closing tags of </html> and </body> around. I'm using it with PHP files and have the </html> and </body> in a different file than the opening tag. Yet the plugin shouldn't be bother.

Wrong sha512 calculation(?)

Hello there,
I've faced a problem using sriHash - I get a wrong result and, unfortunately, can't find the reason.
here is the gulpfile.js

const gulp = require('gulp');
const uglify = require('gulp-uglify');
// const cssnano = require('gulp-cssnano');
const rename = require('gulp-rename');
const sriHash = require('gulp-sri-hash');
const gulpIf = require('gulp-if');
const path = require('path');

function isJavaScript(file) {
    return path.extname(file.path) === '.js';
}

function isCSS(file) {
    return path.extname(file.path) === '.css';
}

function isHTML(file) {
    return path.extname(file.path) === '.html';
}

function minifyFiles() {
    const root = "/home/";
    return gulp.src([`${root}/test.js`, `${root}/*.css`], { base: root })
        .pipe(gulpIf(isJavaScript, uglify()))
        .pipe(gulpIf(isJavaScript, rename({ suffix: '.min' })))
        .pipe(gulpIf(isCSS, rename({ suffix: '.min' })))
        .pipe(gulp.dest(root));
}

function addSriHash() {
    const root = "/home/";
    return gulp.src([`${root}/test.min.js`, `${root}/*.min.css`, `${root}/test.html`], { base: root })
        .pipe(gulpIf(isHTML, sriHash({
            algo: 'sha512',        // Use strong hashing
            relative: false,       // Assets reside relative to HTML file
            selector: 'script[src],link[href]'
        })))
        .pipe(gulp.dest(root));
}

exports.watch = watch;
exports.sri = sri;
exports.minifyAndSri = gulp.series(minifyFiles, addSriHash);
exports.default = gulp.series(minifyFiles, addSriHash, watch);
// gulp.task('default', gulp.series('i', 'sri', 'watch'));

here is the HTML with the integrity updated:

<!DOCTYPE html><html lang="en"><head>
    <script src="/test.min.js" integrity="sha512-uklnmezB++Y6dEuG96QwvAHLoaK5IyI/8OE8v9OtkZN6zInKmXBLDUN+ph9kZfBRyshMS/AFaK4xdtn97UWfLA==" crossorigin="anonymous"></script>
</head><body></body></html>

here is the browser rejected the script:
test.html:1 Failed to find a valid digest in the 'integrity' attribute for resource 'https://beatrootskin.com/test.min.js' with computed SHA-512 integrity 'j1+y05RrFJyuau4lA5OlWLqR57jVEOPO/55Q8YyLsWFW89nrhgUDBsNLLLZcnblVmpOrKLOjABQhzps8y6dCbg=='. The resource has been blocked.

here is the manual calculation:

$ openssl dgst -sha512 -binary test.min.js | openssl base64 -A
j1+y05RrFJyuau4lA5OlWLqR57jVEOPO/55Q8YyLsWFW89nrhgUDBsNLLLZcnblVmpOrKLOjABQhzps8y6dCbg==

here is the GtkHash calculation:
j1+y05RrFJyuau4lA5OlWLqR57jVEOPO/55Q8YyLsWFW89nrhgUDBsNLLLZcnblVmpOrKLOjABQhzps8y6dCbg==

Sorry for the long post, but I'll gratefully appreciate your help.
Thank you
Ivo

PS: Here is the minified script:

document.addEventListener("DOMContentLoaded",function(){console.log(document.getElementsByTagName("body").length)});

gulp-sri-hash (unnecessarily) escapes unicode characters

With this plugin,

<title>Main Page | Amyspark’s Domain</title>

becomes

<title>Main Page | Amyspark&#x2019;s Domain</title>

I think this is because cheerio is decoding (and reencoding) non-ASCII entities by default. Can this be fixed?

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml
  • The new Node.js version is in-range for the engines in 1 of your package.json files, so that was left alone

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Relative path resolution on Windows fails

Relative path resolution on Windows doesn't work, instead tests on Windows produce this trace:

Error: 0 position is not passing assertion: 0 == 3
      at DestroyableTransform.stream.assertion (node_modules\stream-assert\assertStream.js:24:26)
      at DestroyableTransform._transform (node_modules\stream-assert\index.js:102:10)
      at DestroyableTransform.Transform._read (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:184:10)
      at DestroyableTransform.Transform._write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:172:12)
      at doWrite (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:237:10)
      at writeOrBuffer (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:227:5)
      at DestroyableTransform.Writable.write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:194:11)
      at write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:623:24)
      at flow (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:632:7)
      at DestroyableTransform.pipeOnReadable (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:664:5)
      at emitReadable_ (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:448:10)
      at emitReadable (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:444:5)
      at readableAddChunk (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:187:9)
      at DestroyableTransform.Readable.push (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:149:10)
      at DestroyableTransform.Transform.push (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:145:32)
      at afterTransform (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:101:12)
      at TransformState.afterTransform (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:79:12)
      at DestroyableTransform._transform (node_modules\stream-assert\index.js:80:3)
      at DestroyableTransform.Transform._read (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:184:10)
      at DestroyableTransform.Transform._write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:172:12)
      at doWrite (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:237:10)
      at writeOrBuffer (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:227:5)
      at DestroyableTransform.Writable.write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:194:11)
      at DestroyableTransform.ondata (node_modules\readable-stream\lib\_stream_readable.js:611:20)
      at addChunk (node_modules\readable-stream\lib\_stream_readable.js:283:12)
      at readableAddChunk (node_modules\readable-stream\lib\_stream_readable.js:270:11)
      at DestroyableTransform.Readable.push (node_modules\readable-stream\lib\_stream_readable.js:237:10)
      at DestroyableTransform.Transform.push (node_modules\readable-stream\lib\_stream_transform.js:146:32)
      at afterTransform (node_modules\readable-stream\lib\_stream_transform.js:102:51)
      at TransformState.afterTransform (node_modules\readable-stream\lib\_stream_transform.js:79:12)
      at DestroyableTransform.pipeHandler [as _transform] (index.js:128:14)
      at DestroyableTransform.Transform._read (node_modules\readable-stream\lib\_stream_transform.js:182:10)
      at DestroyableTransform.Transform._write (node_modules\readable-stream\lib\_stream_transform.js:170:83)
      at doWrite (node_modules\readable-stream\lib\_stream_writable.js:405:64)
      at writeOrBuffer (node_modules\readable-stream\lib\_stream_writable.js:394:5)
      at DestroyableTransform.Writable.write (node_modules\readable-stream\lib\_stream_writable.js:321:11)
      at write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:623:24)
      at flow (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:632:7)
      at DestroyableTransform.pipeOnReadable (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:664:5)
      at emitReadable_ (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:448:10)
      at emitReadable (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:444:5)
      at readableAddChunk (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:187:9)
      at DestroyableTransform.Readable.push (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_readable.js:149:10)
      at DestroyableTransform.Transform.push (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:145:32)
      at afterTransform (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:101:12)
      at TransformState.afterTransform (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:79:12)
      at DestroyableTransform._transform (node_modules\stream-assert\index.js:80:3)
      at DestroyableTransform.Transform._read (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:184:10)
      at DestroyableTransform.Transform._write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_transform.js:172:12)
      at doWrite (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:237:10)
      at writeOrBuffer (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:227:5)
      at DestroyableTransform.Writable.write (node_modules\stream-assert\node_modules\readable-stream\lib\_stream_writable.js:194:11)
      at write (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:623:24)
      at flow (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:632:7)
      at DestroyableTransform.pipeOnReadable (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:664:5)
      at emitReadable_ (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:448:10)
      at emitReadable (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:444:5)
      at readableAddChunk (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:187:9)
      at DestroyableTransform.Readable.push (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:149:10)
      at DestroyableTransform.Transform.push (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:145:32)
      at afterTransform (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:101:12)
      at TransformState.afterTransform (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:79:12)
      at DestroyableTransform.noop [as _transform] (node_modules\vinyl-fs\node_modules\through2\through2.js:26:3)
      at DestroyableTransform.Transform._read (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:184:10)
      at DestroyableTransform.Transform._write (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:172:12)
      at doWrite (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_writable.js:237:10)
      at writeOrBuffer (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_writable.js:227:5)
      at DestroyableTransform.Writable.write (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_writable.js:194:11)
      at write (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:623:24)
      at flow (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:632:7)
      at DestroyableTransform.pipeOnReadable (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:664:5)
      at emitReadable_ (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:448:10)
      at emitReadable (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:444:5)
      at readableAddChunk (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:187:9)
      at DestroyableTransform.Readable.push (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:149:10)
      at DestroyableTransform.Transform.push (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:145:32)
      at afterTransform (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:101:12)
      at TransformState.afterTransform (node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_transform.js:79:12)
      at node_modules\vinyl-fs\lib\src\getContents\bufferFile.js:12:5
      at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:446:3)

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.