Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

depcheck


Collective - Host: opensource - https://opencollective.com/depcheck - Code: https://github.com/depcheck

Merge tag '0.5.2' into fix-invalid-dir-bug

- Fix the invalidDirs Bug.
- Resolve ESLint violation warnings.

github.com/depcheck/depcheck - 98613a960fa0cad6ebe172fee90d0cf077389786 authored over 9 years ago by Junle <[email protected]>
Merge pull request #43 from lijunle/fix-cli-exit-bug

Quick fix to a code flaw in unit test.

github.com/depcheck/depcheck - 4cd344e079f88158e9d2aa8b73140e02a7f0fc59 authored over 9 years ago by Junle Li <[email protected]>
Quick fix to a code flaw in unit test.

- This does not affect production code.

github.com/depcheck/depcheck - 5229e90c634240967546d46b30c79d14b6ed3697 authored over 9 years ago by Junle <[email protected]>
Release 0.5.2 to include the fix.

github.com/depcheck/depcheck - 30230fb258a9b529e29eba7a618577ac081f780e authored over 9 years ago by Junle <[email protected]>
Fix the invalidDirs bug.

- Push the rejected promise to queue and handle it at end event.

github.com/depcheck/depcheck - 8c85b2f62d02cac38bd2d6c7cb1a4cc31bd83458 authored over 9 years ago by Junle <[email protected]>
Add test case to cover invalidDirs bug.

- Then invalidDirs happens, it throws other useful information away and
reject promise directl...

github.com/depcheck/depcheck - d70c117aa9533750d8cea4458d541e03720a9630 authored over 9 years ago by Junle <[email protected]>
Fix a async test issue.

github.com/depcheck/depcheck - c73f9e29ab48f4c466c08c877a29e8f2516a6d92 authored over 9 years ago by Junle <[email protected]>
Merge pull request #42 from lijunle/decouple

Decouple existing parsers and detectors from index.js

github.com/depcheck/depcheck - 6503919851e7490ee5e4dd80367d2280830379f7 authored over 9 years ago by Junle Li <[email protected]>
Implement the existing three detectors.

- Import declaration.
- Require call expression.
- Grunt load task call expression.

github.com/depcheck/depcheck - 37a335113cddbd67a91c2663fbebc7d052a3686c authored over 9 years ago by Junle <[email protected]>
Leverage the detectors in code logic.

- Not expose detectors options yet.
- No need to special check on empty file.

github.com/depcheck/depcheck - 7ceafe5dabbbe5bad517fb0cc469a470b76c5a18 authored over 9 years ago by Junle <[email protected]>
Add default parser.

- Install acorn package and leverage it to parser content to AST.

github.com/depcheck/depcheck - 3ec076db2e994a4559c828886016f73f7ba69ff2 authored over 9 years ago by Junle <[email protected]>
Leverage default parser in code logic.

- It does not accept parser options, so it is not pluggable yet.

github.com/depcheck/depcheck - 695a7ffcfd00a9818e2d56775205f861bb176781 authored over 9 years ago by Junle <[email protected]>
Merge pull request #39 from lijunle/cli-tests

Add CLI test cases.

github.com/depcheck/depcheck - 366a4b1458efed5d19756bbb2c18abfcb7a86968 authored over 9 years ago by Junle Li <[email protected]>
Add test case that folder not exists.

github.com/depcheck/depcheck - 2c8c4c36ce1fcf9cfd25940ed36d149c5e330eba authored over 9 years ago by Junle <[email protected]>
Add test case that different dependecies cases.

- No unused dependencies.
- There are unused dependencies.
- There are unused devDependencies.

github.com/depcheck/depcheck - 2c5b7c3c93447955a2d3b93dcd0b4a03c5c8bfbf authored over 9 years ago by Junle <[email protected]>
Add test case that target folder is not a package.

- Fix a output bug in `cli.js`, all output should under parameters.

github.com/depcheck/depcheck - 6f8875fdfabedfd5b8e7464a7e94057bdb389c50 authored over 9 years ago by Junle <[email protected]>
Add cli help message test case.

