Skip to content

Commit 0964a01

Browse files
authored
Merge pull request #4808 from coralproject/develop
v9.10.2
2 parents 2bf6b93 + 42ad68d commit 0964a01

File tree

8 files changed

+11
-12
lines changed

8 files changed

+11
-12
lines changed

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coralproject/talk",
3-
"version": "9.10.1",
3+
"version": "9.10.2",
44
"author": "The Coral Project",
55
"homepage": "https://coralproject.net/",
66
"sideEffects": [

client/src/core/client/admin/test/dsaReports/dsaReportsSingle.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ it("includes expected information about dsa report", async () => {
175175
within(container).getByRole("link", { name: "View comment in stream" })
176176
).toHaveProperty(
177177
"href",
178-
"http://localhost/admin/reports/report/dsa-report-1?commentID=comment-regular-0"
178+
"http://localhost:8080/?commentID=comment-regular-0"
179179
);
180180

181181
expect(

client/src/core/client/admin/test/fixtures.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ export const stories = createFixtures<GQLStory>([
642642
isUnarchiving: false,
643643
status: GQLSTORY_STATUS.OPEN,
644644
createdAt: "2018-11-29T16:01:51.897Z",
645-
url: "",
645+
url: "http://localhost:8080",
646646
metadata: {
647647
author: "Vin Hoa",
648648
title: "Finally a Cure for Cancer",
@@ -676,7 +676,7 @@ export const stories = createFixtures<GQLStory>([
676676
isUnarchiving: false,
677677
status: GQLSTORY_STATUS.OPEN,
678678
createdAt: "2018-11-29T16:01:51.897Z",
679-
url: "",
679+
url: "http://localhost:8080/story-2",
680680
metadata: {
681681
author: "Linh Nguyen",
682682
title: "First Colony on Mars",
@@ -713,7 +713,7 @@ export const stories = createFixtures<GQLStory>([
713713
isArchiving: false,
714714
isUnarchiving: false,
715715
status: GQLSTORY_STATUS.CLOSED,
716-
url: "",
716+
url: "http://localhost:8080/story-3",
717717
commentCounts: {
718718
totalPublished: 5,
719719
},

client/src/core/client/framework/utils/parseURL.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export default function parseURL(url: string) {
2-
// eslint-disable-next-line no-restricted-globals
3-
const parser = document.createElement("a");
4-
parser.href = url;
2+
const parser = new URL(url);
3+
54
return {
65
protocol: parser.protocol,
76
hostname: parser.hostname,

client/src/core/client/stream/tabs/Notifications/NotificationContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const NotificationContainer: FunctionComponent<Props> = ({
179179
className={styles.link}
180180
href={permalinkURL}
181181
target="_blank"
182-
rel="noreferrer"
182+
rel="noreferrer noopener"
183183
>
184184
<div
185185
className={cn(styles.root, {

common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "common",
3-
"version": "9.10.1",
3+
"version": "9.10.2",
44
"description": "",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "common",
3-
"version": "9.10.1",
3+
"version": "9.10.2",
44
"description": "",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coralproject/talk",
3-
"version": "9.10.1",
3+
"version": "9.10.2",
44
"author": "The Coral Project",
55
"homepage": "https://coralproject.net/",
66
"sideEffects": [

0 commit comments

Comments
 (0)