UNPKG

ast-get-values-by-key

Version:

Extract values and paths from AST by keys OR set them by keys

108 lines (57 loc) • 3.26 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## 5.0.0 (2022-12-01) ### BREAKING CHANGES - Minimum supported Node version is v14.18; we're dropping v12 support ## 4.1.0 (2022-08-12) ### Features - export types ([11b5fb9](https://github.com/codsen/codsen/commit/11b5fb936ce20e0a77c3a09806773e1cd7695c50)) ## 4.0.0 (2021-09-09) ### Features - migrate to ES Modules ([8c9d95d](https://github.com/codsen/codsen/commit/8c9d95d5dea0b769c2f070397141918a4893d575)) ### BREAKING CHANGES - programs now are in ES Modules and won't work with Common JS `require()` ## 3.1.0 (2021-05-24) ### Features - config file based major bump blacklisting ([e15f9bb](https://github.com/codsen/codsen/commit/e15f9bba1c4fd5f847ac28b3f38fa6ee633f5dca)) ## 3.0.15 (2021-04-11) ### Reverts - Revert "chore: setup refresh" ([23cf206](https://github.com/codsen/codsen/commit/23cf206970a087ff0fa04e61f94d919f59ab3881)) ## 3.0.1 (2021-01-28) ### Fixed - add `testStats` to npmignore ([f3c84e9](https://github.com/codsen/codsen/commit/f3c84e95afc5514214312f913692d85b2e12eb29)) ## 3.0.0 (2021-01-23) ### Features - rewrite in TS and start using named exports ([0380ba1](https://github.com/codsen/codsen/commit/0380ba17617bc1ee043cc8a068d9b0e4f16ce7e1)) ### BREAKING CHANGES - previously: `import getAllValuesByKey from ...` - now `import { getByKey } from ...` ## 2.8.0 (2020-11-28) Accidental version bump during migration to SourceHut. Sorry about that. ## 2.7.0 (2020-09-27) ### Features - some rebasing and examples ([7fc5cf5](https://gitlab.com/codsen/codsen/commit/7fc5cf5885d32f1d289ec13ace27c313f9e203ae)) ## 2.2.0 (2018-12-26) ### Features - Supplement the getter's result with path ([1594a36](https://gitlab.com/codsen/codsen/tree/master/packages/ast-get-values-by-key/commits/1594a36)) ## 2.1.0 (2018-10-13) - Updated all dependencies and restored coverage tracking both via terminal when testing and through coveralls.io ## 2.0.0 (2018-09-27) šŸ”Ø Major API changes: now the result is not array of strings, but array of plain objects, where previous string is under key `val`. This lets us get another key - `path` of that value. Setter method behaves the same. ## 1.3.0 (2018-06-13) GitHub sold us out. In the meantime, we: - Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit) - Dropped BitHound (RIP) and Travis - Removed `package-lock` ## 1.2.0 (2018-05-14) ### Improvements - Now pointing unit tests at ES Modules build, not CommonJS-one. This means, unit test coverage will be correct (higher) because there won't be any missing rows that Babel added which are impossible to cover. - Tweaks to ava [config](https://github.com/avajs/ava/blob/master/docs/recipes/es-modules.md) in `package.json`, properly enabling the `dev` Rollup builds. ## 1.1.0 (2018-05-02) ### Features - Set up [Prettier](https://prettier.io) - Removed `package.lock` and `.editorconfig` - Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — Rollup will remove from production code. ## 1.0.0 (2018-03-11) - First public release