github.com/depcheck/depcheck - 16769483e7662b8489afeca3be5224a4a73ed9d8 authored over 9 years ago by Junle <[email protected]>
Update should package to 7.1.0.

github.com/depcheck/depcheck - 71c954945b7a179002225ea6d934a3c459618f61 authored over 9 years ago by Junle <[email protected]>
Merge pull request #36 from lijunle/data-driven-test

Apply data driven pattern to tests.

github.com/depcheck/depcheck - 5646929359e9f099ab90dd6cddbf36f0cd5364d3 authored over 9 years ago by Junle Li <[email protected]>
Move ignoreDirs and ignoreMatches cases to spec.

- In regards to `ignoreDirs` options, CLI not supports yet. Hack it.

github.com/depcheck/depcheck - ecc13514af598f89041c3c3460b2c48d46a5623d authored over 9 years ago by Junle <[email protected]>
Move all generic test cases to spec.json.

- The test data will drive `index.js` and `cli.js` test class.

github.com/depcheck/depcheck - 3f23260ef49aa28c7d731474189db983c9992c77 authored over 9 years ago by Junle <[email protected]>
Add CLI code test case.

- It will load `spec.json` for assert data and expected result.

github.com/depcheck/depcheck - 04d10d9da6351aa930298cb5baa8904ec456904d authored over 9 years ago by Junle <[email protected]>
Enable new test pattern - data driven test.

- Ship `spec.json` to define the all the test cases.
- Later, e2e binary test can leverage that ...

github.com/depcheck/depcheck - a2c7460930cccc7e7e479c147f088b9620a41e78 authored over 9 years ago by JunLe Li <[email protected]>
Merge pull request #38 from lijunle/cli-unittestable

Continue to make cli.js Unittest-able.

github.com/depcheck/depcheck - e60dcdf97106153eca9f77599d8cfb154b7f7c2f authored over 9 years ago by Junle Li <[email protected]>
Make cli.js unittestable.

- Pass in command line arguments too.

github.com/depcheck/depcheck - c5264abccc41ac38663e2994d6071b6dcb73b1b9 authored over 9 years ago by Junle <[email protected]>
Merge pull request #37 from lijunle/cli-testable

Make `cli.js` unit-testable.

github.com/depcheck/depcheck - 38dbb2580fc6595ed7a13f3793703f96af6d6768 authored over 9 years ago by Junle Li <[email protected]>
Make `cli.js` unit-testable.

- Make console.log and process.exit function as parameters.
- Make `bin/depcheck` as package entry.

github.com/depcheck/depcheck - 6049f3f4d92a069ee1ffecee5ddf42bd030b2188 authored over 9 years ago by Junle <[email protected]>
Merge pull request #35 from lijunle/eslint-no-undef

Enable ESLint `no-undef` rule and resolve violations.

github.com/depcheck/depcheck - 7212d339f368b83a9b2a24fe6c927c6f10f083d8 authored over 9 years ago by Junle Li <[email protected]>
Resolve no-undef rule violations.

github.com/depcheck/depcheck - 6bc6ea1822d10ab61063519b1200e1e0a2c7a246 authored over 9 years ago by JunLe Li <[email protected]>
Enable ESLint `no-undef` rule.

- Disallow Undeclared Variables
- Reference: http://eslint.org/docs/rules/no-undef.html
- There ...

github.com/depcheck/depcheck - cc586e2c6a69feb91f4e475bdb54391b575a2b05 authored over 9 years ago by JunLe Li <[email protected]>
Merge pull request #32 from lijunle/eslint

Add ESLint and integrate it to Travis build script.

github.com/depcheck/depcheck - 0757127ecfaf8139443a7009a3f060b6dd646e5a authored over 9 years ago by Junle Li <[email protected]>
Merge pull request #34 from lijunle/resolve-eslint

Resolve ALL ESLint Warnings.

