ignore-sync
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "ignore-sync", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"engines": { | ||
@@ -9,5 +9,7 @@ "node": ">=7.6" | ||
"keywords": [ | ||
".dockerignore", | ||
".eslintignore", | ||
".gitignore", | ||
".npmignore", | ||
"dockerignore", | ||
"eslintignore", | ||
@@ -24,3 +26,2 @@ "gitignore", | ||
"lint": "eslint .", | ||
"np": "np", | ||
"precommit": "lint-staged && yarn test", | ||
@@ -39,4 +40,4 @@ "test": "cross-env NODE_ENV=test jest" | ||
"dependencies": { | ||
"axios": "^0.17.1", | ||
"fs-extra": "^4.0.2", | ||
"axios": "^0.18.0", | ||
"fs-extra": "^5.0.0", | ||
"ignore": "^3.3.7", | ||
@@ -51,7 +52,6 @@ "pkg-dir": "^2.0.0", | ||
"husky": "^0.14.0", | ||
"jest": "^21.2.1", | ||
"lint-staged": "^6.0.0", | ||
"np": "^2.18.1", | ||
"jest": "^22.4.2", | ||
"lint-staged": "^7.0.0", | ||
"prettier-eslint-cli": "^4.3.2" | ||
} | ||
} |
@@ -12,2 +12,9 @@ 'use strict' | ||
const joinLinesWithEOF = R.compose(R.flip(R.concat)('\n'), R.trim, R.join('\n')) | ||
const prependAlert = R.concat([ | ||
'############################################', | ||
'# GENERATED BY IGNORE-SYNC, DO NOT EDIT!!! #', | ||
'# https://github.com/foray1010/ignore-sync #', | ||
'############################################', | ||
'' | ||
]) | ||
const sourceIs = (...args) => R.compose(...args, R.prop('source')) | ||
@@ -44,5 +51,8 @@ | ||
return dynamicComposeP(joinLinesWithEOF, fetchIgnorePatternsBySource, decodeIgnoreSyncFile)( | ||
ignoreSyncFile | ||
) | ||
return dynamicComposeP( | ||
joinLinesWithEOF, | ||
prependAlert, | ||
fetchIgnorePatternsBySource, | ||
decodeIgnoreSyncFile | ||
)(ignoreSyncFile) | ||
} |
@@ -41,7 +41,3 @@ 'use strict' | ||
const recursiveScan = promiseMap( | ||
R.ifElse( | ||
R.test(/\/$/), | ||
(relativePath) => scanDir(relativePath, projectRoot, isIgnored), | ||
R.identity | ||
) | ||
R.when(R.test(/\/$/), (relativePath) => scanDir(relativePath, projectRoot, isIgnored)) | ||
) | ||
@@ -48,0 +44,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
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
11937
7
203
+ Addedaxios@0.18.1(transitive)
+ Addedfollow-redirects@1.5.10(transitive)
+ Addedfs-extra@5.0.0(transitive)
+ Addedis-buffer@2.0.5(transitive)
- Removedaxios@0.17.1(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedfs-extra@4.0.3(transitive)
- Removedis-buffer@1.1.6(transitive)
Updatedaxios@^0.18.0
Updatedfs-extra@^5.0.0