@atlaskit/link-extractors
Advanced tools
Comparing version 1.7.0 to 1.8.0
# @atlaskit/link-extractors | ||
## 1.8.0 | ||
### Minor Changes | ||
- [`25c7d3c7d5354`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/25c7d3c7d5354) - | ||
Remove the platform.linking-platform.extractor.improve-bitbucket-file-links feature flag | ||
## 1.7.0 | ||
@@ -4,0 +11,0 @@ |
@@ -9,3 +9,2 @@ "use strict"; | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); | ||
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags"); | ||
var _context = require("../context"); | ||
@@ -47,3 +46,3 @@ var _extractType = require("./extractType"); | ||
// FILE: `repo-name: filepath` | ||
if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.extractor.improve-bitbucket-file-links') && type.includes('schema:DigitalDocument')) { | ||
if (type.includes('schema:DigitalDocument')) { | ||
return contextName + name; | ||
@@ -50,0 +49,0 @@ } |
@@ -1,2 +0,1 @@ | ||
import { getBooleanFF } from '@atlaskit/platform-feature-flags'; | ||
import { extractContext } from '../context'; | ||
@@ -36,3 +35,3 @@ import { extractType } from './extractType'; | ||
// FILE: `repo-name: filepath` | ||
if (getBooleanFF('platform.linking-platform.extractor.improve-bitbucket-file-links') && type.includes('schema:DigitalDocument')) { | ||
if (type.includes('schema:DigitalDocument')) { | ||
return contextName + name; | ||
@@ -39,0 +38,0 @@ } |
import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
import { getBooleanFF } from '@atlaskit/platform-feature-flags'; | ||
import { extractContext } from '../context'; | ||
@@ -39,3 +38,3 @@ import { extractType } from './extractType'; | ||
// FILE: `repo-name: filepath` | ||
if (getBooleanFF('platform.linking-platform.extractor.improve-bitbucket-file-links') && type.includes('schema:DigitalDocument')) { | ||
if (type.includes('schema:DigitalDocument')) { | ||
return contextName + name; | ||
@@ -42,0 +41,0 @@ } |
{ | ||
"name": "@atlaskit/link-extractors", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Functions for extracting props from JSON-LD", | ||
@@ -41,3 +41,2 @@ "author": "Atlassian Pty Ltd", | ||
"@atlaskit/logo": "^14.2.0", | ||
"@atlaskit/platform-feature-flags": "^0.3.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -51,5 +50,4 @@ "json-ld-types": "^4.1.0" | ||
"@atlaskit/docs": "*", | ||
"@atlaskit/link-test-helpers": "^7.4.0", | ||
"@atlaskit/media-test-helpers": "^34.0.0", | ||
"@atlassian/feature-flags-test-utils": "^0.2.0", | ||
"@atlaskit/link-test-helpers": "^7.5.0", | ||
"@atlaskit/media-test-helpers": "^34.1.0", | ||
"typescript": "~5.4.2" | ||
@@ -91,8 +89,3 @@ }, | ||
} | ||
}, | ||
"platform-feature-flags": { | ||
"platform.linking-platform.extractor.improve-bitbucket-file-links": { | ||
"type": "boolean" | ||
} | ||
} | ||
} |
4
4
98797
2119