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

@auritylab/prismic-vue

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auritylab/prismic-vue - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

28

dist/PrismicVue.common.js

@@ -18,3 +18,3 @@ 'use strict';

return createElement('div', {
domProps: {
attrs: {
'data-wio-id': this.documentId

@@ -34,11 +34,11 @@ }

render: function (createElement) {
var domProps = {};
var attrs = {};
if (this.field.embed_url)
domProps['data-oembed'] = this.field.embed_url;
attrs['data-oembed'] = this.field.embed_url;
if (this.field.type)
domProps['data-oembed-type'] = this.field.type;
attrs['data-oembed-type'] = this.field.type;
if (this.field.provider_name)
domProps['data-oembed-provider'] = this.field.provider_name;
attrs['data-oembed-provider'] = this.field.provider_name;
return createElement('div', {
domProps: domProps
attrs: attrs
}, [

@@ -60,10 +60,10 @@ this.field.html

return null;
var domProps = {};
domProps.src = this.field.url;
var attrs = {};
attrs.src = this.field.url;
if (this.field.alt)
domProps.alt = this.field.alt;
attrs.alt = this.field.alt;
if (this.field.copyright)
domProps.copyright = this.field.copyright;
attrs.copyright = this.field.copyright;
return createElement('img', {
domProps: domProps
attrs: attrs
});

@@ -92,6 +92,6 @@ }

else {
var domProps = {};
var attrs = {};
if (this.field.target)
domProps.target = this.field.target;
return createElement('a', { domProps: domProps }, [
attrs.target = this.field.target;
return createElement('a', { attrs: attrs }, [
createElement('slot')

@@ -98,0 +98,0 @@ ]);

@@ -15,3 +15,3 @@ import { Link, RichText } from 'prismic-dom';

return createElement('div', {
domProps: {
attrs: {
'data-wio-id': this.documentId

@@ -31,11 +31,11 @@ }

render: function (createElement) {
var domProps = {};
var attrs = {};
if (this.field.embed_url)
domProps['data-oembed'] = this.field.embed_url;
attrs['data-oembed'] = this.field.embed_url;
if (this.field.type)
domProps['data-oembed-type'] = this.field.type;
attrs['data-oembed-type'] = this.field.type;
if (this.field.provider_name)
domProps['data-oembed-provider'] = this.field.provider_name;
attrs['data-oembed-provider'] = this.field.provider_name;
return createElement('div', {
domProps: domProps
attrs: attrs
}, [

@@ -57,10 +57,10 @@ this.field.html

return null;
var domProps = {};
domProps.src = this.field.url;
var attrs = {};
attrs.src = this.field.url;
if (this.field.alt)
domProps.alt = this.field.alt;
attrs.alt = this.field.alt;
if (this.field.copyright)
domProps.copyright = this.field.copyright;
attrs.copyright = this.field.copyright;
return createElement('img', {
domProps: domProps
attrs: attrs
});

@@ -89,6 +89,6 @@ }

else {
var domProps = {};
var attrs = {};
if (this.field.target)
domProps.target = this.field.target;
return createElement('a', { domProps: domProps }, [
attrs.target = this.field.target;
return createElement('a', { attrs: attrs }, [
createElement('slot')

@@ -95,0 +95,0 @@ ]);

@@ -17,3 +17,3 @@ (function (global, factory) {

return createElement('div', {
domProps: {
attrs: {
'data-wio-id': this.documentId

@@ -33,11 +33,11 @@ }

render: function (createElement) {
var domProps = {};
var attrs = {};
if (this.field.embed_url)
domProps['data-oembed'] = this.field.embed_url;
attrs['data-oembed'] = this.field.embed_url;
if (this.field.type)
domProps['data-oembed-type'] = this.field.type;
attrs['data-oembed-type'] = this.field.type;
if (this.field.provider_name)
domProps['data-oembed-provider'] = this.field.provider_name;
attrs['data-oembed-provider'] = this.field.provider_name;
return createElement('div', {
domProps: domProps
attrs: attrs
}, [

@@ -59,10 +59,10 @@ this.field.html

return null;
var domProps = {};
domProps.src = this.field.url;
var attrs = {};
attrs.src = this.field.url;
if (this.field.alt)
domProps.alt = this.field.alt;
attrs.alt = this.field.alt;
if (this.field.copyright)
domProps.copyright = this.field.copyright;
attrs.copyright = this.field.copyright;
return createElement('img', {
domProps: domProps
attrs: attrs
});

@@ -91,6 +91,6 @@ }

else {
var domProps = {};
var attrs = {};
if (this.field.target)
domProps.target = this.field.target;
return createElement('a', { domProps: domProps }, [
attrs.target = this.field.target;
return createElement('a', { attrs: attrs }, [
createElement('slot')

@@ -97,0 +97,0 @@ ]);

{
"name": "@auritylab/prismic-vue",
"version": "2.0.3",
"version": "2.0.4",
"description": "Vue.js plugin to facilitate integration of content managed with Prismic",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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