standard-engine
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -5,2 +5,8 @@ # standard-engine Change Log | ||
## 1.8.0 - 2015-06-16 | ||
* Fix gitignore support for Windows. | ||
* Refactor to use pkg-config. | ||
* Update to newer version of eslint to allow extending multiple eslint-config files. | ||
## 1.7.0 - 2015-05-30 | ||
@@ -7,0 +13,0 @@ ### Merged from `standard` |
21
index.js
@@ -16,2 +16,3 @@ module.exports.cli = require('./bin/cmd') | ||
var path = require('path') | ||
var pkgConfig = require('pkg-config') | ||
var uniq = require('uniq') | ||
@@ -115,3 +116,7 @@ | ||
if (opts._gitignore) files = opts._gitignore.filter(files) | ||
if (opts._gitignore) { | ||
if (os.platform() === 'win32') files = files.map(toUnix) | ||
files = opts._gitignore.filter(files) | ||
if (os.platform() === 'win32') files = files.map(toWin32) | ||
} | ||
@@ -156,6 +161,4 @@ // undocumented – do not use (used by bin/cmd.js) | ||
if (root) { | ||
var packageOpts | ||
try { | ||
packageOpts = require(path.join(root, 'package.json'))[self.cmd] | ||
} catch (e) {} | ||
var packageOpts = pkgConfig(self.cmd, { root: false, cwd: opts.cwd }) | ||
if (packageOpts) { | ||
@@ -185,1 +188,9 @@ // Use ignore patterns from package.json | ||
} | ||
function toUnix (str) { | ||
return str.replace(/\\/g, '/') | ||
} | ||
function toWin32 (str) { | ||
return str.replace(/\//g, '\\') | ||
} |
{ | ||
"name": "standard-engine", | ||
"description": "Wrap your standards in a tortilla and cover it in special sauce.", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"author": "Dan Flettre <flettre@gmail.com> (http://twitter.com/flettre/)", | ||
@@ -12,3 +12,3 @@ "bugs": { | ||
"dezalgo": "^1.0.2", | ||
"eslint": "^0.21.0", | ||
"eslint": "git://github.com/eslint/eslint.git#fff52aecaf1d073952201b3f128e6664f529a24e", | ||
"find-root": "^0.1.1", | ||
@@ -19,2 +19,3 @@ "get-stdin": "^4.0.1", | ||
"minimist": "^1.1.0", | ||
"pkg-config": "^1.0.1", | ||
"run-parallel": "^1.0.0", | ||
@@ -25,3 +26,5 @@ "uniq": "^1.0.1", | ||
"devDependencies": { | ||
"eslint-config-standard": "^1.1.0", | ||
"eslint-config-standard": "3.2.0", | ||
"eslint-config-standard-react": "1.0.0", | ||
"eslint-plugin-react": "^2.1.0", | ||
"mkdirp": "^0.5.0", | ||
@@ -61,3 +64,2 @@ "rimraf": "^2.2.8", | ||
"main": "index.js", | ||
"preferGlobal": true, | ||
"repository": { | ||
@@ -64,0 +66,0 @@ "type": "git", |
@@ -29,13 +29,45 @@ #!/usr/bin/env node | ||
'https://github.com/feross/bittorrent-protocol.git', | ||
'https://github.com/feross/bittorrent-swarm.git', | ||
'https://github.com/feross/bittorrent-tracker.git', | ||
'https://github.com/feross/blob-to-buffer.git', | ||
'https://github.com/feross/buffer.git', | ||
'https://github.com/feross/create-torrent.git', | ||
'https://github.com/feross/drag-drop.git', | ||
'https://github.com/feross/ieee754.git', | ||
'https://github.com/feross/instant.io.git', | ||
'https://github.com/feross/is-buffer.git', | ||
'https://github.com/feross/load-ip-set.git', | ||
'https://github.com/feross/magnet-uri.git', | ||
'https://github.com/feross/multistream.git', | ||
'https://github.com/feross/parse-torrent-file.git', | ||
'https://github.com/feross/parse-torrent.git', | ||
'https://github.com/feross/run-auto.git', | ||
'https://github.com/feross/run-parallel.git', | ||
'https://github.com/feross/run-series.git', | ||
'https://github.com/feross/run-waterfall.git', | ||
'https://github.com/feross/simple-peer.git', | ||
'https://github.com/feross/simple-websocket.git', | ||
'https://github.com/feross/studynotes.git', | ||
'https://github.com/feross/torrent-discovery.git', | ||
'https://github.com/feross/typedarray-to-buffer.git', | ||
'https://github.com/feross/webtorrent-hybrid.git', | ||
'https://github.com/feross/webtorrent-website.git', | ||
'https://github.com/feross/webtorrent.git', | ||
'https://github.com/feross/whiteboard.git', | ||
'https://github.com/Flet/battery.git', | ||
'https://github.com/Flet/clockmoji.git', | ||
'https://github.com/Flet/dailyconnect.git', | ||
'https://github.com/Flet/exitzero.git', | ||
'https://github.com/Flet/standard-engine.git', | ||
'https://github.com/karma-runner/karma-coverage.git', | ||
'https://github.com/karma-runner/karma.git', | ||
'https://github.com/mafintosh/airpaste.git', | ||
'https://github.com/mafintosh/chromecasts.git', | ||
'https://github.com/mafintosh/cyclist.git', | ||
'https://github.com/mafintosh/difffs.git', | ||
'https://github.com/mafintosh/fuse-bindings.git', | ||
'https://github.com/mafintosh/hms-protocol.git', | ||
'https://github.com/mafintosh/hms.git', | ||
'https://github.com/mafintosh/hyperlog.git', | ||
'https://github.com/mafintosh/idlecast.git', | ||
'https://github.com/mafintosh/json-format-stream.git', | ||
@@ -45,15 +77,30 @@ 'https://github.com/mafintosh/level-enumerate.git', | ||
'https://github.com/mafintosh/level-temp.git', | ||
'https://github.com/mafintosh/multileveldown.git', | ||
'https://github.com/mafintosh/node-gyp-install.git', | ||
// 'https://github.com/mafintosh/peerflix.git', // still using standard v2 | ||
'https://github.com/mafintosh/pbs.git', | ||
'https://github.com/mafintosh/random-iterate.git', | ||
'https://github.com/mafintosh/sorted-intersect-stream.git', | ||
'https://github.com/mafintosh/ssh-exec.git', | ||
'https://github.com/mafintosh/swap-to-level.git', | ||
'https://github.com/mafintosh/telephone.git', | ||
'https://github.com/mafintosh/transport-stream.git', | ||
'https://github.com/mafintosh/what-line-is-this.git', | ||
// 'https://github.com/maxogden/dat-core.git', // started failing 5-29-15 | ||
'https://github.com/maxogden/dat-core.git', | ||
'https://github.com/maxogden/dat.git', | ||
'https://github.com/maxogden/electron-packager.git', | ||
'https://github.com/maxogden/requirebin.git', | ||
'https://github.com/maxogden/screencat.git', | ||
'https://github.com/maxogden/standard-format.git', | ||
// 'https://github.com/ngoldman/gh-release.git', // still using standard v2 | ||
'https://github.com/moose-team/friends-swarm.git', | ||
'https://github.com/moose-team/friends.git', | ||
'https://github.com/moose-team/peerbot.git', | ||
'https://github.com/motdotla/dotenv.git', | ||
'https://github.com/ngoldman/changelog-parser.git', | ||
'https://github.com/ngoldman/gh-release.git', | ||
'https://github.com/ngoldman/magnet-link.git', | ||
'https://github.com/ngoldman/module-init.git', | ||
'https://github.com/ngoldman/wireframe.css.git', | ||
'https://github.com/npm/fstream.git', | ||
'https://github.com/othiym23/packard.git' | ||
// 'https://github.com/npm/npm.git' // in progress | ||
'https://github.com/othiym23/packard.git' | ||
] | ||
@@ -60,0 +107,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
21309
467
2
12
8
1
+ Addedpkg-config@^1.0.1
+ Addeddebug-log@1.0.1(transitive)
+ Addedfind-root@1.1.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedpkg-config@1.1.1(transitive)
- Removedansi-regex@1.1.12.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedargparse@1.0.10(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedchalk@1.1.3(transitive)
- Removedcli-width@1.1.1(transitive)
- Removedconcat-stream@1.6.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedd@1.0.2(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddoctrine@0.6.4(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-map@0.1.5(transitive)
- Removedes6-set@0.1.6(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedes6-weak-map@2.0.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedescope@3.6.0(transitive)
- Removedeslint@0.21.2(transitive)
- Removedesniff@2.0.1(transitive)
- Removedespree@2.2.5(transitive)
- Removedesprima@4.0.1(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@2.0.04.3.05.3.0(transitive)
- Removedestraverse-fb@1.3.2(transitive)
- Removedesutils@1.1.6(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedext@1.7.0(transitive)
- Removedfast-levenshtein@1.0.7(transitive)
- Removedfigures@1.7.0(transitive)
- Removedglobals@6.4.1(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedinquirer@0.8.5(transitive)
- Removedisarray@0.0.11.0.0(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedlevn@0.2.5(transitive)
- Removedlodash@3.10.1(transitive)
- Removedminimatch@2.0.10(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedms@2.0.0(transitive)
- Removedmute-stream@0.0.4(transitive)
- Removednext-tick@1.1.0(transitive)
- Removedobject-assign@2.1.14.1.1(transitive)
- Removedoptionator@0.5.0(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedreadline2@0.1.1(transitive)
- Removedrx@2.5.3(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstrip-ansi@2.0.13.0.1(transitive)
- Removedstrip-json-comments@1.0.4(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedtext-table@0.2.0(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtype@2.7.3(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedtypedarray@0.0.6(transitive)
- Removeduser-home@1.1.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwordwrap@0.0.3(transitive)
- Removedxml-escape@1.0.0(transitive)
Updatedeslint@git://github.com/eslint/eslint.git#fff52aecaf1d073952201b3f128e6664f529a24e