@atlaskit/activity-provider
Advanced tools
Comparing version 2.4.3 to 2.4.4
# @atlaskit/activity-provider | ||
## 2.4.4 | ||
### Patch Changes | ||
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2` | ||
## 2.4.3 | ||
@@ -7,3 +13,3 @@ | ||
- [`b3378348ad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3378348ad8) - Dependency `graphql` has been updated to major version 15 | ||
- [#38762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38762) [`b3378348ad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3378348ad8) - Dependency `graphql` has been updated to major version 15 | ||
@@ -14,3 +20,3 @@ ## 2.4.2 | ||
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8 | ||
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8 | ||
@@ -21,3 +27,3 @@ ## 2.4.1 | ||
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` | ||
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` | ||
@@ -28,3 +34,3 @@ ## 2.4.0 | ||
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump | ||
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump | ||
@@ -39,3 +45,3 @@ ### Patch Changes | ||
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5` | ||
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5` | ||
@@ -46,3 +52,3 @@ ## 2.3.6 | ||
- [`3771da907e9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3771da907e9) - Add deprecation to package.json | ||
- [#24950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24950) [`3771da907e9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3771da907e9) - Add deprecation to package.json | ||
@@ -53,3 +59,3 @@ ## 2.3.5 | ||
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`. | ||
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`. | ||
@@ -60,3 +66,3 @@ ## 2.3.4 | ||
- [`09e3f210e94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09e3f210e94) - This Activity Provider is now deprecated. Please migrate to using the recent-work-client instead. For more details please contact #activity-platform. | ||
- [#23669](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23669) [`09e3f210e94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09e3f210e94) - This Activity Provider is now deprecated. Please migrate to using the recent-work-client instead. For more details please contact #activity-platform. | ||
@@ -67,3 +73,3 @@ ## 2.3.3 | ||
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4 | ||
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4 | ||
@@ -74,3 +80,3 @@ ## 2.3.2 | ||
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc | ||
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc | ||
@@ -81,3 +87,3 @@ ## 2.3.1 | ||
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. | ||
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. | ||
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started | ||
@@ -90,3 +96,3 @@ Also add `typescript` to `devDependencies` to denote version that the package was built with. | ||
- [`903a529a3e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/903a529a3e) - Return types in activity-provider which will be used in analytics | ||
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`903a529a3e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/903a529a3e) - Return types in activity-provider which will be used in analytics | ||
Adds in instrumentation metrics for HyperLinkToolBar | ||
@@ -98,3 +104,3 @@ | ||
- [`d1c666bb6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1c666bb6d) - Adds activity analytic events | ||
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424) [`d1c666bb6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1c666bb6d) - Adds activity analytic events | ||
@@ -105,3 +111,3 @@ ## 2.1.1 | ||
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0 | ||
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0 | ||
@@ -115,3 +121,3 @@ Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade | ||
- [`b530b169db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b530b169db) - EDM-642 update graphql filter | ||
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`b530b169db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b530b169db) - EDM-642 update graphql filter | ||
@@ -127,2 +133,2 @@ ### Patch Changes | ||
- [`71c78f8719`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71c78f8719) - EDM-642 Use new ActivityProvider and it's going to be a replacement of the existing `@atlaskit/activity`. The new ActivityProvider will use the new platform API instead of talking to the old Activity Service API. | ||
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`71c78f8719`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71c78f8719) - EDM-642 Use new ActivityProvider and it's going to be a replacement of the existing `@atlaskit/activity`. The new ActivityProvider will use the new platform API instead of talking to the old Activity Service API. |
@@ -15,5 +15,5 @@ "use strict"; | ||
var _error = require("./error"); | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
var makeGetRecentItemBody = function makeGetRecentItemBody(cloudId) { | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
var makeGetRecentItemBody = exports.makeGetRecentItemBody = function makeGetRecentItemBody(cloudId) { | ||
return { | ||
@@ -36,4 +36,3 @@ query: "\n query editor_recentActivities($filter: [ActivitiesFilter!], $first: Int) {\n activities {\n myActivities {\n viewed(filters: $filter, first: $first) {\n nodes {\n timestamp,\n object {\n id,\n name,\n type,\n url,\n iconUrl,\n containers {\n name,\n }\n }\n }\n }\n }\n }\n }\n ", | ||
*/ | ||
exports.makeGetRecentItemBody = makeGetRecentItemBody; | ||
var ActivityResource = /*#__PURE__*/function () { | ||
var ActivityResource = exports.default = /*#__PURE__*/function () { | ||
function ActivityResource(url, cloudId) { | ||
@@ -156,3 +155,2 @@ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
return ActivityResource; | ||
}(); | ||
exports.default = ActivityResource; | ||
}(); |
@@ -16,4 +16,4 @@ "use strict"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
var ActivityError = /*#__PURE__*/function (_Error) { | ||
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | ||
var ActivityError = exports.ActivityError = /*#__PURE__*/function (_Error) { | ||
(0, _inherits2.default)(ActivityError, _Error); | ||
@@ -37,3 +37,2 @@ var _super = _createSuper(ActivityError); | ||
return (0, _createClass2.default)(ActivityError); | ||
}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | ||
exports.ActivityError = ActivityError; | ||
}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); |
@@ -1,5 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
"use strict"; |
@@ -6,4 +6,4 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
import { utils } from '@atlaskit/util-service-support'; | ||
@@ -10,0 +10,0 @@ import { ActivityError } from './error'; |
@@ -9,3 +9,3 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | ||
export var ActivityError = /*#__PURE__*/function (_Error) { | ||
@@ -12,0 +12,0 @@ _inherits(ActivityError, _Error); |
{ | ||
"name": "@atlaskit/activity-provider", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "A provider to support recent activities in editor", | ||
@@ -8,3 +8,3 @@ "publishConfig": { | ||
}, | ||
"repository": "https://bitbucket.org/atlassian/atlassian-frontend", | ||
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", | ||
"author": "Atlassian Pty Ltd", | ||
@@ -46,3 +46,3 @@ "license": "Apache-2.0", | ||
"graphql": "^15.8.0", | ||
"typescript": "~4.9.5" | ||
"typescript": "~5.4.2" | ||
}, | ||
@@ -61,2 +61,2 @@ "techstack": { | ||
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1" | ||
} | ||
} |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/types.d.ts" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
58731
38
1166