Giter Site home page Giter Site logo

p2-theme-core's People

Contributors

evanlovely avatar geoff-winner avatar illepic avatar jasonlttl avatar jdcrisamore avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

p2-theme-core's Issues

gulp-inject 4.3.2 modifies Twig files and leading to PL build failures.

https://github.com/klei/gulp-inject 4.3.2 introduced Twig 'support': klei/gulp-inject@831d4b0

This appears to process twig files with CSS and JS paths within them and wraps any file paths with asset(). I am unclear at which phase of a standard p2-theme-core npm run compile process this happens.

asset() is not a function that PatternLab appears to understand, at least at the version we are on (pattern-lab/core v2.8.8). Therefore the transform causes Pattern Lab to error out when it attempts to process twig files containing asset().

Happy to provide any information necessary. We're on p2-theme-core 9.4.6. We fixed the problem locally by fixing on gulp-inject 4.3.1 in our own package.json, but this should get resolved if it's actually a p2-theme-core problem.

Empty Sass @import folders result in error

If you attempt to import a folder (@import "blah/blerp") and there are no .scss files within the folder, the following output results:

gulp-notify: [CSS Error - Line 31] scss/style.scss
Error: File to import not found or unreadable: ../source/_patterns/05-pages/**/*.scss
       Parent style sheet: /patternlab/scss/style.scss
        on line 31 of scss/style.scss
>> @import "../source/_patterns/05-pages/**/*.scss";

East solution is of course to ensure you're not @import'ing empty files. This can probably be tackled within css.js within p2-them-core libs tasks.

Makes line width configurable when writing into theme's .info.yml file

When the theme is not "bundled" (or depending on your naming habits) within the patternlab base, you can end up with fairly long "paths" for the various twig templates.
This leads to "weird" results in the component-libraries section of the info file.

basics:
    paths:
      - ../../../../prototype/pattern-lab/source/_patterns/01-basics
      - >-
        ../../../../prototype/pattern-lab/source/_patterns/01-basics/00-breakpoints
      - ../../../../prototype/pattern-lab/source/_patterns/01-basics/01-colors
      - ../../../../prototype/pattern-lab/source/_patterns/01-basics/03-images
      - ../../../../prototype/pattern-lab/source/_patterns/01-basics/04-spacing
      - >-
        ../../../../prototype/pattern-lab/source/_patterns/01-basics/05-typography/fonts
      - >-
        ../../../../prototype/pattern-lab/source/_patterns/01-basics/05-typography/headings
      - >-
        ../../../

While the ">" is indeed normally valid, the way this is wrapped up (with extra "-") makes the parsing fail. I suspect this is due to the fact that js-yaml's dumper can't find a whitespace or character to split the line and ends up outputting it anyway.

An easy workaroung is to pass a longer line width as an option to the yaml.safeDump in addTwigNamespaceConfigToDrupal.

MR on its way.

jQuery should not be moved to top of inject:js sources list

Let the order of bower devDependencies determine the order of inject:js.

Reasoning: Drupal 8 core js libraries no longer depend on jQuery. Instead the docready non-jQuery library loads before jQuery (and drupal.js eventually). So we can remove the logic within lib/pattern-lab-php-twig.js that forces jQuery to the top of the list.

PR incoming.

Upgrade gulp-sass

Could it be possible to upgrade gulp-sass, as the used version depends on node-sass 3.4.2, a very old one?

css:full is called multiple times on npm start

When first firing up a project (fresh after npm install) with npm start, css:full is seen starting (and finishign) multiple times. You can see it starting 3 times below:

illepic@woodhouse-linux ~/dev/downfall-guild/project/build/dev/d8/themes/custom/patternlab                               [22:23:55] 
> $ npm start                                                                                                 ⬡ 6.6.0 [±master ●●●]

> [email protected] start /home/illepic/dev/downfall-guild/project/build/dev/d8/themes/custom/patternlab
> gulp

[22:26:09] Using gulpfile ~/dev/downfall-guild/project/build/dev/d8/themes/custom/patternlab/gulpfile.js
[22:26:09] Starting 'default'...
[22:26:09] Starting 'compile'...
[22:26:09] Starting 'clean'...
[22:26:09] Starting 'clean:js'...
[22:26:09] Starting 'clean:icons'...
[22:26:09] Starting 'clean:css'...
[22:26:09] Finished 'clean:js' after 11 ms
[22:26:09] Finished 'clean:icons' after 12 ms
[22:26:09] Finished 'clean:css' after 12 ms
[22:26:09] Finished 'clean' after 12 ms
[22:26:09] Starting 'js'...
[22:26:09] Starting 'icons'...
[22:26:09] Starting 'css:full'...
[22:26:09] Starting 'pl:full'...
[22:26:09] Starting 'inject:drupal'...
[22:26:09] Starting 'icons'...
[22:26:09] Starting 'inject:pl'...
[22:26:09] Starting 'css:full'...
[22:26:09] Starting 'css:full'...
[22:26:09] Starting 'icons'...
[22:26:09] Starting 'icons'...
[22:26:09] gulp-svgicons2svgfont: Font created
[22:26:09] gulp-svgicons2svgfont: Font created
[22:26:09] gulp-svgicons2svgfont: Font created
[22:26:09] gulp-svgicons2svgfont: Font created
[22:26:09] Finished 'js' after 388 ms
[22:26:09] Finished 'icons' after 383 ms
[22:26:09] Starting 'cssFull'...
[22:26:09] Finished 'icons' after 388 ms
[22:26:09] Starting 'cssFull'...
[22:26:09] Finished 'icons' after 402 ms
[22:26:09] Finished 'icons' after 392 ms
[22:26:09] Starting 'cssFull'...
[22:26:10] Finished 'cssFull' after 734 ms
[22:26:10] Finished 'css:full' after 1.12 s
[22:26:10] Starting 'js'...
[22:26:10] Finished 'cssFull' after 741 ms
[22:26:10] Finished 'css:full' after 1.12 s
[22:26:10] Starting 'js'...
[22:26:10] Finished 'cssFull' after 738 ms
[22:26:10] Finished 'css:full' after 1.14 s
[22:26:10] Finished 'js' after 69 ms
[22:26:10] Starting 'injectPl'...
[22:26:10] Finished 'js' after 80 ms
[22:26:10] Starting 'injectDrupal'...
Drupal 8 support not ready yet for injecting into patternlab.info.yml
[22:26:10] Finished 'injectDrupal' after 522 μs
[22:26:10] Finished 'inject:drupal' after 1.22 s
[22:26:10] gulp-inject 3 files into _00-head.twig.
[22:26:10] gulp-inject 10 files into _01-foot.twig.
[22:26:10] Finished 'injectPl' after 15 ms
[22:26:10] Finished 'inject:pl' after 1.21 s
[22:26:10] Starting 'icons'...
[22:26:10] gulp-svgicons2svgfont: Font created
[22:26:10] Finished 'icons' after 21 ms
[22:26:10] Starting 'pl:scss-to-json'...
[22:26:10] Finished 'pl:scss-to-json' after 1.67 ms
[22:26:10] Starting 'plBuild'...
configuring pattern lab...
your site has been generated...
site generation took 0.14904093742371 seconds and used 18MB of memory...
be well, do good work, and keep in touch...
[22:26:10] Finished 'plBuild' after 174 ms
[22:26:10] Finished 'pl:full' after 1.42 s
[22:26:10] Finished 'compile' after 1.43 s
[22:26:10] Starting 'serve'...
[22:26:10] Starting 'watch'...
[22:26:10] Starting 'watch:js'...
[22:26:10] Starting 'watch:icons'...
[22:26:10] Starting 'watch:css'...
[22:26:10] Starting 'watch:inject:pl'...
[22:26:10] Starting 'watch:pl:scss-to-json'...
[22:26:10] Starting 'watch:pl'...
[22:26:10] Starting 'watch:inject:drupal'...
[22:26:10] Starting 'watch:drupal'...
[BS] Access URLs:
 ----------------------------------------------------------
       Local: http://localhost:3051/pattern-lab/public/
    External: http://192.168.1.109:3051/pattern-lab/public/
 ----------------------------------------------------------
          UI: http://localhost:3002
 UI External: http://192.168.1.109:3002
 ----------------------------------------------------------
