Skip to content

Commit b72254d

Browse files
committed
release: 1.0.1
1 parent 3f51fe5 commit b72254d

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ could reach. Pin both with SRI so a bad CDN day fails closed instead of open:
7878
```html
7979
<script
8080
src="https://cdn.jsdelivr.net/npm/dompurify@3.4.12/dist/purify.min.js"
81-
integrity="sha384-piCcpDdJ7qVeK4Tv8Z6Hpcr3ZBIgP16TxQTPVfsLFdZ5uDgwc3Y8Ho7oUnqf12qu"
81+
integrity="sha384-46dPGH1XlTmj7bc50bqLjTdORXs/3EP2QpA/6EWbelYWOY9VGp+87RT61S3Mcslb"
8282
crossorigin="anonymous"
8383
></script>
8484
<script
8585
src="https://cdn.jsdelivr.net/npm/domfortify@1.0.0/dist/fortify.min.js"
86-
integrity="sha384-UTHngTnDjkP35mHLyvskA7klpBRoONpcOpENk+XQEi2plYIGb4WKpYIgci8vV3PG"
86+
integrity="sha384-c6Zw5oPYE/XugJ3ElmZEwethwwBKRAKk5RCmtrXmHqlh2bZyvwmMrMo8Ok63rp9a"
8787
crossorigin="anonymous"
8888
></script>
8989
```

dist/fortify.cjs.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fortify.es.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! DOMFortify 1.0.0 | (c) Cure53 and contributors | (MPL-2.0 OR Apache-2.0) */
1+
/*! DOMFortify 1.0.1 | (c) Cure53 and contributors | (MPL-2.0 OR Apache-2.0) */
22
// Cached up front so later prototype pollution or clobbering can't swap hasOwnProperty out.
33
const hasOwn = Object.prototype.hasOwnProperty;
44
/** True only for an own (non-inherited) property, so a polluted prototype is never consulted. */
@@ -78,7 +78,7 @@ function urlMatches(pattern, url) {
7878
* - Fails closed: no sanitizer means sinks throw, never leak.
7979
* - Only covers Trusted Types sinks; inline handlers / style / URL props stay open.
8080
*/
81-
const VERSION = '1.0.0';
81+
const VERSION = '1.0.1';
8282
// Natives captured up front, so later prototype pollution or clobbering can't swap them out.
8383
const root = typeof globalThis !== 'undefined' ? globalThis : window;
8484
const doc = typeof document !== 'undefined' ? document : undefined;

dist/fortify.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fortify.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "domfortify",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Retrofit Trusted Types onto a legacy page: claim the realm's default policy so old DOM-XSS sinks get sanitized without touching the code.",
55
"license": "(MPL-2.0 OR Apache-2.0)",
66
"homepage": "https://github.com/cure53/DOMFortify",

0 commit comments

Comments
 (0)