New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atjson/offset-annotations

Package Overview
Dependencies
Maintainers
7
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atjson/offset-annotations - npm Package Compare versions

Comparing version 0.24.3 to 0.25.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [0.25.0](https://github.com/CondeNast/atjson/compare/@atjson/offset-annotations@0.24.3...@atjson/offset-annotations@0.25.0) (2020-01-24)
### ✨ New Features
- ✨ : Include Spotify as a social url provider
## [0.24.3](https://github.com/CondeNast/atjson/compare/@atjson/offset-annotations@0.24.2...@atjson/offset-annotations@0.24.3) (2019-12-20)

@@ -8,0 +14,0 @@

1

dist/commonjs/utils/social-urls.d.ts

@@ -13,2 +13,3 @@ import { IframeEmbed } from "../annotations";

url?: string;
attributes?: any;
AnnotationClass?: typeof IframeEmbed;

@@ -15,0 +16,0 @@ }

61

dist/commonjs/utils/social-urls.js

@@ -52,3 +52,3 @@ "use strict";

}
return normalized.href;
return { url: normalized.href, AnnotationClass: annotations_1.YouTubeEmbed };
}

@@ -65,3 +65,6 @@ function isInstagramURL(url) {

let [, id] = without(url.pathname.split("/"), "");
return `https://www.instagram.com/p/${id}`;
return {
url: `https://www.instagram.com/p/${id}`,
AnnotationClass: annotations_1.InstagramEmbed
};
}

@@ -74,9 +77,15 @@ function isTwitterURL(url) {

let [username, , tweetId] = without(url.pathname.split("/"), "");
return `https://twitter.com/${username}/status/${tweetId}`;
return {
url: `https://twitter.com/${username}/status/${tweetId}`,
AnnotationClass: annotations_1.TwitterEmbed
};
}
function isPinterestURL(url) {
return ["www.pinterest.com"].includes(url.host);
return url.host === "www.pinterest.com";
}
function normalizePinterestURL(url) {
return `https://www.pinterest.com${url.pathname}`;
return {
url: `https://www.pinterest.com${url.pathname}`,
AnnotationClass: annotations_1.PinterestEmbed
};
}

@@ -105,3 +114,3 @@ function isFacebookPostURL(url) {

if (isFacebookEmbedURL(url)) {
return normalizeFacebookURL(new URL(getSearchParam(url.searchParams, "href")));
url = new URL(getSearchParam(url.searchParams, "href"));
}

@@ -111,3 +120,6 @@ let parts = without(url.pathname.split("/"), "");

let username = parts.shift();
return `https://www.facebook.com/${username}/posts/${id}`;
return {
url: `https://www.facebook.com/${username}/posts/${id}`,
AnnotationClass: annotations_1.FacebookEmbed
};
}

@@ -128,26 +140,45 @@ function isGiphyURL(url) {

}
return `https://giphy.com/embed/${id}`;
return { url: `https://giphy.com/embed/${id}`, AnnotationClass: annotations_1.GiphyEmbed };
}
function isSpotifyUrl(url) {
return url.host === "open.spotify.com";
}
function normalizeSpotifyUrl(url) {
let parts = without(url.pathname.split("/"), "");
if (parts[0] === "embed") {
parts.shift();
}
let type = parts[0];
let id = parts[1];
return {
url: `https://open.spotify.com/embed/${type}/${id}`,
AnnotationClass: annotations_1.IframeEmbed,
attributes: { width: "300", height: type === "track" ? "80" : "380" }
};
}
function identify(url) {
if (isFacebookURL(url)) {
return { url: normalizeFacebookURL(url), AnnotationClass: annotations_1.FacebookEmbed };
return normalizeFacebookURL(url);
}
if (isGiphyURL(url)) {
return { url: normalizeGiphyURL(url), AnnotationClass: annotations_1.GiphyEmbed };
return normalizeGiphyURL(url);
}
if (isInstagramURL(url)) {
return { url: normalizeInstagramURL(url), AnnotationClass: annotations_1.InstagramEmbed };
return normalizeInstagramURL(url);
}
if (isPinterestURL(url)) {
return { url: normalizePinterestURL(url), AnnotationClass: annotations_1.PinterestEmbed };
return normalizePinterestURL(url);
}
if (isTwitterURL(url)) {
return { url: normalizeTwitterURL(url), AnnotationClass: annotations_1.TwitterEmbed };
return normalizeTwitterURL(url);
}
if (isYouTubeURL(url)) {
return { url: normalizeYouTubeURL(url), AnnotationClass: annotations_1.YouTubeEmbed };
return normalizeYouTubeURL(url);
}
if (isSpotifyUrl(url)) {
return normalizeSpotifyUrl(url);
}
return {};
}
exports.identify = identify;
//# sourceMappingURL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UFFO1FBQ3JCLE9BQU8sbUJBQW1CLENBQUMsR0FBRyxDQUFDLENBQUM7S0FDakM7SUFFRCxJQUFJLFlBQVksQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNyQixPQUFPLG1CQUFtQixDQUFDLEdBQUcsQ0FBQyxDQUFDO0tBQ2pDO0lBRUQsSUFBSSxZQUFZLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDckIsT0FBTyxtQkFBbUIsQ0FBQyxHQUFHLENBQUMsQ0FBQztLQUNqQztJQUVELE9BQU8sRUFBRSxDQUFDO0FBQ1osQ0FBQztBQTlCRCw0QkE4QkMifQ==

@@ -13,2 +13,3 @@ import { IframeEmbed } from "../annotations";

url?: string;
attributes?: any;
AnnotationClass?: typeof IframeEmbed;