[BS] Serving files from: ./
[BS] Watching files...

multiple css full running

Convert from Grunt to Gulp

Given that Grunt hasn't been updated in a year and a half, it's time to move over. I've thought that Gulp is better for a while now, but this lights the fire. The initial goal is to create feature parity between the Grunt and Gulp setups (within reason). I think that a second file per task should be created with a .gulp.js prefix (Pattern Lab config for Grunt is lib/pattern-lab.js and Gulp's should be lib/pattern-lab.gulp.js. Before the release, we'll do a rename.

Features to migrate

  • lib/js.js - JS Linting
  • lib/libsass.js - Scss Compiling
  • lib/pattern-lab.js - Pattern Lab
  • lib/icons.js - SVG to Icon Fonts
  • lib/regression-qa.js - Visual Regression Testing

If anyone wants to help, we can spin up an issue & PR for each individual item above. Let me know how I can help you help us.

npm install fails on windows on git dependencies

Hi, hoping for any guidance on an issue i am facing when running npm install. I realise it is an issue with specific permissions on my setup, but after hours of debuggin with no luck i am desperate! Any help would be much appreciated.

After testing it seems i am getting issues when trying to install the dependencies that use a git remote, when npm install is run from the pattern-lab-starter theme.

fails at
"gulp": "gulpjs/gulp#4.0",

and
"p2-theme-core": "^9.3.1",
as this calls
"gulp": "gulpjs/gulp#4.0",
gulp-sass-glob": "tomgrooffer/gulp-sass-glob#99d06af",

npm install
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Cloning into 'C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-ecf98f08/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08' does not appear to be a git repository
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: and the repository exists.
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-4333caea\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Cloning into 'C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-gulpjs-gulp-git-4-0-4b46db44/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44' does not appear to be a git repository
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: and the repository exists.
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-52dd9a45\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Cloning into 'C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801' does not appear to be a git repository
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: and the repository exists.
npm ERR! git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
npm ERR! Cloning into 'C:\cygwin64\tmp\npm-14616-b3d69add\git-cache-9845edf4\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
npm ERR! fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801' does not appear to be a git repository
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lwils\AppData\Roaming\npm-cache_logs\2017-05-19T22_51_10_060Z-debug.log

