Skip to content

Commit 4f4024b

Browse files
committed
chore(release): v1.7.2 🚀
1 parent 68786ee commit 4f4024b

8 files changed

+90
-28
lines changed

Diff for: CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.7.2](https://github.com/gitalk/gitalk/compare/v1.7.1...v1.7.2) (2021-03-03)
6+
7+
8+
### Bug Fixes
9+
10+
* replace proxy ([68786ee](https://github.com/gitalk/gitalk/commit/68786ee5d28b1e93fc7dcb57edabc70370d80cca))
11+
512
### [1.7.1](https://github.com/gitalk/gitalk/compare/v1.7.0...v1.7.1) (2021-02-28)
613

714

Diff for: dist/gitalk-component.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -10024,7 +10024,7 @@ var GitalkComponent = function (_Component) {
1002410024
pagerDirection: 'last', // last or first
1002510025
createIssueManually: false,
1002610026
distractionFreeMode: false,
10027-
proxy: 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
10027+
proxy: 'https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token',
1002810028
flipMoveOptions: {
1002910029
staggerDelayBy: 150,
1003010030
appearAnimation: 'accordionVertical',
@@ -58828,7 +58828,7 @@ Object.defineProperty(exports, "__esModule", {
5882858828
value: true
5882958829
});
5883058830
var GT_ACCESS_TOKEN = exports.GT_ACCESS_TOKEN = 'GT_ACCESS_TOKEN';
58831-
var GT_VERSION = exports.GT_VERSION = "1.7.1"; // eslint-disable-line
58831+
var GT_VERSION = exports.GT_VERSION = "1.7.2"; // eslint-disable-line
5883258832
var GT_COMMENT = exports.GT_COMMENT = 'GT_COMMENT';
5883358833

5883458834
/***/ }),

Diff for: dist/gitalk-component.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/gitalk.js

+72-17
Original file line numberDiff line numberDiff line change
@@ -10480,7 +10480,7 @@ if (process.env.NODE_ENV !== 'production') {
1048010480
/***/ (function(module, exports, __webpack_require__) {
1048110481

1048210482
"use strict";
10483-
/** @license React v16.13.1
10483+
/** @license React v16.12.0
1048410484
* react-is.production.min.js
1048510485
*
1048610486
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -10489,20 +10489,20 @@ if (process.env.NODE_ENV !== 'production') {
1048910489
* LICENSE file in the root directory of this source tree.
1049010490
*/
1049110491

10492-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
10493-
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
10494-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;
10495-
exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};
10496-
exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};
10497-
exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;
10492+
Object.defineProperty(exports,"__esModule",{value:!0});
10493+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"):
10494+
60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.fundamental"):60117,w=b?Symbol.for("react.responder"):60118,x=b?Symbol.for("react.scope"):60119;function y(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function z(a){return y(a)===m}
10495+
exports.typeOf=y;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;
10496+
exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h};
10497+
exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p};
1049810498

1049910499

1050010500
/***/ }),
1050110501
/* 197 */
1050210502
/***/ (function(module, exports, __webpack_require__) {
1050310503

1050410504
"use strict";
10505-
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.13.1
10505+
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.12.0
1050610506
* react-is.development.js
1050710507
*
1050810508
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -10519,6 +10519,8 @@ if (process.env.NODE_ENV !== "production") {
1051910519
(function() {
1052010520
'use strict';
1052110521

10522+
Object.defineProperty(exports, '__esModule', { value: true });
10523+
1052210524
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1052310525
// nor polyfill, then a plain number is used for performance.
1052410526
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
@@ -10538,16 +10540,70 @@ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1053810540
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1053910541
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1054010542
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
10541-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1054210543
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1054310544
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1054410545
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1054510546

1054610547
function isValidElementType(type) {
1054710548
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
10548-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
10549+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE);
10550+
}
10551+
10552+
/**
10553+
* Forked from fbjs/warning:
10554+
* https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
10555+
*
10556+
* Only change is we use console.warn instead of console.error,
10557+
* and do nothing when 'console' is not supported.
10558+
* This really simplifies the code.
10559+
* ---
10560+
* Similar to invariant but only logs a warning if the condition is not met.
10561+
* This can be used to log issues in development environments in critical
10562+
* paths. Removing the logging code for production environments will keep the
10563+
* same logic and follow the same code paths.
10564+
*/
10565+
var lowPriorityWarningWithoutStack = function () {};
10566+
10567+
{
10568+
var printWarning = function (format) {
10569+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
10570+
args[_key - 1] = arguments[_key];
10571+
}
10572+
10573+
var argIndex = 0;
10574+
var message = 'Warning: ' + format.replace(/%s/g, function () {
10575+
return args[argIndex++];
10576+
});
10577+
10578+
if (typeof console !== 'undefined') {
10579+
console.warn(message);
10580+
}
10581+
10582+
try {
10583+
// --- Welcome to debugging React ---
10584+
// This error was thrown as a convenience so that you can use this stack
10585+
// to find the callsite that caused this warning to fire.
10586+
throw new Error(message);
10587+
} catch (x) {}
10588+
};
10589+
10590+
lowPriorityWarningWithoutStack = function (condition, format) {
10591+
if (format === undefined) {
10592+
throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
10593+
}
10594+
10595+
if (!condition) {
10596+
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
10597+
args[_key2 - 2] = arguments[_key2];
10598+
}
10599+
10600+
printWarning.apply(void 0, [format].concat(args));
10601+
}
10602+
};
1054910603
}
1055010604

10605+
var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;
10606+
1055110607
function typeOf(object) {
1055210608
if (typeof object === 'object' && object !== null) {
1055310609
var $$typeof = object.$$typeof;
@@ -10608,9 +10664,8 @@ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecat
1060810664
function isAsyncMode(object) {
1060910665
{
1061010666
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
10611-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
10612-
10613-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
10667+
hasWarnedAboutDeprecatedIsAsyncMode = true;
10668+
lowPriorityWarningWithoutStack$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
1061410669
}
1061510670
}
1061610671

@@ -10653,6 +10708,7 @@ function isSuspense(object) {
1065310708
return typeOf(object) === REACT_SUSPENSE_TYPE;
1065410709
}
1065510710

10711+
exports.typeOf = typeOf;
1065610712
exports.AsyncMode = AsyncMode;
1065710713
exports.ConcurrentMode = ConcurrentMode;
1065810714
exports.ContextConsumer = ContextConsumer;
@@ -10666,6 +10722,7 @@ exports.Portal = Portal;
1066610722
exports.Profiler = Profiler;
1066710723
exports.StrictMode = StrictMode;
1066810724
exports.Suspense = Suspense;
10725+
exports.isValidElementType = isValidElementType;
1066910726
exports.isAsyncMode = isAsyncMode;
1067010727
exports.isConcurrentMode = isConcurrentMode;
1067110728
exports.isContextConsumer = isContextConsumer;
@@ -10679,8 +10736,6 @@ exports.isPortal = isPortal;
1067910736
exports.isProfiler = isProfiler;
1068010737
exports.isStrictMode = isStrictMode;
1068110738
exports.isSuspense = isSuspense;
10682-
exports.isValidElementType = isValidElementType;
10683-
exports.typeOf = typeOf;
1068410739
})();
1068510740
}
1068610741

@@ -13516,7 +13571,7 @@ var GitalkComponent = function (_Component) {
1351613571
pagerDirection: 'last', // last or first
1351713572
createIssueManually: false,
1351813573
distractionFreeMode: false,
13519-
proxy: 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
13574+
proxy: 'https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token',
1352013575
flipMoveOptions: {
1352113576
staggerDelayBy: 150,
1352213577
appearAnimation: 'accordionVertical',
@@ -62288,7 +62343,7 @@ Object.defineProperty(exports, "__esModule", {
6228862343
value: true
6228962344
});
6229062345
var GT_ACCESS_TOKEN = exports.GT_ACCESS_TOKEN = 'GT_ACCESS_TOKEN';
62291-
var GT_VERSION = exports.GT_VERSION = "1.7.1"; // eslint-disable-line
62346+
var GT_VERSION = exports.GT_VERSION = "1.7.2"; // eslint-disable-line
6229262347
var GT_COMMENT = exports.GT_COMMENT = 'GT_COMMENT';
6229362348

6229462349
/***/ }),

Diff for: dist/gitalk.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/gitalk.min.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/gitalk.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitalk",
3-
"version": "1.7.1",
3+
"version": "1.7.2",
44
"description": "A comment plugin base on GitHub issues",
55
"keywords": [
66
"comment",

0 commit comments

Comments
 (0)