Skip to content

Commit 76ca775

Browse files
committed
fix: update version to 1.0.1 in package.json; export SecureCSPGeneratorOptions type in csp-generator.ts
1 parent 5864615 commit 76ca775

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csp-policy-gen",
33
"private": false,
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"description": "A package to generate Content Security Policy (CSP) headers.",
66
"type": "module",
77
"main": "./dist/csp-generator.js",

src/csp-generator.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ import {isIP} from 'net'
3535
import dns from 'dns/promises'
3636
import type {DirectiveName, Logger, SecureCSPGeneratorOptions} from './types.ts'
3737

38+
export type {SecureCSPGeneratorOptions}
39+
3840
/**
3941
* SecureCSPGenerator:
4042
* Fetches an HTML page, extracts resource origins,

0 commit comments

Comments
 (0)