@@ -15,0 +16,0 @@ }

@@ -1,2 +0,2 @@

import { FacebookEmbed, GiphyEmbed, InstagramEmbed, PinterestEmbed, TwitterEmbed, YouTubeEmbed } from "../annotations";
import { IframeEmbed, FacebookEmbed, GiphyEmbed, InstagramEmbed, PinterestEmbed, TwitterEmbed, YouTubeEmbed } from "../annotations";
function without(array, value) {

@@ -50,3 +50,3 @@ let presentParts = [];

}
return normalized.href;
return { url: normalized.href, AnnotationClass: YouTubeEmbed };
}

@@ -63,3 +63,6 @@ function isInstagramURL(url) {

let [, id] = without(url.pathname.split("/"), "");
return `https://www.instagram.com/p/${id}`;
return {
url: `https://www.instagram.com/p/${id}`,
AnnotationClass: InstagramEmbed
};
}

@@ -72,9 +75,15 @@ function isTwitterURL(url) {

let [username, , tweetId] = without(url.pathname.split("/"), "");
return `https://twitter.com/${username}/status/${tweetId}`;
return {
url: `https://twitter.com/${username}/status/${tweetId}`,
AnnotationClass: TwitterEmbed
};
}
function isPinterestURL(url) {
return ["www.pinterest.com"].includes(url.host);
return url.host === "www.pinterest.com";
}
function normalizePinterestURL(url) {
return `https://www.pinterest.com${url.pathname}`;
return {
url: `https://www.pinterest.com${url.pathname}`,
AnnotationClass: PinterestEmbed
};
}

@@ -103,3 +112,3 @@ function isFacebookPostURL(url) {

if (isFacebookEmbedURL(url)) {
return normalizeFacebookURL(new URL(getSearchParam(url.searchParams, "href")));
url = new URL(getSearchParam(url.searchParams, "href"));
}

@@ -109,3 +118,6 @@ let parts = without(url.pathname.split("/"), "");

let username = parts.shift();
return `https://www.facebook.com/${username}/posts/${id}`;
return {
url: `https://www.facebook.com/${username}/posts/${id}`,
AnnotationClass: FacebookEmbed
};
}

@@ -126,25 +138,44 @@ function isGiphyURL(url) {

}
return `https://giphy.com/embed/${id}`;
return { url: `https://giphy.com/embed/${id}`, AnnotationClass: GiphyEmbed };
}
function isSpotifyUrl(url) {
return url.host === "open.spotify.com";
}
function normalizeSpotifyUrl(url) {
let parts = without(url.pathname.split("/"), "");
if (parts[0] === "embed") {
parts.shift();
}
let type = parts[0];
let id = parts[1];
return {
url: `https://open.spotify.com/embed/${type}/${id}`,
AnnotationClass: IframeEmbed,
attributes: { width: "300", height: type === "track" ? "80" : "380" }
};
}
export function identify(url) {
if (isFacebookURL(url)) {
return { url: normalizeFacebookURL(url), AnnotationClass: FacebookEmbed };
return normalizeFacebookURL(url);
}
if (isGiphyURL(url)) {
return { url: normalizeGiphyURL(url), AnnotationClass: GiphyEmbed };
return normalizeGiphyURL(url);
}
if (isInstagramURL(url)) {
return { url: normalizeInstagramURL(url), AnnotationClass: InstagramEmbed };
return normalizeInstagramURL(url);
}
if (isPinterestURL(url)) {
return { url: normalizePinterestURL(url), AnnotationClass: PinterestEmbed };
return normalizePinterestURL(url);
}
if (isTwitterURL(url)) {
return { url: normalizeTwitterURL(url), AnnotationClass: TwitterEmbed };
return normalizeTwitterURL(url);
}
if (isYouTubeURL(url)) {
return { url: normalizeYouTubeURL(url), AnnotationClass: YouTubeEmbed };
return normalizeYouTubeURL(url);
}
if (isSpotifyUrl(url)) {
return normalizeSpotifyUrl(url);
}
return {};
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29jaW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UNuQztJQUVELElBQUksY0FBYyxDQUFDLEdBQUcsQ0FBQyxFQUFFO1FBQ3ZCLE9BQU8scUJBQXFCLENBQUMsR0FBRyxDQUFDLENBQUM7S0FDbkM7SUFFRCxJQUFJLFlBQVksQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUNyQixPQUFPLG1CQUFtQixDQUFDLEdBQUcsQ0FBQyxDQUFDO0tBQ2pDO0lBRUQsSUFBSSxZQUFZLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDckIsT0FBTyxtQkFBbUIsQ0FBQyxHQUFHLENBQUMsQ0FBQztLQUNqQztJQUVELElBQUksWUFBWSxDQUFDLEdBQUcsQ0FBQyxFQUFFO1FBQ3JCLE9BQU8sbUJBQW1CLENBQUMsR0FBRyxDQUFDLENBQUM7S0FDakM7SUFFRCxPQUFPLEVBQUUsQ0FBQztBQUNaLENBQUMifQ==
{
"name": "@atjson/offset-annotations",
"version": "0.24.3",
"version": "0.25.0",
"description": "Annotations used for stories",

@@ -13,3 +13,3 @@ "main": "dist/commonjs/index.js",

"devDependencies": {
"@atjson/document": "0.22.9"
"@atjson/document": "0.22.10"
},

@@ -19,3 +19,3 @@ "peerDependencies": {

},
"gitHead": "a2377a2a566c553ebf8621c06104e825901c5433"
"gitHead": "9ad942d45bfea3f34c004c6b856e67da9cf7d9e5"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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