Skip to content

Commit

Permalink
nit: some refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgv committed Jun 8, 2024
1 parent de79f03 commit 5245126
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cli/create-plasmo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-plasmo",
"version": "0.87.0",
"version": "0.87.1",
"description": "Create Plasmo Framework Browser Extension",
"main": "dist/index.js",
"bin": "bin/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion cli/plasmo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plasmo",
"version": "0.87.0",
"version": "0.87.1",
"description": "The Plasmo Framework CLI",
"publishConfig": {
"types": "dist/type.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion core/parcel-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@plasmohq/parcel-config",
"version": "0.40.9",
"version": "0.40.10",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion core/parcel-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@plasmohq/parcel-runtime",
"version": "0.24.0",
"version": "0.24.1",
"description": "Plasmo Parcel Runtime",
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions core/parcel-runtime/src/utils/loading-indicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ function updateCSP() {
}

function createTrustedPolicy() {
const trustedTypes = globalThis.window.trustedTypes
if (!trustedTypes) {
const trustedTypes = globalThis.window?.trustedTypes
if (typeof trustedTypes === "undefined") {
return undefined
}
updateCSP()
Expand Down

0 comments on commit 5245126

Please sign in to comment.