@atlaskit/adf-utils 19.27.6 → 19.27.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 19.27.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1fd2b267eb592`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1fd2b267eb592) -
8
+ Cleanup `platform_editor_ai_aifc_patch_ga` flag
9
+ - Updated dependencies
10
+
3
11
  ## 19.27.6
4
12
 
5
13
  ### Patch Changes
@@ -12,7 +12,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
12
12
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
14
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
15
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
17
16
  var specs = _interopRequireWildcard(require("./specs"));
18
17
  var _utils = require("./utils");
@@ -388,7 +387,7 @@ function validator(nodes, marks, options) {
388
387
  _ref4$allowPrivateAtt = _ref4.allowPrivateAttributes,
389
388
  allowPrivateAttributes = _ref4$allowPrivateAtt === void 0 ? false : _ref4$allowPrivateAtt;
390
389
  var validate = function validate(entity, errorCallback, allowed, parentSpec) {
391
- if (!allowed && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_patch_ga')) {
390
+ if (!allowed) {
392
391
  var _iterator = _createForOfIteratorHelper((0, _extractAllowedContent.extractAllowedContent)(validatorSpecs, entity)),
393
392
  _step;
394
393
  try {
@@ -1,4 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
1
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
3
2
  // Ignored via go/ees005
4
3
  // eslint-disable-next-line import/no-namespace
@@ -349,7 +348,7 @@ export function validator(nodes, marks, options) {
349
348
  allowPrivateAttributes = false
350
349
  } = options || {};
351
350
  const validate = (entity, errorCallback, allowed, parentSpec) => {
352
- if (!allowed && fg('platform_editor_ai_aifc_patch_ga')) {
351
+ if (!allowed) {
353
352
  for (const allowed of extractAllowedContent(validatorSpecs, entity)) {
354
353
  const validationResult = validateNode(entity, errorCallback, allowed, parentSpec);
355
354
  if (validationResult.valid) {
@@ -8,7 +8,6 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
8
8
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9
9
  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; }
10
10
  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; }
11
- import { fg } from '@atlaskit/platform-feature-flags';
12
11
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
13
12
  // Ignored via go/ees005
14
13
  // eslint-disable-next-line import/no-namespace
@@ -379,7 +378,7 @@ export function validator(nodes, marks, options) {
379
378
  _ref4$allowPrivateAtt = _ref4.allowPrivateAttributes,
380
379
  allowPrivateAttributes = _ref4$allowPrivateAtt === void 0 ? false : _ref4$allowPrivateAtt;
381
380
  var validate = function validate(entity, errorCallback, allowed, parentSpec) {
382
- if (!allowed && fg('platform_editor_ai_aifc_patch_ga')) {
381
+ if (!allowed) {
383
382
  var _iterator = _createForOfIteratorHelper(extractAllowedContent(validatorSpecs, entity)),
384
383
  _step;
385
384
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.27.6",
3
+ "version": "19.27.7",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@atlaskit/adf-schema": "^52.2.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
- "@atlaskit/tmp-editor-statsig": "^35.0.0",
31
+ "@atlaskit/tmp-editor-statsig": "^35.5.0",
32
32
  "@babel/runtime": "^7.0.0"
33
33
  },
34
34
  "devDependencies": {
@@ -53,9 +53,6 @@
53
53
  "platform-feature-flags": {
54
54
  "platform_adf-utils_fix-dummy-text-index-oob": {
55
55
  "type": "boolean"
56
- },
57
- "platform_editor_ai_aifc_patch_ga": {
58
- "type": "boolean"
59
56
  }
60
57
  }
61
58
  }