-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
3,748 additions
and
7,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,8 @@ | |
.prettierrc | ||
.nyc_output | ||
coverage | ||
example | ||
node_modules | ||
src | ||
test | ||
tsconfig.json | ||
tsconfig.*.json | ||
tslint.json | ||
typings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
language: node_js | ||
node_js: | ||
- "node" | ||
- "8" | ||
- "7" | ||
- "6" | ||
- "5" | ||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
- "lts/*" | ||
cache: npm | ||
install: | ||
- yarn | ||
- npm install | ||
script: | ||
- yarn build | ||
- yarn test:coverage | ||
- yarn coveralls | ||
- npm test | ||
after_script: | ||
- npm run test:coverage | ||
- npm run coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,101 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [Unreleased] | ||
## [2.0.0] - 2020-10-14 | ||
|
||
### Changed | ||
|
||
- Update `export`: the class `JsonPropertyFilter` is replaced by a function `apply(object, string[])`; | ||
- Update filtering mechanism; | ||
|
||
## [1.3.1] - 2017-09-30 | ||
|
||
### Changed | ||
- Update package.json description. | ||
|
||
- Update `package.json` description; | ||
|
||
### Fixed | ||
- Fix line separator: convert `CRLF` to `LF`. | ||
|
||
- Fix line separator: convert `CRLF` to `LF`; | ||
|
||
## [1.3.0] - 2017-09-28 | ||
|
||
### Added | ||
- Add `Date` and `Function` types support. | ||
- Add examples. | ||
|
||
- Add `Date` and `Function` types support; | ||
|
||
### Changed | ||
- Update: `README.md`. | ||
- Update NPM dependencies. | ||
- Improve unit/integration tests. | ||
- Improve TypeScript documentation. | ||
|
||
- Update NPM dependencies; | ||
- Improve TypeScript documentation; | ||
|
||
### Fixed | ||
- Fix CLI version. | ||
- Fix CLI. | ||
- Fix Regular expression on including and excluding filters. | ||
|
||
- Fix CLI version; | ||
- Fix CLI; | ||
- Fix Regular expression on including and excluding filters; | ||
|
||
## [1.2.0] - 2016-06-20 | ||
|
||
### Added | ||
- Add getters/setters for `JsonPropertyFilter` class to obtain/set the exclude/include filters. | ||
- Add the posibility to define the symbols of include/exclude. | ||
- Add CLI support. | ||
|
||
- Add getters/setters for `JsonPropertyFilter` class to obtain/set the exclude/include filters; | ||
- Add the possibility to define the symbols of include/exclude; | ||
- Add CLI support; | ||
|
||
### Changed | ||
- All constructor arguments of the `JsonPropertyFilter` class are optionals. | ||
- The `TypeError` object is used to assert separator and filters arguments. | ||
|
||
- Update `JsonPropertyFilter` constructor to add optional arguments; | ||
- Update validation on filter arguments; | ||
|
||
## [1.1.1] - 2016-06-12 | ||
|
||
### Fixed | ||
- A array contained in a base array can be ignored when filtering. | ||
|
||
- Fix filter for embedded array; | ||
|
||
## [1.1.0] - 2016-06-12 | ||
|
||
### Added | ||
- Add arrays support. | ||
|
||
- Add arrays support; | ||
|
||
## [1.0.2] - 2016-05-29 | ||
|
||
### Fixed | ||
- Fix TypeScript definition path. | ||
|
||
- Fix TypeScript definition path; | ||
|
||
## [1.0.1] - 2016-05-29 | ||
|
||
### Added | ||
- Add TypeScript definition in "lib" directory. | ||
|
||
- Add TypeScript definition in `lib` directory; | ||
|
||
## [1.0.0] - 2016-05-29 | ||
|
||
### Added | ||
- Add more validation on parameters. | ||
- Add exclude filters. | ||
|
||
- Add more validation on parameters; | ||
- Add exclude filters; | ||
|
||
### Changed | ||
- Update the "include" behavior: if no properties, then the original object is returned. | ||
|
||
- Update the "include" behavior: if no properties, then the original object is returned; | ||
|
||
### Fixed | ||
- The `apply` method of `JsonPropertyFilter` class can return a wrong filtered object if it contains an array of `string`/`number`/`boolean`. | ||
- The symbol "" causes an undesirable side effect: all properties are added without distinction. | ||
|
||
## [0.0.8] - 2016-05-28 | ||
### Changed | ||
- Update the filter `**`: it can also be applied to a specific property. | ||
- Fix filter if it contains an array of `string`/`number`/`boolean`; | ||
- Fix filter with an empty symbol; | ||
|
||
[Unreleased]: https://github.com/cyrilschumacher/json-property-filter/compare/1.3.1...HEAD | ||
[1.3.0]: https://github.com/cyrilschumacher/json-property-filter/compare/1.3.0...1.3.1 | ||
[2.0.0]: https://github.com/cyrilschumacher/json-property-filter/compare/1.3.1...2.0.0 | ||
[1.3.1]: https://github.com/cyrilschumacher/json-property-filter/compare/1.3.0...1.3.1 | ||
[1.3.0]: https://github.com/cyrilschumacher/json-property-filter/compare/1.2.0...1.3.0 | ||
[1.2.0]: https://github.com/cyrilschumacher/json-property-filter/compare/1.1.1...1.2.0 | ||
[1.1.1]: https://github.com/cyrilschumacher/json-property-filter/compare/1.1.0...1.1.1 | ||
[1.1.0]: https://github.com/cyrilschumacher/json-property-filter/compare/1.0.2...1.1.0 | ||
[1.0.2]: https://github.com/cyrilschumacher/json-property-filter/compare/1.0.1...1.0.2 | ||
[1.0.1]: https://github.com/cyrilschumacher/json-property-filter/compare/1.0.0...1.0.1 | ||
[1.0.0]: https://github.com/cyrilschumacher/json-property-filter/compare/0.0.8...1.0.0 | ||
[0.0.8]: https://github.com/cyrilschumacher/json-property-filter/compare/0.0.6...0.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.