github.com/depcheck/depcheck - 3dc2c5c7638e12c8e30263a61a250de1e5c23d38 authored over 9 years ago by Junle Li <[email protected]>
Resolve no-param-reassign ESLint warnings.

- Reassign the function parameters to local variables.
- Again, use `let` here which should be a...

github.com/depcheck/depcheck - 0d0181127e6d6c0deb235983cfc98bc3f54bf307 authored over 9 years ago by Junle <[email protected]>
ESLint ignore the expected syntax error file.

- Which is test/fake_modules/bad_js/index.js
- Ignore via `.eslintignore` file.

github.com/depcheck/depcheck - 9a3a003702210cde328912d80d6fee5ef417b170 authored over 9 years ago by Junle <[email protected]>
Merge pull request #33 from lijunle/resolve-eslint

Resolve Most of ESLint Warnings.

github.com/depcheck/depcheck - ec2374bed28fc440c23b2df0c08fd689575107a1 authored over 9 years ago by Junle Li <[email protected]>
Resolve semi: Missing semicolon.

github.com/depcheck/depcheck - 0f273f7935e3d674b98e4d851fdaba2350599f62 authored over 9 years ago by Junle <[email protected]>
Resolve quotes: Strings must use singlequote.

github.com/depcheck/depcheck - b416f6c371bc41c37cfe0c068fe420f71b6d3959 authored over 9 years ago by Junle <[email protected]>
Resolve padded-blocks warnings.

github.com/depcheck/depcheck - d02a436cd6a751dc993d6f2c2c337d67516c6c20 authored over 9 years ago by Junle <[email protected]>
Resolve no-var rule warings.

- Two variables use `let` - `invalidFiles` and `modulesRequired`
- Others use `const`
- We shoul...

github.com/depcheck/depcheck - 047c852d546cbc5a07adc9e693e3d2c83c3fde4e authored over 9 years ago by Junle <[email protected]>
Resolve no-use-before-define.

- Move some function definition before their calls.
- This will break the git blame.

github.com/depcheck/depcheck - b42157c16e180fb3e52b9e1b71e8737edf56fc34 authored over 9 years ago by Junle <[email protected]>
Disable no-unused-vars warnings in test fixtures.

github.com/depcheck/depcheck - 34b5507e28b7a08d9a4ecaa8fca614229a555008 authored over 9 years ago by Junle <[email protected]>
Resolve no-empty and no-shadow.

- Return false in hasBin function.
- Rename the local variable `path` to `dirPath`.

github.com/depcheck/depcheck - 17b808e5c6d2641f17ff3dbf8ae8c6f50f88eff1 authored over 9 years ago by Junle <[email protected]>
Resolve no-console.

- In cli.js, disable no-console warnings.
- In test fixtures, replace console.log with log.

github.com/depcheck/depcheck - 1cbd2a8895708c3b6c7a5160092eae0c0423676c authored over 9 years ago by Junle <[email protected]>
Resolve indent warings.

github.com/depcheck/depcheck - 15c4a943e097d43446d2e9e170fe9cc5505da2d8 authored over 9 years ago by Junle <[email protected]>
Resolve func-names

- Missing function expression name.

github.com/depcheck/depcheck - 521d54902d7b52174eaea9921a5b2d93016d27e0 authored over 9 years ago by Junle <[email protected]>
Resolve comma-spacing.

github.com/depcheck/depcheck - fc1a034c8d6a3fe0db68cb157e4796c8365265fa authored over 9 years ago by Junle <[email protected]>
Resolve comma-dangle.

github.com/depcheck/depcheck - 378d9c619c5ed299a7eb70f1c95add76cd483597 authored over 9 years ago by Junle <[email protected]>
Copy github/gitignore ignore file to project.

github.com/depcheck/depcheck - 0a211af28245d632e505a4d9e2a625ebc8accc0f authored over 9 years ago by JunLe Li <[email protected]>
Integrate ESLint to Travis build script.

github.com/depcheck/depcheck - 86982a98a7bf1d17730d0cb59a5a8d49056082bb authored over 9 years ago by JunLe Li <[email protected]>
Remove JSHint rule file.

- We have ESLint now. :)

github.com/depcheck/depcheck - 66a9c1d830cfc7d1c844e4b57928396d55aaf794 authored over 9 years ago by JunLe Li <[email protected]>
Add ESLint rules.

- There are many violated rules, pending to resolve them.
- See: https://github.com/lijunle/depc...

github.com/depcheck/depcheck - 3db720aa8a439f8a664d53f9640ef1ee808c6f1a authored over 9 years ago by JunLe Li <[email protected]>
Merge pull request #30 from lijunle/babel

Enable ES6 syntax in source code and test code.

github.com/depcheck/depcheck - f14c1b4af5c43a2722aefa91f42ce2cf436f0b50 authored over 9 years ago by Junle Li <[email protected]>
Reference src/index.js directly

- The test coverage report show ES5 coverage if reference package entry.

github.com/depcheck/depcheck - 51ba3ac98c611fe1aac7d469b49533df4a633474 authored over 9 years ago by JunLe Li <[email protected]>
Add NPM ignore file to avoid chmod ENOENT error

- Reference: http://stackoverflow.com/questions/17990647/npm-install-errors-with-error-enoent-chmod

github.com/depcheck/depcheck - c5a5dfa91eb4e8d50c2f55abe02ea47910dd15de authored over 9 years ago by JunLe Li <[email protected]>
Generate ES6 code to ES5 code to dist folder.

- The dist folder will be a mirror of src folder, except ES5 - ES6 syntax.
- Add the generation ...

github.com/depcheck/depcheck - 9f92a93c6363a21cc9a239c3015373b4a77a48f8 authored over 9 years ago by JunLe Li <[email protected]>
Make the test code accept ES6 syntax.

- Use isparata to enable ES6 test coverage report.

github.com/depcheck/depcheck - b9db18ddfd82e8c7df7ae3aab7a40bd5e320d81c authored over 9 years ago by JunLe Li <[email protected]>
Change require statements to import expressions.

- For ES6 syntax enable demonstration.

github.com/depcheck/depcheck - 51ced0fa1824272611168859434b41fee639d8e1 authored over 9 years ago by JunLe Li <[email protected]>
Install babel package.

github.com/depcheck/depcheck - fb55eeab78c4355f97733ecbc0c2d1a5d4f8e209 authored over 9 years ago by JunLe Li <[email protected]>
Merge pull request #31 from lijunle/move

Move all source files to src folder.

github.com/depcheck/depcheck - 2bed3bf5a43e9bfae70509182fd3e1f6f5db9339 authored over 9 years ago by Junle Li <[email protected]>
Fix the require references.

- Do NOT reference index.js directly, reference to package entry.

github.com/depcheck/depcheck - 3ef0245c2382605fab8e8adcfbfc99fbc125a966 authored over 9 years ago by JunLe Li <[email protected]>
Move all source files to src folder.

github.com/depcheck/depcheck - df3d17b7ef6301382ac02ed00208f6000c8d0a78 authored over 9 years ago by JunLe Li <[email protected]>
Merge pull request #29 from lijunle/version-0.5.1

Prepare version 0.5.1

github.com/depcheck/depcheck - 4b97d7422507a28884036017a6f5a4c334780886 authored over 9 years ago by Junle Li <[email protected]>
Update the README to mention invalidDirs.

- Remove the TODO section.

github.com/depcheck/depcheck - 58fed0956e05047df87d826afecde414eaa99688 authored over 9 years ago by Junle <[email protected]>
Version -> 0.5.1

github.com/depcheck/depcheck - 8a48ca25e540e1797b9f78bc2f07e32baf868557 authored over 9 years ago by Junle <[email protected]>
Merge pull request #28 from lijunle/revert-features

Revert features.

- Custom extension support
- Pass through the depcheck options to acorn parser

github.com/depcheck/depcheck - 96ed90944314a159df91d5a367a36fc29e23056a authored over 9 years ago by Junle Li <[email protected]>
Revert "Passthrough depcheck options to acron parser"

This reverts commit 734c9949e5a0e4d7932f29aaee6786800a135f5c.

github.com/depcheck/depcheck - b375258019584809d95426a9eed5fcc8ff849038 authored over 9 years ago by Junle <[email protected]>
Revert "Add a test case to assert that custom extensions is not supported."

This reverts commit 5f2f3968cd21b921d95c3c978d545674ebad2765.

github.com/depcheck/depcheck - 1166f1b7bbaa1023ec924156d8af411e92d2c582 authored over 9 years ago by Junle <[email protected]>
Revert "Accept the extensions argument passed from options."

This reverts commit 62b7533aa7747fa7c6c582b474f666a042a76327.

github.com/depcheck/depcheck - 87307a54c5284139b0f9d45d3d79ac551a204a3f authored over 9 years ago by Junle <[email protected]>
Merge pull request #26 from lijunle/test-require-nothing

Test case to cover invoke require with nothing.

github.com/depcheck/depcheck - 9d056f5e8725dcf3fce026900d178b1816b3d712 authored over 9 years ago by Junle Li <[email protected]>
Test case to cover invoke require with nothing.

github.com/depcheck/depcheck - 2e01be55fe81403fdc468a1b36ca331731bdde1a authored over 9 years ago by Junle <[email protected]>
Merge pull request #25 from lijunle/test-no-dep

Test cover for no dependencies.

github.com/depcheck/depcheck - afa3b602bbd074e260d08858bc9d3ba458457149 authored over 9 years ago by Junle Li <[email protected]>
When there is no deps, end the finder directly.

- Remove the dead code which is meaningless.

github.com/depcheck/depcheck - 74c61518d20c42fd7e7ac56b188983b11159e4f3 authored over 9 years ago by Junle <[email protected]>
Add test case for empty dependencies

github.com/depcheck/depcheck - 4d81e9a8fb06f6c3db0c98d56b66f5fe6faad0c1 authored over 9 years ago by winniehell <[email protected]>
Rename: empty -> empty_file

- There is another kind *empty* - empty_package.

github.com/depcheck/depcheck - 3800cbee395a6c76341d1cd7caa12024c7364062 authored over 9 years ago by Junle <[email protected]>
Merge pull request #23 from lijunle/test-err-walkdir

Handle walkdir access error.

github.com/depcheck/depcheck - ea6693ed60d65f5aad8b2d1d7425fa45f133673c authored over 9 years ago by Junle Li <[email protected]>
Convert the mkdir, rmdir to async style.

- Avoid the sync style operation.

github.com/depcheck/depcheck - 92374aaa8cfcde178c63e1f0dbb63e30bce5be78 authored over 9 years ago by Junle <[email protected]>
Store directory error in invalidDirs property.

github.com/depcheck/depcheck - 89c29171e0ca80bd763849d43567722f0d8f9332 authored over 9 years ago by Junle <[email protected]>
Refine the test code - it is only one case.

github.com/depcheck/depcheck - dd9a06fea0d09e6661649f56e541b0ae23b1a28a authored over 9 years ago by Junle <[email protected]>
Add error handling for walkdir

github.com/depcheck/depcheck - 70f1415fe1b0ce1dbbdcf8e46a866465fa7fe8e9 authored over 9 years ago by winniehell <[email protected]>
Merge pull request #22 from lijunle/test-bin-js

Add test case to cover package providing `bin` is ignored.

github.com/depcheck/depcheck - 86abed77a668aea5e4c6db966a88e0d7dd18fbf5 authored over 9 years ago by Junle Li <[email protected]>
Modify the log message to be more meaningful.

github.com/depcheck/depcheck - d5ab868b3170332267d523932be95be607a18d10 authored over 9 years ago by Junle <[email protected]>
NOT ignore the node_modules folder in bin_js.

- It is a part of test case. :)

github.com/depcheck/depcheck - f95c691276972dd0283c6c94a03d5549ca69f5bb authored over 9 years ago by Junle <[email protected]>
Rename bin -> bin_js

