├── .editorconfig ├── .eslintrc.js ├── .gitattributes ├── .github ├── CONTRIBUTING.md ├── FUNDING.yml └── workflows │ └── main.yml ├── .gitignore ├── .verb.md ├── LICENSE ├── README.md ├── changelog.md ├── examples └── ranges.ts ├── index.ts ├── package.json ├── prettier.config.js ├── src ├── compile.ts ├── expand.ts ├── helpers.ts ├── nodes │ ├── Block.ts │ ├── Location.ts │ ├── Node.ts │ └── Token.ts ├── parse.ts └── utils.ts ├── test ├── .eslintrc.json ├── edge-cases.ts ├── expand-value.ts ├── get-value.ts ├── helpers.ts ├── parse.ts ├── performance.ts ├── security.ts └── support │ └── prune.js ├── tsconfig.json └── tsup.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [jonschlinkert] 2 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/.gitignore -------------------------------------------------------------------------------- /.verb.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/.verb.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/README.md -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/changelog.md -------------------------------------------------------------------------------- /examples/ranges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/examples/ranges.ts -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/prettier.config.js -------------------------------------------------------------------------------- /src/compile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/compile.ts -------------------------------------------------------------------------------- /src/expand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/expand.ts -------------------------------------------------------------------------------- /src/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/helpers.ts -------------------------------------------------------------------------------- /src/nodes/Block.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/nodes/Block.ts -------------------------------------------------------------------------------- /src/nodes/Location.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/nodes/Location.ts -------------------------------------------------------------------------------- /src/nodes/Node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/nodes/Node.ts -------------------------------------------------------------------------------- /src/nodes/Token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/nodes/Token.ts -------------------------------------------------------------------------------- /src/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/parse.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/.eslintrc.json -------------------------------------------------------------------------------- /test/edge-cases.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/edge-cases.ts -------------------------------------------------------------------------------- /test/expand-value.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/expand-value.ts -------------------------------------------------------------------------------- /test/get-value.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/get-value.ts -------------------------------------------------------------------------------- /test/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/helpers.ts -------------------------------------------------------------------------------- /test/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/parse.ts -------------------------------------------------------------------------------- /test/performance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/performance.ts -------------------------------------------------------------------------------- /test/security.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/security.ts -------------------------------------------------------------------------------- /test/support/prune.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/test/support/prune.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonschlinkert/expand-value/HEAD/tsup.config.ts --------------------------------------------------------------------------------