Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/link-provider

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/link-provider - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

CHANGELOG.md
# @atlaskit/link-provider
## 0.1.3
### Patch Changes
- [`8b9f08cbc1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b9f08cbc1c) - [ux] Default representation for Slack links was changed from 'block' to 'inline'
## 0.1.2

@@ -4,0 +10,0 @@

6

dist/cjs/editor/transformer.js

@@ -26,6 +26,2 @@ "use strict";

var isSlackMessage = function isSlackMessage(url) {
return url.match(/^https:\/\/.+?\.slack\.com\/archives\/[CG][A-Z0-9]+\/p[0-9]+(\?.*)?$/);
};
var Transformer = /*#__PURE__*/function () {

@@ -72,4 +68,2 @@ function Transformer() {

return this.buildEmbedAdf(url);
} else if (isSlackMessage(url)) {
return this.buildBlockAdf(url);
} else {

@@ -76,0 +70,0 @@ switch (appearance) {

2

dist/cjs/version.json
{
"name": "@atlaskit/link-provider",
"version": "0.1.2",
"version": "0.1.3",
"sideEffects": false
}

@@ -7,4 +7,2 @@ const isJiraRoadMap = url => url.match(/^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/boards\/.*?\/roadmap\/?/);

const isSlackMessage = url => url.match(/^https:\/\/.+?\.slack\.com\/archives\/[CG][A-Z0-9]+\/p[0-9]+(\?.*)?$/);
export class Transformer {

@@ -42,4 +40,2 @@ buildInlineAdf(url) {

return this.buildEmbedAdf(url);
} else if (isSlackMessage(url)) {
return this.buildBlockAdf(url);
} else {

@@ -46,0 +42,0 @@ switch (appearance) {

{
"name": "@atlaskit/link-provider",
"version": "0.1.2",
"version": "0.1.3",
"sideEffects": false
}

@@ -16,6 +16,2 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

var isSlackMessage = function isSlackMessage(url) {
return url.match(/^https:\/\/.+?\.slack\.com\/archives\/[CG][A-Z0-9]+\/p[0-9]+(\?.*)?$/);
};
export var Transformer = /*#__PURE__*/function () {

@@ -62,4 +58,2 @@ function Transformer() {

return this.buildEmbedAdf(url);
} else if (isSlackMessage(url)) {
return this.buildBlockAdf(url);
} else {

@@ -66,0 +60,0 @@ switch (appearance) {

{
"name": "@atlaskit/link-provider",
"version": "0.1.2",
"version": "0.1.3",
"sideEffects": false
}
{
"name": "@atlaskit/link-provider",
"version": "0.1.2",
"version": "0.1.3",
"description": "Contains provider with react context for anything link related and the link http client",

@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc