@atjson/offset-annotations
Advanced tools
Comparing version 0.13.10 to 0.13.11
@@ -6,2 +6,11 @@ # Change Log | ||
## [0.13.11](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/offset-annotations@0.13.10...@atjson/offset-annotations@0.13.11) (2019-02-27) | ||
### 🐛 Fixes | ||
* 🐛 fix giphyId and type signature of instagram attributes | ||
## [0.13.10](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/offset-annotations@0.13.9...@atjson/offset-annotations@0.13.10) (2019-02-14) | ||
@@ -8,0 +17,0 @@ |
@@ -8,3 +8,3 @@ "use strict"; | ||
if (url) { | ||
return iframe_embed_1.without(url.pathname.split('/'), '')[1]; | ||
return iframe_embed_1.without(url.pathname.split('/'), '')[1].split('-').slice(-1)[0]; | ||
} | ||
@@ -17,2 +17,2 @@ return null; | ||
exports.default = GiphyEmbed; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lwaHktZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvZ2lwaHktZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxpREFBc0Q7QUFFdEQsTUFBcUIsVUFBVyxTQUFRLHNCQUFXO0lBSWpELElBQUksT0FBTztRQUNULElBQUksR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUM7UUFDbkIsSUFBSSxHQUFHLEVBQUU7WUFDUCxPQUFPLHNCQUFPLENBQVMsR0FBRyxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7U0FDeEQ7UUFDRCxPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7O0FBVE0sZUFBSSxHQUFHLGFBQWEsQ0FBQztBQUNyQix1QkFBWSxHQUFHLFFBQVEsQ0FBQztBQUZqQyw2QkFXQyJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lwaHktZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvZ2lwaHktZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxpREFBc0Q7QUFFdEQsTUFBcUIsVUFBVyxTQUFRLHNCQUFXO0lBSWpELElBQUksT0FBTztRQUNULElBQUksR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUM7UUFDbkIsSUFBSSxHQUFHLEVBQUU7WUFDUCxPQUFPLHNCQUFPLENBQVMsR0FBRyxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO1NBQ2hGO1FBQ0QsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDOztBQVRNLGVBQUksR0FBRyxhQUFhLENBQUM7QUFDckIsdUJBQVksR0FBRyxRQUFRLENBQUM7QUFGakMsNkJBV0MifQ== |
@@ -5,7 +5,3 @@ import IframeEmbed from './iframe-embed'; | ||
static vendorPrefix: string; | ||
attributes: { | ||
url: string; | ||
captioned: boolean; | ||
}; | ||
readonly shortcode: string | null; | ||
} |
@@ -16,2 +16,2 @@ "use strict"; | ||
exports.default = InstagramEmbed; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFncmFtLWVtYmVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2luc3RhZ3JhbS1lbWJlZC50cy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O0FBQ3pCLDJCQUFZLEdBQUcsUUFBUSxDQUFDO0FBRmpDLGlDQVdDIn0= |
@@ -6,3 +6,3 @@ import IframeEmbed, { without } from './iframe-embed'; | ||
if (url) { | ||
return without(url.pathname.split('/'), '')[1]; | ||
return without(url.pathname.split('/'), '')[1].split('-').slice(-1)[0]; | ||
} | ||
@@ -14,2 +14,2 @@ return null; | ||
GiphyEmbed.vendorPrefix = 'offset'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lwaHktZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvZ2lwaHktZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxXQUFXLEVBQUUsRUFBRSxPQUFPLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RCxNQUFNLENBQUMsT0FBTyxPQUFPLFVBQVcsU0FBUSxXQUFXO0lBSWpELElBQUksT0FBTztRQUNULElBQUksR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUM7UUFDbkIsSUFBSSxHQUFHLEVBQUU7WUFDUCxPQUFPLE9BQU8sQ0FBUyxHQUFHLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztTQUN4RDtRQUNELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQzs7QUFUTSxlQUFJLEdBQUcsYUFBYSxDQUFDO0FBQ3JCLHVCQUFZLEdBQUcsUUFBUSxDQUFDIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lwaHktZW1iZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYW5ub3RhdGlvbnMvZ2lwaHktZW1iZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxXQUFXLEVBQUUsRUFBRSxPQUFPLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RCxNQUFNLENBQUMsT0FBTyxPQUFPLFVBQVcsU0FBUSxXQUFXO0lBSWpELElBQUksT0FBTztRQUNULElBQUksR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUM7UUFDbkIsSUFBSSxHQUFHLEVBQUU7WUFDUCxPQUFPLE9BQU8sQ0FBUyxHQUFHLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7U0FDaEY7UUFDRCxPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7O0FBVE0sZUFBSSxHQUFHLGFBQWEsQ0FBQztBQUNyQix1QkFBWSxHQUFHLFFBQVEsQ0FBQyJ9 |
@@ -5,7 +5,3 @@ import IframeEmbed from './iframe-embed'; | ||
static vendorPrefix: string; | ||
attributes: { | ||
url: string; | ||
captioned: boolean; | ||
}; | ||
readonly shortcode: string | null; | ||
} |
@@ -13,2 +13,2 @@ import IframeEmbed, { without } from './iframe-embed'; | ||
InstagramEmbed.vendorPrefix = 'offset'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFncmFtLWVtYmVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Fubm90YXRpb25zL2luc3RhZ3JhbS1lbWJlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFdBQVcsRUFBRSxFQUFFLE9BQU8sRUFBRSxNQUFNLGd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QVRNLG1CQUFJLEdBQUcsaUJBQWlCLENBQUM7QUFDekIsMkJBQVksR0FBRyxRQUFRLENBQUMifQ== |
{ | ||
"name": "@atjson/offset-annotations", | ||
"version": "0.13.10", | ||
"version": "0.13.11", | ||
"description": "Annotations used for stories", | ||
@@ -21,3 +21,3 @@ "main": "dist/commonjs/index.js", | ||
}, | ||
"gitHead": "bde5f416a3feee9dae17b7a089d8a81ae2bd969d" | ||
"gitHead": "98c46baa478a771138cad9c7073309626592b88d" | ||
} |
@@ -10,3 +10,3 @@ import IframeEmbed, { without } from './iframe-embed'; | ||
if (url) { | ||
return without<string>(url.pathname.split('/'), '')[1]; | ||
return without<string>(url.pathname.split('/'), '')[1].split('-').slice(-1)[0]; | ||
} | ||
@@ -13,0 +13,0 @@ return null; |
@@ -6,6 +6,2 @@ import IframeEmbed, { without } from './iframe-embed'; | ||
static vendorPrefix = 'offset'; | ||
attributes!: { | ||
url: string; | ||
captioned: boolean; | ||
}; | ||
@@ -12,0 +8,0 @@ get shortcode(): string | null { |
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
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
118211
1977