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

storyblok-react

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storyblok-react - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

10

lib/sb-editable.js

@@ -44,6 +44,10 @@ 'use strict';

el.setAttribute('data-blok-c', JSON.stringify(options));
el.setAttribute('data-blok-uid', options.id + '-' + options.uid);
if (typeof el.setAttribute === 'function') {
el.setAttribute('data-blok-c', JSON.stringify(options));
el.setAttribute('data-blok-uid', options.id + '-' + options.uid);
this.addClass(el, 'storyblok__outline');
this.addClass(el, 'storyblok__outline');
} else {
console.warn('I seams that you are using a text dom element inside the SbEditable wrapper. Please wrap it with a HTML dom element.');
}
}

@@ -50,0 +54,0 @@ }, {

{
"name": "storyblok-react",
"version": "0.0.6",
"version": "0.0.7",
"description": "React component for storyblok.",

@@ -20,8 +20,8 @@ "keywords": [

"devDependencies": {
"babel-cli": "~6.11.4",
"babel-core": "~6.13.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-runtime": "~6.12.0",
"babel-preset-es2015": "~6.13.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "~6.11.1",
"babel-preset-stage-2": "~6.13.0",
"babel-preset-stage-2": "^6.24.1",
"babel-runtime": "~6.11.6",

@@ -28,0 +28,0 @@ "watch": "~0.19.1"

@@ -18,6 +18,10 @@ import React from 'react'

el.setAttribute('data-blok-c', JSON.stringify(options))
el.setAttribute('data-blok-uid', options.id + '-' + options.uid)
if (typeof el.setAttribute === 'function') {
el.setAttribute('data-blok-c', JSON.stringify(options))
el.setAttribute('data-blok-uid', options.id + '-' + options.uid)
this.addClass(el, 'storyblok__outline')
this.addClass(el, 'storyblok__outline')
} else {
console.warn('I seams that you are using a text dom element inside the SbEditable wrapper. Please wrap it with a HTML dom element.')
}
}

@@ -24,0 +28,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