FROM LOG FILE

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\lwils\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 silly install loadCurrentTree
5 silly install readLocalPackageData
6 silly install normalizeTree
7 silly install loadIdealTree
8 silly install cloneCurrentTreeToIdealTree
9 silly install loadShrinkwrap
10 silly install loadAllDepsIntoIdealTree
11 silly fetchOtherPackageData gulp@github:gulpjs/gulp#4.0
12 silly cache add args [ 'gulp@github:gulpjs/gulp#4.0', null ]
13 verbose cache add spec gulp@github:gulpjs/gulp#4.0
14 silly fetchNamedPackageData p2-theme-core
15 silly mapToRegistry name p2-theme-core
16 silly mapToRegistry using default registry
17 silly mapToRegistry registry https://registry.npmjs.org/
18 silly mapToRegistry data Result {
18 silly mapToRegistry raw: 'p2-theme-core',
18 silly mapToRegistry scope: null,
18 silly mapToRegistry escapedName: 'p2-theme-core',
18 silly mapToRegistry name: 'p2-theme-core',
18 silly mapToRegistry rawSpec: '',
18 silly mapToRegistry spec: 'latest',
18 silly mapToRegistry type: 'tag' }
19 silly mapToRegistry uri https://registry.npmjs.org/p2-theme-core
20 silly cache add parsed spec Result {
20 silly cache add raw: 'gulp@github:gulpjs/gulp#4.0',
20 silly cache add scope: null,
20 silly cache add escapedName: 'gulp',
20 silly cache add name: 'gulp',
20 silly cache add rawSpec: 'github:gulpjs/gulp#4.0',
20 silly cache add spec: 'github:gulpjs/gulp#4.0',
20 silly cache add type: 'hosted',
20 silly cache add hosted:
20 silly cache add { type: 'github',
20 silly cache add ssh: '[email protected]:gulpjs/gulp.git#4.0',
20 silly cache add sshUrl: 'git+ssh://[email protected]/gulpjs/gulp.git#4.0',
20 silly cache add httpsUrl: 'git+https://github.com/gulpjs/gulp.git#4.0',
20 silly cache add gitUrl: 'git://github.com/gulpjs/gulp.git#4.0',
20 silly cache add shortcut: 'github:gulpjs/gulp#4.0',
20 silly cache add directUrl: 'https://raw.githubusercontent.com/gulpjs/gulp/4.0/package.json' } }
21 verbose addRemoteGit caching github:gulpjs/gulp#4.0
22 verbose addRemoteGit gulpjs/gulp#4.0 is a repository hosted by github
23 silly tryGitProto attempting to clone git://github.com/gulpjs/gulp.git#4.0
24 silly tryClone cloning gulpjs/gulp#4.0 via git://github.com/gulpjs/gulp.git#4.0
25 verbose tryClone git-github-com-gulpjs-gulp-git-4-0-ecf98f08 not in flight; caching
26 verbose correctMkdir C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes correctMkdir not in flight; initializing
27 verbose request uri https://registry.npmjs.org/p2-theme-core
28 verbose request no auth needed
29 info attempt registry request try #1 at 3:57:21 PM
30 verbose request id b6a8b6602100b755
31 verbose etag W/"58ebd058-30138"
32 verbose lastModified Mon, 10 Apr 2017 18:35:04 GMT
33 http request GET https://registry.npmjs.org/p2-theme-core
34 info git [ 'config', '--get', 'remote.origin.url' ]
35 silly validateExistingRemote gulpjs/gulp#4.0 remote.origin.url: git://github.com/gulpjs/gulp.git
36 verbose validateExistingRemote gulpjs/gulp#4.0 is updating existing cached remote C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08
37 info git [ 'fetch', '-a', 'origin' ]
38 http 304 https://registry.npmjs.org/p2-theme-core
39 verbose headers { date: 'Fri, 19 May 2017 22:57:22 GMT',
39 verbose headers via: '1.1 varnish',
39 verbose headers 'cache-control': 'max-age=300',
39 verbose headers etag: 'W/"58ebd058-30138"',
39 verbose headers age: '0',
39 verbose headers connection: 'keep-alive',
39 verbose headers 'x-served-by': 'cache-sea1024-SEA',
39 verbose headers 'x-cache': 'HIT',
39 verbose headers 'x-cache-hits': '1',
39 verbose headers 'x-timer': 'S1495234642.384300,VS0,VE9',
39 verbose headers vary: 'Accept-Encoding' }
40 silly get cb [ 304,
40 silly get { date: 'Fri, 19 May 2017 22:57:22 GMT',
40 silly get via: '1.1 varnish',
40 silly get 'cache-control': 'max-age=300',
40 silly get etag: 'W/"58ebd058-30138"',
40 silly get age: '0',
40 silly get connection: 'keep-alive',
40 silly get 'x-served-by': 'cache-sea1024-SEA',
40 silly get 'x-cache': 'HIT',
40 silly get 'x-cache-hits': '1',
40 silly get 'x-timer': 'S1495234642.384300,VS0,VE9',
40 silly get vary: 'Accept-Encoding' } ]
41 verbose etag https://registry.npmjs.org/p2-theme-core from cache
42 verbose get saving p2-theme-core to C:\Users\lwils\AppData\Roaming\npm-cache\registry.npmjs.org\p2-theme-core.cache.json
43 verbose correctMkdir C:\Users\lwils\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
44 silly pickManifestFromRegistryMetadata spec >=9.3.1 <10.0.0 tag latest versions [ '3.0.0',
44 silly pickManifestFromRegistryMetadata '3.0.1',
44 silly pickManifestFromRegistryMetadata '3.0.2',
44 silly pickManifestFromRegistryMetadata '3.0.3',
44 silly pickManifestFromRegistryMetadata '3.0.4',
44 silly pickManifestFromRegistryMetadata '3.0.5',
44 silly pickManifestFromRegistryMetadata '4.0.0',
44 silly pickManifestFromRegistryMetadata '4.0.1',
44 silly pickManifestFromRegistryMetadata '5.0.0',
44 silly pickManifestFromRegistryMetadata '5.0.1',
44 silly pickManifestFromRegistryMetadata '5.0.2',
44 silly pickManifestFromRegistryMetadata '5.0.3',
44 silly pickManifestFromRegistryMetadata '5.0.4',
44 silly pickManifestFromRegistryMetadata '5.0.5',
44 silly pickManifestFromRegistryMetadata '6.0.0',
44 silly pickManifestFromRegistryMetadata '6.0.1',
44 silly pickManifestFromRegistryMetadata '6.0.2',
44 silly pickManifestFromRegistryMetadata '5.0.6',
44 silly pickManifestFromRegistryMetadata '6.0.3',
44 silly pickManifestFromRegistryMetadata '6.0.4',
44 silly pickManifestFromRegistryMetadata '6.0.5',
44 silly pickManifestFromRegistryMetadata '6.1.0',
44 silly pickManifestFromRegistryMetadata '6.1.1',
44 silly pickManifestFromRegistryMetadata '6.1.2',
44 silly pickManifestFromRegistryMetadata '6.1.3',
44 silly pickManifestFromRegistryMetadata '6.1.4',
44 silly pickManifestFromRegistryMetadata '6.2.0',
44 silly pickManifestFromRegistryMetadata '6.2.1',
44 silly pickManifestFromRegistryMetadata '6.2.2',
44 silly pickManifestFromRegistryMetadata '6.2.3',
44 silly pickManifestFromRegistryMetadata '6.3.0',
44 silly pickManifestFromRegistryMetadata '6.3.1',
44 silly pickManifestFromRegistryMetadata '6.3.2',
44 silly pickManifestFromRegistryMetadata '6.3.3',
44 silly pickManifestFromRegistryMetadata '6.3.4',
44 silly pickManifestFromRegistryMetadata '6.3.5',
44 silly pickManifestFromRegistryMetadata '6.3.6',
44 silly pickManifestFromRegistryMetadata '6.3.7',
44 silly pickManifestFromRegistryMetadata '6.4.0',
44 silly pickManifestFromRegistryMetadata '6.4.1',
44 silly pickManifestFromRegistryMetadata '6.4.2',
44 silly pickManifestFromRegistryMetadata '6.4.3',
44 silly pickManifestFromRegistryMetadata '6.4.4',
44 silly pickManifestFromRegistryMetadata '6.4.5',
44 silly pickManifestFromRegistryMetadata '6.5.0',
44 silly pickManifestFromRegistryMetadata '6.5.1',
44 silly pickManifestFromRegistryMetadata '7.0.0',
44 silly pickManifestFromRegistryMetadata '7.0.1',
44 silly pickManifestFromRegistryMetadata '7.1.0',
44 silly pickManifestFromRegistryMetadata '7.1.1',
44 silly pickManifestFromRegistryMetadata '7.1.2',
44 silly pickManifestFromRegistryMetadata '7.1.3',
44 silly pickManifestFromRegistryMetadata '7.2.0',
44 silly pickManifestFromRegistryMetadata '7.2.1',
44 silly pickManifestFromRegistryMetadata '7.2.2',
44 silly pickManifestFromRegistryMetadata '7.2.3',
44 silly pickManifestFromRegistryMetadata '7.2.4',
44 silly pickManifestFromRegistryMetadata '8.0.0',
44 silly pickManifestFromRegistryMetadata '8.0.1',
44 silly pickManifestFromRegistryMetadata '8.0.2',
44 silly pickManifestFromRegistryMetadata '8.0.3',
44 silly pickManifestFromRegistryMetadata '8.0.4',
44 silly pickManifestFromRegistryMetadata '8.1.0',
44 silly pickManifestFromRegistryMetadata '8.1.1',
44 silly pickManifestFromRegistryMetadata '8.1.2',
44 silly pickManifestFromRegistryMetadata '8.2.0',
44 silly pickManifestFromRegistryMetadata '8.2.1',
44 silly pickManifestFromRegistryMetadata '9.0.0',
44 silly pickManifestFromRegistryMetadata '9.0.1',
44 silly pickManifestFromRegistryMetadata '9.0.2',
44 silly pickManifestFromRegistryMetadata '9.0.3',
44 silly pickManifestFromRegistryMetadata '9.1.0',
44 silly pickManifestFromRegistryMetadata '9.1.1',
44 silly pickManifestFromRegistryMetadata '9.1.2',
44 silly pickManifestFromRegistryMetadata '9.1.3',
44 silly pickManifestFromRegistryMetadata '9.1.4',
44 silly pickManifestFromRegistryMetadata '9.1.5',
44 silly pickManifestFromRegistryMetadata '9.1.6',
44 silly pickManifestFromRegistryMetadata '9.1.7',
44 silly pickManifestFromRegistryMetadata '9.1.8',
44 silly pickManifestFromRegistryMetadata '9.2.0',
44 silly pickManifestFromRegistryMetadata '9.2.1',
44 silly pickManifestFromRegistryMetadata '9.2.3',
44 silly pickManifestFromRegistryMetadata '9.2.4',
44 silly pickManifestFromRegistryMetadata '9.3.0',
44 silly pickManifestFromRegistryMetadata '9.3.3',
44 silly pickManifestFromRegistryMetadata '9.3.4',
44 silly pickManifestFromRegistryMetadata '9.4.0',
44 silly pickManifestFromRegistryMetadata '9.4.1',
44 silly pickManifestFromRegistryMetadata '9.4.2',
44 silly pickManifestFromRegistryMetadata '9.4.3',
44 silly pickManifestFromRegistryMetadata '9.4.4' ]
45 silly resolveWithNewModule [email protected] checking installable status
46 silly cache add args [ 'p2-theme-core@^9.3.1', null ]
47 verbose cache add spec p2-theme-core@^9.3.1
48 silly cache add parsed spec Result {
48 silly cache add raw: 'p2-theme-core@^9.3.1',
48 silly cache add scope: null,
48 silly cache add escapedName: 'p2-theme-core',
48 silly cache add name: 'p2-theme-core',
48 silly cache add rawSpec: '^9.3.1',
48 silly cache add spec: '>=9.3.1 <10.0.0',
48 silly cache add type: 'range' }
49 silly addNamed p2-theme-core@>=9.3.1 <10.0.0
50 verbose addNamed ">=9.3.1 <10.0.0" is a valid semver range for p2-theme-core
51 silly addNameRange { name: 'p2-theme-core',
51 silly addNameRange range: '>=9.3.1 <10.0.0',
51 silly addNameRange hasData: false }
52 silly mapToRegistry name p2-theme-core
53 silly mapToRegistry using default registry
54 silly mapToRegistry registry https://registry.npmjs.org/
55 silly mapToRegistry data Result {
55 silly mapToRegistry raw: 'p2-theme-core',
55 silly mapToRegistry scope: null,
55 silly mapToRegistry escapedName: 'p2-theme-core',
55 silly mapToRegistry name: 'p2-theme-core',
55 silly mapToRegistry rawSpec: '',
55 silly mapToRegistry spec: 'latest',
55 silly mapToRegistry type: 'tag' }
56 silly mapToRegistry uri https://registry.npmjs.org/p2-theme-core
57 verbose addNameRange registry:https://registry.npmjs.org/p2-theme-core not in flight; fetching
58 verbose get https://registry.npmjs.org/p2-theme-core not expired, no request
59 silly addNameRange number 2 { name: 'p2-theme-core',
59 silly addNameRange range: '>=9.3.1 <10.0.0',
59 silly addNameRange hasData: true }
60 silly addNameRange versions [ 'p2-theme-core',
60 silly addNameRange [ '3.0.0',
60 silly addNameRange '3.0.1',
60 silly addNameRange '3.0.2',
60 silly addNameRange '3.0.3',
60 silly addNameRange '3.0.4',
60 silly addNameRange '3.0.5',
60 silly addNameRange '4.0.0',
60 silly addNameRange '4.0.1',
60 silly addNameRange '5.0.0',
60 silly addNameRange '5.0.1',
60 silly addNameRange '5.0.2',
60 silly addNameRange '5.0.3',
60 silly addNameRange '5.0.4',
60 silly addNameRange '5.0.5',
60 silly addNameRange '6.0.0',
60 silly addNameRange '6.0.1',
60 silly addNameRange '6.0.2',
60 silly addNameRange '5.0.6',
60 silly addNameRange '6.0.3',
60 silly addNameRange '6.0.4',
60 silly addNameRange '6.0.5',
60 silly addNameRange '6.1.0',
60 silly addNameRange '6.1.1',
60 silly addNameRange '6.1.2',
60 silly addNameRange '6.1.3',
60 silly addNameRange '6.1.4',
60 silly addNameRange '6.2.0',
60 silly addNameRange '6.2.1',
60 silly addNameRange '6.2.2',
60 silly addNameRange '6.2.3',
60 silly addNameRange '6.3.0',
60 silly addNameRange '6.3.1',
60 silly addNameRange '6.3.2',
60 silly addNameRange '6.3.3',
60 silly addNameRange '6.3.4',
60 silly addNameRange '6.3.5',
60 silly addNameRange '6.3.6',
60 silly addNameRange '6.3.7',
60 silly addNameRange '6.4.0',
60 silly addNameRange '6.4.1',
60 silly addNameRange '6.4.2',
60 silly addNameRange '6.4.3',
60 silly addNameRange '6.4.4',
60 silly addNameRange '6.4.5',
60 silly addNameRange '6.5.0',
60 silly addNameRange '6.5.1',
60 silly addNameRange '7.0.0',
60 silly addNameRange '7.0.1',
60 silly addNameRange '7.1.0',
60 silly addNameRange '7.1.1',
60 silly addNameRange '7.1.2',
60 silly addNameRange '7.1.3',
60 silly addNameRange '7.2.0',
60 silly addNameRange '7.2.1',
60 silly addNameRange '7.2.2',
60 silly addNameRange '7.2.3',
60 silly addNameRange '7.2.4',
60 silly addNameRange '8.0.0',
60 silly addNameRange '8.0.1',
60 silly addNameRange '8.0.2',
60 silly addNameRange '8.0.3',
60 silly addNameRange '8.0.4',
60 silly addNameRange '8.1.0',
60 silly addNameRange '8.1.1',
60 silly addNameRange '8.1.2',
60 silly addNameRange '8.2.0',
60 silly addNameRange '8.2.1',
60 silly addNameRange '9.0.0',
60 silly addNameRange '9.0.1',
60 silly addNameRange '9.0.2',
60 silly addNameRange '9.0.3',
60 silly addNameRange '9.1.0',
60 silly addNameRange '9.1.1',
60 silly addNameRange '9.1.2',
60 silly addNameRange '9.1.3',
60 silly addNameRange '9.1.4',
60 silly addNameRange '9.1.5',
60 silly addNameRange '9.1.6',
60 silly addNameRange '9.1.7',
60 silly addNameRange '9.1.8',
60 silly addNameRange '9.2.0',
60 silly addNameRange '9.2.1',
60 silly addNameRange '9.2.3',
60 silly addNameRange '9.2.4',
60 silly addNameRange '9.3.0',
60 silly addNameRange '9.3.3',
60 silly addNameRange '9.3.4',
60 silly addNameRange '9.4.0',
60 silly addNameRange '9.4.1',
60 silly addNameRange '9.4.2',
60 silly addNameRange '9.4.3',
60 silly addNameRange '9.4.4' ] ]
61 silly pickManifestFromRegistryMetadata spec >=9.3.1 <10.0.0 tag latest versions [ '3.0.0',
61 silly pickManifestFromRegistryMetadata '3.0.1',
61 silly pickManifestFromRegistryMetadata '3.0.2',
61 silly pickManifestFromRegistryMetadata '3.0.3',
61 silly pickManifestFromRegistryMetadata '3.0.4',
61 silly pickManifestFromRegistryMetadata '3.0.5',
61 silly pickManifestFromRegistryMetadata '4.0.0',
61 silly pickManifestFromRegistryMetadata '4.0.1',
61 silly pickManifestFromRegistryMetadata '5.0.0',
61 silly pickManifestFromRegistryMetadata '5.0.1',
61 silly pickManifestFromRegistryMetadata '5.0.2',
61 silly pickManifestFromRegistryMetadata '5.0.3',
61 silly pickManifestFromRegistryMetadata '5.0.4',
61 silly pickManifestFromRegistryMetadata '5.0.5',
61 silly pickManifestFromRegistryMetadata '6.0.0',
61 silly pickManifestFromRegistryMetadata '6.0.1',
61 silly pickManifestFromRegistryMetadata '6.0.2',
61 silly pickManifestFromRegistryMetadata '5.0.6',
61 silly pickManifestFromRegistryMetadata '6.0.3',
61 silly pickManifestFromRegistryMetadata '6.0.4',
61 silly pickManifestFromRegistryMetadata '6.0.5',
61 silly pickManifestFromRegistryMetadata '6.1.0',
61 silly pickManifestFromRegistryMetadata '6.1.1',
61 silly pickManifestFromRegistryMetadata '6.1.2',
61 silly pickManifestFromRegistryMetadata '6.1.3',
61 silly pickManifestFromRegistryMetadata '6.1.4',
61 silly pickManifestFromRegistryMetadata '6.2.0',
61 silly pickManifestFromRegistryMetadata '6.2.1',
61 silly pickManifestFromRegistryMetadata '6.2.2',
61 silly pickManifestFromRegistryMetadata '6.2.3',
61 silly pickManifestFromRegistryMetadata '6.3.0',
61 silly pickManifestFromRegistryMetadata '6.3.1',
61 silly pickManifestFromRegistryMetadata '6.3.2',
61 silly pickManifestFromRegistryMetadata '6.3.3',
61 silly pickManifestFromRegistryMetadata '6.3.4',
61 silly pickManifestFromRegistryMetadata '6.3.5',
61 silly pickManifestFromRegistryMetadata '6.3.6',
61 silly pickManifestFromRegistryMetadata '6.3.7',
61 silly pickManifestFromRegistryMetadata '6.4.0',
61 silly pickManifestFromRegistryMetadata '6.4.1',
61 silly pickManifestFromRegistryMetadata '6.4.2',
61 silly pickManifestFromRegistryMetadata '6.4.3',
61 silly pickManifestFromRegistryMetadata '6.4.4',
61 silly pickManifestFromRegistryMetadata '6.4.5',
61 silly pickManifestFromRegistryMetadata '6.5.0',
61 silly pickManifestFromRegistryMetadata '6.5.1',
61 silly pickManifestFromRegistryMetadata '7.0.0',
61 silly pickManifestFromRegistryMetadata '7.0.1',
61 silly pickManifestFromRegistryMetadata '7.1.0',
61 silly pickManifestFromRegistryMetadata '7.1.1',
61 silly pickManifestFromRegistryMetadata '7.1.2',
61 silly pickManifestFromRegistryMetadata '7.1.3',
61 silly pickManifestFromRegistryMetadata '7.2.0',
61 silly pickManifestFromRegistryMetadata '7.2.1',
61 silly pickManifestFromRegistryMetadata '7.2.2',
61 silly pickManifestFromRegistryMetadata '7.2.3',
61 silly pickManifestFromRegistryMetadata '7.2.4',
61 silly pickManifestFromRegistryMetadata '8.0.0',
61 silly pickManifestFromRegistryMetadata '8.0.1',
61 silly pickManifestFromRegistryMetadata '8.0.2',
61 silly pickManifestFromRegistryMetadata '8.0.3',
61 silly pickManifestFromRegistryMetadata '8.0.4',
61 silly pickManifestFromRegistryMetadata '8.1.0',
61 silly pickManifestFromRegistryMetadata '8.1.1',
61 silly pickManifestFromRegistryMetadata '8.1.2',
61 silly pickManifestFromRegistryMetadata '8.2.0',
61 silly pickManifestFromRegistryMetadata '8.2.1',
61 silly pickManifestFromRegistryMetadata '9.0.0',
61 silly pickManifestFromRegistryMetadata '9.0.1',
61 silly pickManifestFromRegistryMetadata '9.0.2',
61 silly pickManifestFromRegistryMetadata '9.0.3',
61 silly pickManifestFromRegistryMetadata '9.1.0',
61 silly pickManifestFromRegistryMetadata '9.1.1',
61 silly pickManifestFromRegistryMetadata '9.1.2',
61 silly pickManifestFromRegistryMetadata '9.1.3',
61 silly pickManifestFromRegistryMetadata '9.1.4',
61 silly pickManifestFromRegistryMetadata '9.1.5',
61 silly pickManifestFromRegistryMetadata '9.1.6',
61 silly pickManifestFromRegistryMetadata '9.1.7',
61 silly pickManifestFromRegistryMetadata '9.1.8',
61 silly pickManifestFromRegistryMetadata '9.2.0',
61 silly pickManifestFromRegistryMetadata '9.2.1',
61 silly pickManifestFromRegistryMetadata '9.2.3',
61 silly pickManifestFromRegistryMetadata '9.2.4',
61 silly pickManifestFromRegistryMetadata '9.3.0',
61 silly pickManifestFromRegistryMetadata '9.3.3',
61 silly pickManifestFromRegistryMetadata '9.3.4',
61 silly pickManifestFromRegistryMetadata '9.4.0',
61 silly pickManifestFromRegistryMetadata '9.4.1',
61 silly pickManifestFromRegistryMetadata '9.4.2',
61 silly pickManifestFromRegistryMetadata '9.4.3',
61 silly pickManifestFromRegistryMetadata '9.4.4' ]
62 silly addNamed p2-theme-core@latest
63 verbose addNamed "latest" is being treated as a dist-tag for p2-theme-core
64 info addNameTag [ 'p2-theme-core', 'latest' ]
65 silly mapToRegistry name p2-theme-core
66 silly mapToRegistry using default registry
67 silly mapToRegistry registry https://registry.npmjs.org/
68 silly mapToRegistry data Result {
68 silly mapToRegistry raw: 'p2-theme-core',
68 silly mapToRegistry scope: null,
68 silly mapToRegistry escapedName: 'p2-theme-core',
68 silly mapToRegistry name: 'p2-theme-core',
68 silly mapToRegistry rawSpec: '',
68 silly mapToRegistry spec: 'latest',
68 silly mapToRegistry type: 'tag' }
69 silly mapToRegistry uri https://registry.npmjs.org/p2-theme-core
70 verbose addNameTag registry:https://registry.npmjs.org/p2-theme-core already in flight; waiting
71 silly addNameTag next cb for p2-theme-core with tag latest
72 silly addNamed [email protected]
73 verbose addNamed "9.4.4" is a plain semver version for p2-theme-core
74 silly cache afterAdd [email protected]
75 verbose afterAdd C:\Users\lwils\AppData\Roaming\npm-cache\p2-theme-core\9.4.4\package\package.json not in flight; writing
76 verbose correctMkdir C:\Users\lwils\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
77 verbose afterAdd C:\Users\lwils\AppData\Roaming\npm-cache\p2-theme-core\9.4.4\package\package.json written
78 verbose updateRemote git fetch -a origin (git://github.com/gulpjs/gulp.git)
79 verbose setPermissions gulpjs/gulp#4.0 skipping chownr on Windows
80 verbose resolveHead gulpjs/gulp#4.0 original treeish: 4.0
81 info git [ 'rev-list', '-n1', '4.0' ]
82 silly resolveHead gulpjs/gulp#4.0 resolved treeish: 38246c3f8b6dbb8d4ef657183e92d90c8299e22f
83 verbose resolveHead gulpjs/gulp#4.0 resolved Git URL: git://github.com/gulpjs/gulp.git#38246c3f8b6dbb8d4ef657183e92d90c8299e22f
84 silly resolveHead Git working directory: C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
85 info git [ 'clone',
85 info git 'C:\Users\lwils\AppData\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08',
85 info git 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f' ]
86 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Cloning into 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
86 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-ecf98f08/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08' does not appear to be a git repository
86 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: Could not read from remote repository.
86 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
86 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Please make sure you have the correct access rights
86 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-ecf98f08 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-1626abbf\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: and the repository exists.
87 silly tryHTTPS attempting to clone git+https://github.com/gulpjs/gulp.git#4.0
88 silly tryClone cloning gulpjs/gulp#4.0 via git+https://github.com/gulpjs/gulp.git#4.0
89 verbose tryClone git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 not in flight; caching
90 verbose correctMkdir C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes correctMkdir not in flight; initializing
91 info git [ 'config', '--get', 'remote.origin.url' ]
92 silly validateExistingRemote gulpjs/gulp#4.0 remote.origin.url: https://github.com/gulpjs/gulp.git
93 verbose validateExistingRemote gulpjs/gulp#4.0 is updating existing cached remote C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44
94 info git [ 'fetch', '-a', 'origin' ]
95 verbose updateRemote git fetch -a origin (https://github.com/gulpjs/gulp.git)
96 verbose setPermissions gulpjs/gulp#4.0 skipping chownr on Windows
97 verbose resolveHead gulpjs/gulp#4.0 original treeish: 4.0
98 info git [ 'rev-list', '-n1', '4.0' ]
99 silly resolveHead gulpjs/gulp#4.0 resolved treeish: 38246c3f8b6dbb8d4ef657183e92d90c8299e22f
100 verbose resolveHead gulpjs/gulp#4.0 resolved Git URL: git+https://github.com/gulpjs/gulp.git#38246c3f8b6dbb8d4ef657183e92d90c8299e22f
101 silly resolveHead Git working directory: C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
102 info git [ 'clone',
102 info git 'C:\Users\lwils\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44',
102 info git 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f' ]
103 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Cloning into 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
103 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-gulpjs-gulp-git-4-0-4b46db44/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44' does not appear to be a git repository
103 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: Could not read from remote repository.
103 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
103 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Please make sure you have the correct access rights
103 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-https-github-com-gulpjs-gulp-git-4-0-4b46db44 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-f83a0eb1\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: and the repository exists.
104 silly trySSH attempting to clone [email protected]:gulpjs/gulp.git#4.0
105 silly tryClone cloning gulpjs/gulp#4.0 via [email protected]:gulpjs/gulp.git#4.0
106 verbose tryClone git-github-com-gulpjs-gulp-git-4-0-7c06e801 not in flight; caching
107 verbose correctMkdir C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes correctMkdir not in flight; initializing
108 info git [ 'config', '--get', 'remote.origin.url' ]
109 silly validateExistingRemote gulpjs/gulp#4.0 remote.origin.url: [email protected]:gulpjs/gulp.git
110 verbose validateExistingRemote gulpjs/gulp#4.0 is updating existing cached remote C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801
111 info git [ 'fetch', '-a', 'origin' ]
112 verbose updateRemote git fetch -a origin ([email protected]:gulpjs/gulp.git)
113 verbose setPermissions gulpjs/gulp#4.0 skipping chownr on Windows
114 verbose resolveHead gulpjs/gulp#4.0 original treeish: 4.0
115 info git [ 'rev-list', '-n1', '4.0' ]
116 silly resolveHead gulpjs/gulp#4.0 resolved treeish: 38246c3f8b6dbb8d4ef657183e92d90c8299e22f
117 verbose resolveHead gulpjs/gulp#4.0 resolved Git URL: git+ssh://[email protected]/gulpjs/gulp.git#38246c3f8b6dbb8d4ef657183e92d90c8299e22f
118 silly resolveHead Git working directory: C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
119 info git [ 'clone',
119 info git 'C:\Users\lwils\AppData\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801',
119 info git 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f' ]
120 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Cloning into 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
120 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801' does not appear to be a git repository
120 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: fatal: Could not read from remote repository.
120 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f:
120 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: Please make sure you have the correct access rights
120 error git clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f: and the repository exists.
121 silly fetchPackageMetaData Error: Command failed: git -c core.longpaths=true clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
121 silly fetchPackageMetaData Cloning into 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
121 silly fetchPackageMetaData fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801' does not appear to be a git repository
121 silly fetchPackageMetaData fatal: Could not read from remote repository.
121 silly fetchPackageMetaData
121 silly fetchPackageMetaData Please make sure you have the correct access rights
121 silly fetchPackageMetaData and the repository exists.
121 silly fetchPackageMetaData
121 silly fetchPackageMetaData at ChildProcess.exithandler (child_process.js:204:12)
121 silly fetchPackageMetaData at emitTwo (events.js:106:13)
121 silly fetchPackageMetaData at ChildProcess.emit (events.js:191:7)
121 silly fetchPackageMetaData at maybeClose (internal/child_process.js:886:16)
121 silly fetchPackageMetaData at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
121 silly fetchPackageMetaData error for gulp@github:gulpjs/gulp#4.0 { Error: Command failed: git -c core.longpaths=true clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
121 silly fetchPackageMetaData Cloning into 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
121 silly fetchPackageMetaData fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801' does not appear to be a git repository
121 silly fetchPackageMetaData fatal: Could not read from remote repository.
121 silly fetchPackageMetaData
121 silly fetchPackageMetaData Please make sure you have the correct access rights
121 silly fetchPackageMetaData and the repository exists.
121 silly fetchPackageMetaData
121 silly fetchPackageMetaData at ChildProcess.exithandler (child_process.js:204:12)
121 silly fetchPackageMetaData at emitTwo (events.js:106:13)
121 silly fetchPackageMetaData at ChildProcess.emit (events.js:191:7)
121 silly fetchPackageMetaData at maybeClose (internal/child_process.js:886:16)
121 silly fetchPackageMetaData at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
121 silly fetchPackageMetaData killed: false,
121 silly fetchPackageMetaData code: 128,
121 silly fetchPackageMetaData signal: null,
121 silly fetchPackageMetaData cmd: 'git -c core.longpaths=true clone C:\Users\lwils\AppData\Roaming\npm-cache\_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f' }
122 silly timing Tried to end timer that doesn't exist: stage:runTopLevelLifecycles
123 silly install printInstalled
124 verbose stack Error: Command failed: git -c core.longpaths=true clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
124 verbose stack Cloning into 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
124 verbose stack fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801' does not appear to be a git repository
124 verbose stack fatal: Could not read from remote repository.
124 verbose stack
124 verbose stack Please make sure you have the correct access rights
124 verbose stack and the repository exists.
124 verbose stack
124 verbose stack at ChildProcess.exithandler (child_process.js:204:12)
124 verbose stack at emitTwo (events.js:106:13)
124 verbose stack at ChildProcess.emit (events.js:191:7)
124 verbose stack at maybeClose (internal/child_process.js:886:16)
124 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
125 verbose cwd C:\webroot\jaypeak\web\themes\custom\jaypeak
126 verbose Windows_NT 10.0.14393
127 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\lwils\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
128 verbose node v6.10.3
129 verbose npm v4.6.1
130 error code 128
131 error Command failed: git -c core.longpaths=true clone C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801 C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f
131 error Cloning into 'C:\cygwin64\tmp\npm-3280-40d8d8a3\git-cache-d834a4e9\38246c3f8b6dbb8d4ef657183e92d90c8299e22f'...
131 error fatal: '/cygdrive/c/Users/lwils/AppData/Roaming/npm-cache/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801/C:\Users\lwils\AppData\Roaming\npm-cache_git-remotes\git-github-com-gulpjs-gulp-git-4-0-7c06e801' does not appear to be a git repository
131 error fatal: Could not read from remote repository.
131 error
131 error Please make sure you have the correct access rights
131 error and the repository exists.
132 verbose exit [ 1, true ]

allow p2-theme-core to not reside in the parent directory

css, js, and docs all use the del() package, e.g.:

https://github.com/phase2/p2-theme-core/blob/master/lib/css.js#L60

del() assumes that it resides in a parent directory of the files it is modifying. You can delete outside your piece of the directory tree with the 'force' opt:
https://www.npmjs.com/package/del#force

I would like the ability either to specify that I am forcing, or to have it turned on by default in p2-theme-core.

The use case is that p2-theme-core is not necessarily guaranteed to be installed at a root directory of the files it is modifying. For example, p2-theme-core might be included as part of a tools package that is distributed by Composer, which would put the package.json pulling it in at repo-root/vendor/my-tools/, but wanting to modify files that are elsewhere in repo-root/my-sweet-files.

Icon font uses an incorrect "appendUniconde" option

Issue
The "appendUniconde" is spelled wrong and should have been "appendUnicode", so it was never being used anyways.
The new option for "gulp-svgicons2svgfont" is "prependUnicode", see changes in nfroidure/gulp-svgicons2svgfont#33.

See https://github.com/nfroidure/gulp-svgicons2svgfont
"
options.prependUnicode
Type: Boolean Default value: false

Allow to prepend unicode codepoints to icon file names in order to always keep the same codepoints accross each run
"

This leads to inconsistent codepoints on subsequent builds which leads to incorrect icons displayed for browsers thats really like to cache icon files even with a cache bust query string.

Affected Versions
All versions.

Option for suppressing the sourceMappingURL

When compiling the theme for Open Atrium, we do not add the *.js.map file to the distribution to reduce the complexity of patch submissions. However, even when sourceMapEmbed is false, it still appends the sourceMappingURL to the end of the *.min.js file:

//# sourceMappingURL=oa_basetheme.script.min.js.map

Because this *.js.map file is not included in the distro, people get errors when they try to inspect the javascript since the file cannot be found.

Would be nice to add a new option for config.xml that could prevent any embedding of source map info. So, in js.js, changing:

    .pipe(sourcemaps.write((config.js.sourceMapEmbed) ? null : './'))

to something like:

    .pipe(gulpif(config.js.sourceMap || config.js.sourceMapEmbed, sourcemaps.write((config.js.sourceMapEmbed) ? null : './')))

Multiple dependencies with security advisories

Running npm audit on a checkout of p2-theme-core returns a large number of packages that need updating.

It is possible to run general updates to get the number down, but there are still a number that require looking at.

Ran on a clean checkout of p2-theme-core:

$ npm --version
6.4.1

$ node --version
v8.14.1

$ npm install
<snip>
added 144 packages from 158 contributors, removed 80 packages, updated 112 packages and audited 8717 packages in 25.524s
found 81 vulnerabilities (17 low, 51 moderate, 13 high)
  run `npm audit fix` to fix them, or `npm audit` for details

$ npm update
<snip>
found 17 vulnerabilities (9 low, 6 moderate, 2 high)
  run `npm audit fix` to fix them, or `npm audit` for details

$ npm audit fix

After that, this is the result:

$ npm audit

=== npm audit security report ===                        
                                                                                
# Run  npm install [email protected]  to resolve 3 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ debug                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-iconfont                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-iconfont > gulp-svgicons2svgfont > svgicons2svgfont >   │
│               │ debug                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/534                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ debug                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-iconfont                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-iconfont > plexer > debug                               │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/534                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Arbitrary File Overwrite                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ tar                                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-iconfont                                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-iconfont > gulp-ttf2woff2 > ttf2woff2 > node-gyp > tar  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/803                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


# Run  npm install [email protected]  to resolve 3 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ braces                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-stylelint                                               │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-stylelint > stylelint > micromatch > braces             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/786                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ deep-extend                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-stylelint                                               │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-stylelint > deep-extend                                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/612                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ debug                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-stylelint                                               │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-stylelint > stylelint > debug                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/534                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


# Run  npm update node.extend --depth 2  to resolve 1 vulnerability
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ node.extend                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-notify                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-notify > node.extend                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/781                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


┌──────────────────────────────────────────────────────────────────────────────┐
│                                Manual Review                                 │
│            Some vulnerabilities require your attention to resolve            │
│                                                                              │
│         Visit https://go.npm.me/audit-guide for additional guidance          │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ braces                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.3.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ sassdoc                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ sassdoc > vinyl-fs > glob-stream > micromatch > braces       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/786                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ braces                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.3.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
│               │ > glob-watcher > chokidar > anymatch > micromatch > braces   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/786                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ braces                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.3.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
│               │ > gulp-cli > matchdep > micromatch > braces                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/786                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ braces                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.3.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
│               │ > vinyl-fs > glob-stream > micromatch > braces               │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/786                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Arbitrary File Overwrite                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ tar                                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=4.4.2                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ gulp-sass                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ gulp-sass > node-sass > node-gyp > tar                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/803                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ hoek                                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ > 4.2.0 < 5.0.0 || >= 5.0.3                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
│               │ > gulp-cli > wreck > boom > hoek                             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/566                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ hoek                                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ > 4.2.0 < 5.0.0 || >= 5.0.3                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ 232388d9e505128aa306d87157a375a209b51f7a06cec83c87f84b508b1… │
│               │ > gulp-cli > wreck > hoek                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/566                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ marked                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=0.6.2                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ sassdoc                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ sassdoc > sassdoc-theme-default > sassdoc-extras > marked    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/812                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 15 vulnerabilities (9 low, 4 moderate, 2 high) in 15412 scanned packages
  run `npm audit fix` to fix 1 of them.
  6 vulnerabilities require semver-major dependency updates.
  8 vulnerabilities require manual review. See the full report for details.

Reduce dependencies initiative

I'd like to get less dependencies in so we can have quicker npm installs. We can look for tasks that can be done with vanilla JS that don't need a plugin and also look for dependencies that our dependencies pull in that can be used. Here's a few ideas:

  • del - Used for clean tasks; couldn't we just rm -rf?
  • gulp-cached - Used for only validating files that have changed. Gulp 4 now let's use a since option in gulp.src that can be coupled with gulp.lastRun that should be able to do this.
  • gulp-flatten - We should be able to use this approach.
  • gulp-if - Could we just use if? I know this helps mid-pipe, but still...
  • Using both gulp-sass and gulp-postcss - Could we get just PostCSS?
  • js-yaml - Used just for our config parsing; I already want to move our config over to js files. Nevermind: we need it for parsing the Pattern Lab config file.
  • lodash - Used to help us in pre-ES6 land when we supported node v0.12. We should be able to get rid of all of our uses of it. I know that our icons templates use lodash as a templating, so we couldn't completely drop it until the next major version, but we could get everything else out.
  • Using both node-notifier and gulp-notifier? Let's consolidate.

Additionally, I'd like to move more towards plain node & JS and less gulp. I still think gulp is fantastic for the command line execution of tasks and all of it's watches, but those commands just fire functions, so we shouldn't need to abstract them away unless there's a benefit. One benefit is the use of in-memory streams via .pipe() for multiple transformation of files; like CSS and JS.

Type error and Exit Status 1 at pl:full stage of compiling

I apologize if this is better suited for the Pattern Lab Starter repo, but it seemed like the error was part of this repo.
I recently upgraded to the newest node.js and NPM and when I run "npm run compile" it fails when it gets to pl:full.
I'm not sure if its an issue with the scripts/library or more likely an issue with my environment. I've been attempting to use Homebrew and I'm working on a Mac running OS X 10.11.4 (El Capitan). After I was getting these errors I decided to install Gulp globally. I'm still getting these errors but if I do "Gulp compile" it works without issue.
I've attached the log file and also here's some of the output from command line from a few lines before pl:full up to the first "npm ERR!":

[10:03:35] gulp-inject 7 files into footer.html.
[10:03:35] gulp-inject 7 files into header.html.
[10:03:35] Finished 'inject:pl' after 224 ms
[10:03:35] Starting 'pl:full'...
[10:03:36] 'pl:full' errored after 1.1 s
[10:03:36] TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.extname (path.js:1429:5)
at /Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/patternlab-node/builder/media_hunter.js:24:13
at diveSync (/Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/diveSync/diveSync.js:62:5)
at findMediaQueries (/Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/patternlab-node/builder/media_hunter.js:23:4)
at Object.find_media_queries (/Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/patternlab-node/builder/media_hunter.js:45:5)
at buildFrontEnd (/Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/patternlab-node/builder/patternlab.js:178:18)
at Object.build (/Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/patternlab-node/builder/patternlab.js:463:7)
at Gulp.plBuild (/Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/p2-theme-core/lib/pattern-lab.js:16:56)
at module.exports (/Users/abailey/Downloads/pattern-lab-starter-master 2/node_modules/orchestrator/lib/runTask.js:34:7)

abailey_pl_16-05-07-npm-debug.txt

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.