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

vue-inbrowser-compiler-utils

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-inbrowser-compiler-utils - npm Package Compare versions

Comparing version 4.16.0 to 4.23.3

11

CHANGELOG.md

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

## [4.23.3](https://github.com/vue-styleguidist/vue-styleguidist/compare/v4.23.2...v4.23.3) (2020-05-20)
### Bug Fixes
* **utils:** protect docgen-cli when in SSG ([af269f6](https://github.com/vue-styleguidist/vue-styleguidist/commit/af269f6fe071d9adb67b5e11fd61e1bbc3de0963)), closes [#876](https://github.com/vue-styleguidist/vue-styleguidist/issues/876)
# [4.16.0](https://github.com/vue-styleguidist/vue-styleguidist/compare/v4.15.2...v4.16.0) (2020-04-09)

@@ -8,0 +19,0 @@

4

lib/vue-inbrowser-compiler-utils.cjs.js

@@ -54,2 +54,6 @@ (function (global, factory) {

function addScopedStyle(css, suffix) {
// protect server side rendering
if (typeof document === 'undefined') {
return;
}
var head = document.head || document.getElementsByTagName('head')[0];

@@ -56,0 +60,0 @@ var newstyle = document.createElement('style');

@@ -48,2 +48,6 @@ /* eslint-disable no-control-regex */

function addScopedStyle(css, suffix) {
// protect server side rendering
if (typeof document === 'undefined') {
return;
}
var head = document.head || document.getElementsByTagName('head')[0];

@@ -50,0 +54,0 @@ var newstyle = document.createElement('style');

4

package.json
{
"name": "vue-inbrowser-compiler-utils",
"version": "4.16.0",
"version": "4.23.3",
"description": "use this with vue-inbrowser-compiler to allow jsx compilation",

@@ -33,3 +33,3 @@ "module": "lib/vue-inbrowser-compiler-utils.esm.js",

"license": "MIT",
"gitHead": "1f850d14f2d4625ffea1c792dcce0c44d46def6b"
"gitHead": "4e15cb68b0fb1eff86c9abde6daa9b0e89db824c"
}

@@ -10,2 +10,6 @@ import scoper from './styleScoper'

export default function addScopedStyle(css: string, suffix: string) {
// protect server side rendering
if (typeof document === 'undefined') {
return
}
const head = document.head || document.getElementsByTagName('head')[0]

@@ -12,0 +16,0 @@ const newstyle = document.createElement('style')

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