Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ignore-sync

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignore-sync - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

14

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc