UNPKG

csp-typed-directives

Version:

Provides type information for all CSP directives and related headers' directives; as well as a basic utility funtion that helps convert the typed properties to the header content's policy string.

90 lines (39 loc) 3.71 kB
## [1.1.10](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.9...v1.1.10) (2023-04-12) ### Bug Fixes * wildcards being quoted ([#6](https://github.com/josh-hemphill/csp-typed-directives/issues/6)) ([9e95ca1](https://github.com/josh-hemphill/csp-typed-directives/commit/9e95ca1c5210abde1b0f517b938fab1f71aaf845)) ## [1.1.9](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.8...v1.1.9) (2021-10-10) ### Bug Fixes * :bug: move globals to normal ts to include missing in dist ([e45fbc7](https://github.com/josh-hemphill/csp-typed-directives/commit/e45fbc79ffbb33df43652834b94e91519e1c4657)) ## [1.1.8](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.7...v1.1.8) (2021-10-04) ### Bug Fixes * :bug: fix quoting of policies ([ed84e27](https://github.com/josh-hemphill/csp-typed-directives/commit/ed84e276a2c4adafe356709b3de5f11dce569984)), closes [#3](https://github.com/josh-hemphill/csp-typed-directives/issues/3) ## [1.1.7](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.6...v1.1.7) (2021-09-16) ### Bug Fixes * :bug: Fix typings and update deps ([6094233](https://github.com/josh-hemphill/csp-typed-directives/commit/6094233def1747089fdaa738d3d4e83a8ffdb226)), closes [#2](https://github.com/josh-hemphill/csp-typed-directives/issues/2) ## [1.1.6](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.5...v1.1.6) (2021-05-11) ### Bug Fixes * :bug: allow early validation ([7648cb1](https://github.com/josh-hemphill/csp-typed-directives/commit/7648cb191986e8eac793614806c286206e74dc1b)) ## [1.1.5](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.4...v1.1.5) (2021-05-10) ### Bug Fixes * :label: export valid source types ([cf9e626](https://github.com/josh-hemphill/csp-typed-directives/commit/cf9e6261894509c7745887919acea537f9f40682)) ## [1.1.4](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.3...v1.1.4) (2021-05-07) ### Bug Fixes * :label: export valid hash types ([4133b14](https://github.com/josh-hemphill/csp-typed-directives/commit/4133b147c212a26f65cde630b756dc0d1372dbba)) ## [1.1.3](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.2...v1.1.3) (2021-05-07) ### Bug Fixes * :bug: returned spacing in header strings ([e3e1e7b](https://github.com/josh-hemphill/csp-typed-directives/commit/e3e1e7ba153b75430ec72ae38f8aae3b7007d614)) ## [1.1.2](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.1...v1.1.2) (2021-05-07) ### Bug Fixes * :bug: optionality of host source compose params ([bb09ab5](https://github.com/josh-hemphill/csp-typed-directives/commit/bb09ab5cadd5aeee8095a14f55979448fb24f9e6)) ## [1.1.1](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.1.0...v1.1.1) (2021-05-06) ### Bug Fixes * :bug: fix schema naming and tests ([90a36fe](https://github.com/josh-hemphill/csp-typed-directives/commit/90a36fef56ea4410d1d48111e973984b895fcf32)) # [1.1.0](https://github.com/josh-hemphill/csp-typed-directives/compare/v1.0.0...v1.1.0) (2021-05-06) ### Features * :sparkles: Runtime directive mapping and schema ([1f9ffb3](https://github.com/josh-hemphill/csp-typed-directives/commit/1f9ffb30b940dfe61a819e5ce795b7b2be6cf942)) # 1.0.0 (2021-05-06) ### Bug Fixes * :bug: ci and version ([65b5be1](https://github.com/josh-hemphill/csp-typed-directives/commit/65b5be1750890e87f01beabeaf145f5eb6c5d95a)) ### Features * :tada: init ([66c4867](https://github.com/josh-hemphill/csp-typed-directives/commit/66c4867b0951783c734c3777481f9532cab29cf3)) * :tada: init 2 ([cd3d1a5](https://github.com/josh-hemphill/csp-typed-directives/commit/cd3d1a5a2473a23e5d0d599c7fc6ebbf39ae231f))