New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kdujs/shared-canary

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kdujs/shared-canary - npm Package Compare versions

Comparing version 3.20240219.0 to 3.20240226.0-minor.0

6

dist/shared.cjs.js

@@ -19,4 +19,4 @@ 'use strict';

const NO = () => false;
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
const onRE = /^on[^a-z]/;
const isOn = (key) => onRE.test(key);
const isModelListener = (key) => key.startsWith("onUpdate:");

@@ -116,3 +116,3 @@ const extend = Object.assign;

[16]: `FULL_PROPS`,
[32]: `NEED_HYDRATION`,
[32]: `HYDRATE_EVENTS`,
[64]: `STABLE_FRAGMENT`,

@@ -119,0 +119,0 @@ [128]: `KEYED_FRAGMENT`,

@@ -19,4 +19,4 @@ 'use strict';

const NO = () => false;
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
const onRE = /^on[^a-z]/;
const isOn = (key) => onRE.test(key);
const isModelListener = (key) => key.startsWith("onUpdate:");

@@ -116,3 +116,3 @@ const extend = Object.assign;

[16]: `FULL_PROPS`,
[32]: `NEED_HYDRATION`,
[32]: `HYDRATE_EVENTS`,
[64]: `STABLE_FRAGMENT`,

@@ -119,0 +119,0 @@ [128]: `KEYED_FRAGMENT`,

@@ -132,7 +132,6 @@ /**

/**
* Indicates an element that requires props hydration
* (but not necessarily patching)
* e.g. event listeners & k-bind with prop modifier
* Indicates an element with event listeners (which need to be attached
* during hydration)
*/
NEED_HYDRATION = 32,
HYDRATE_EVENTS = 32,
/**

@@ -139,0 +138,0 @@ * Indicates a fragment whose children order doesn't change.

@@ -15,4 +15,4 @@ function makeMap(str, expectsLowerCase) {

const NO = () => false;
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
const onRE = /^on[^a-z]/;
const isOn = (key) => onRE.test(key);
const isModelListener = (key) => key.startsWith("onUpdate:");

@@ -112,3 +112,3 @@ const extend = Object.assign;

[16]: `FULL_PROPS`,
[32]: `NEED_HYDRATION`,
[32]: `HYDRATE_EVENTS`,
[64]: `STABLE_FRAGMENT`,

@@ -115,0 +115,0 @@ [128]: `KEYED_FRAGMENT`,

{
"name": "@kdujs/shared-canary",
"version": "3.20240219.0",
"version": "3.20240226.0-minor.0",
"description": "internal utils shared across @kdujs packages",

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

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