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

grandjs

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grandjs - npm Package Compare versions

Comparing version 2.2.6 to 2.2.7

2

lib/View.js

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

createElement(type, props, ...children) {
if (type === "style" && typeof (props === null || props === void 0 ? void 0 : props.src) === "string") {
if (type === "style" && props && typeof props.src === "string") {
children.push(props.src);

@@ -28,0 +28,0 @@ delete props.src;

{
"name": "grandjs",
"version": "2.2.6",
"version": "2.2.7",
"description": "A backend framework for solid web apps based on node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -25,3 +25,3 @@ /**

createElement(type:any, props:OptionalObject, ...children:any[]) {
if(type === "style" && typeof props?.src === "string") {
if(type === "style" && props && typeof props.src === "string") {
children.push(props.src);

@@ -28,0 +28,0 @@ delete props.src;

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