- bin is a special name, avoid it.
- Update the test code reference.

github.com/depcheck/depcheck - 7d67714bdcdbb78ebe92415c6446ecba41ea520c authored over 9 years ago by Junle <[email protected]>
Add test case for bin dependency

github.com/depcheck/depcheck - 6ab2de73bc39dcaf8f66dd0847f6c4e0fa2696b5 authored over 9 years ago by winniehell <[email protected]>
Merge pull request #21 from lijunle/fix-invalid-files

Store syntax-error files to invalidFiles property.

github.com/depcheck/depcheck - dd84e715afebc625a3ceed3e022910114743a7f0 authored over 9 years ago by Junle Li <[email protected]>
Store syntax-error files to invalidFiles property.

- This is the rumpl's depcheck behavior. Be compatible with it.
- Add test case to cover scenario.

github.com/depcheck/depcheck - 875768bcbfebea5b7683549fbc433a6bdd5a3aed authored over 9 years ago by Junle <[email protected]>
Merge pull request #20 from lijunle/travis-refine

Travis refinement.

github.com/depcheck/depcheck - 37b71d6a904556ce9c271e85a1987f1faf3b33a0 authored over 9 years ago by Junle Li <[email protected]>
Remove dev version, add latest stable version.

github.com/depcheck/depcheck - 72ecb557111322fbaec72f64e642cb9103ee5309 authored over 9 years ago by Junle <[email protected]>
Cache dependencies for subsequent builds

github.com/depcheck/depcheck - a4f61222d41d2c230ccf988f214ed5a78994bb37 authored over 9 years ago by Winnie <[email protected]>
Merge pull request #19 from lijunle/coverage

Enable test coverage report.

github.com/depcheck/depcheck - 09e4488ae8991d7adfb622c6047f627e70d1dc80 authored over 9 years ago by Junle Li <[email protected]>
Add test coverage badge.

github.com/depcheck/depcheck - 133edb4880f56dff32614f444fcdbc8250f7e9be authored over 9 years ago by Junle <[email protected]>
Post test coverage to coveralls.

github.com/depcheck/depcheck - 9da51413525be93b65b08bebf1cdafd4a0002f9b authored over 9 years ago by Junle <[email protected]>
Use diticated script for coverage test.

github.com/depcheck/depcheck - dda44a6d0857df2f0b141a9adf71118c47a35b76 authored over 9 years ago by Junle <[email protected]>
Use istanbul for test coverage

github.com/depcheck/depcheck - 6df67e1fc3a90b8006383a962b03c28dc6ebf908 authored over 9 years ago by winniehell <[email protected]>
Merge pull request #6 from lijunle/ignores

Allow passing ignores via the command line.

github.com/depcheck/depcheck - 975ef97ead73b89140cbe2681fa65f813358d29a authored over 9 years ago by Junle Li <[email protected]>
Merge branch 'master' into ignores

github.com/depcheck/depcheck - 9e15d0ae25f250f8b527c13b1e03a0fa69310be9 authored over 9 years ago by Junle Li <[email protected]>
Merge pull request #18 from lijunle/extensions

Accept custom extensions.

github.com/depcheck/depcheck - d58da86095641872ffd9c6d48b6fff1d03a113bf authored over 9 years ago by Junle Li <[email protected]>
Accept the extensions argument passed from options.

github.com/depcheck/depcheck - 62b7533aa7747fa7c6c582b474f666a042a76327 authored over 9 years ago by Junle <[email protected]>
Add a test case to assert that custom extensions is not supported.

github.com/depcheck/depcheck - 5f2f3968cd21b921d95c3c978d545674ebad2765 authored over 9 years ago by JunLe Li <[email protected]>
Merge pull request #7 from woodb/test-es6-import

Additional ES6 import tests.

github.com/depcheck/depcheck - b1c73fc70b13a4bbf4a517814cbfc9d69834819b authored over 9 years ago by Junle Li <[email protected]>