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

jsx-dom

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-dom - npm Package Compare versions

Comparing version 6.4.4 to 6.4.5

yarn-error.log

5

CHANGELOG.md

@@ -0,1 +1,4 @@

# 6.4.5
- Adds `React.createFactory` support.
# 6.4.0

@@ -5,3 +8,3 @@ - **Now requires `Object.assign` polyfill for old browsers.**

# 6.3.0
- Adds `defaultProps` support to functional componants.
- Adds `defaultProps` support to functional components.

@@ -8,0 +11,0 @@ # 6.1.0

12

lib/index.cjs.js

@@ -86,2 +86,6 @@ "use strict"

function createFactory(tag) {
return createElement.bind(null, tag)
}
function Fragment(attr) {

@@ -198,3 +202,3 @@ var fragment = document.createDocumentFragment()

var name = key.slice(2).toLowerCase()
listen(node, name, value)
node.addEventListener(name, value)
}

@@ -217,10 +221,6 @@ } else if (value === true) {

function listen(node, eventName, callback) {
node.addEventListener(eventName, callback)
return node
}
exports.Fragment = Fragment
exports.SVGNamespace = "http://www.w3.org/2000/svg"
exports.createElement = createElement
exports.createFactory = createFactory
exports.createRef = createRef

@@ -227,0 +227,0 @@ exports.h = createElement

@@ -81,2 +81,6 @@ var __assign = Object.assign

function createFactory(tag) {
return createElement.bind(null, tag)
}
function Fragment(attr) {

@@ -193,3 +197,3 @@ var fragment = document.createDocumentFragment()

var name = key.slice(2).toLowerCase()
listen(node, name, value)
node.addEventListener(name, value)
}

@@ -212,7 +216,2 @@ } else if (value === true) {

function listen(node, eventName, callback) {
node.addEventListener(eventName, callback)
return node
}
export {

@@ -222,2 +221,3 @@ Fragment,

createElement,
createFactory,
createRef,

@@ -224,0 +224,0 @@ createElement as h,

@@ -145,2 +145,6 @@ "use strict"

function createFactory(tag) {
return createElement.bind(null, tag)
}
function Fragment(attr) {

@@ -294,3 +298,3 @@ var fragment = document.createDocumentFragment()

var name = key.slice(2).toLowerCase()
listen(node, name, value)
node.addEventListener(name, value)
}

@@ -313,10 +317,6 @@ } else if (value === true) {

function listen(node, eventName, callback) {
node.addEventListener(eventName, callback)
return node
}
exports.Fragment = Fragment
exports.SVGNamespace = "http://www.w3.org/2000/svg"
exports.createElement = createElement
exports.createFactory = createFactory
exports.createRef = createRef

@@ -323,0 +323,0 @@ exports.h = createElement

@@ -140,2 +140,6 @@ var __assign = Object.assign

function createFactory(tag) {
return createElement.bind(null, tag)
}
function Fragment(attr) {

@@ -289,3 +293,3 @@ var fragment = document.createDocumentFragment()

var name = key.slice(2).toLowerCase()
listen(node, name, value)
node.addEventListener(name, value)
}

@@ -308,7 +312,2 @@ } else if (value === true) {

function listen(node, eventName, callback) {
node.addEventListener(eventName, callback)
return node
}
export {

@@ -318,2 +317,3 @@ Fragment,

createElement,
createFactory,
createRef,

@@ -320,0 +320,0 @@ createElement as h,

{
"name": "jsx-dom",
"version": "6.4.4",
"version": "6.4.5",
"description": "JSX to document.createElement.",
"main": "lib/index.cjs.js",
"module": "lib/index.js",
"publishConfig": {},
"scripts": {

@@ -19,39 +20,36 @@ "build": "cake build",

"typings": "index.d.ts",
"author": "proteria",
"author": "proteriax",
"license": "BSD-3-Clause",
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/core": "^7.8.4",
"@rollup/plugin-replace": "^2.3.1",
"@types/babel__core": "^7.1.3",
"@types/chai": "^4.2.3",
"@types/chai": "^4.2.8",
"@types/jsdom": "^12.2.4",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.7",
"@types/mocha": "^7.0.1",
"@types/node": "^13.7.0",
"@types/prop-types": "^15.7.3",
"babel-preset-minify": "^0.5.1",
"chai": "^4.2.0",
"coffeescript": "^2.4.1",
"coffeescript": "^2.5.1",
"fs-extra": "^8.1.0",
"jsdom": "^15.1.1",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"rollup": "^1.21.4",
"jsdom": "^16.1.0",
"mocha": "^7.0.1",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"rollup": "^1.31.0",
"rollup-plugin-prettier": "^0.6.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-typescript": "^1.2.1",
"ts-node": "^8.4.1",
"ts-node": "^8.6.2",
"tslib": "^1.10.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.6.3"
"typescript": "^3.7.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/glixlur/jsx-dom.git"
"url": "git+https://github.com/proteriax/jsx-dom.git"
},
"bugs": {
"url": "https://github.com/glixlur/jsx-dom/issues"
"url": "https://github.com/proteriax/jsx-dom/issues"
},
"homepage": "https://github.com/glixlur/jsx-dom#readme",
"homepage": "https://github.com/proteriax/jsx-dom#readme",
"prettier": {

@@ -58,0 +56,0 @@ "tabWidth": 2,

# jsx-dom
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![build status](https://travis-ci.org/proteria/jsx-dom.svg?branch=master)](https://travis-ci.org/proteria/jsx-dom)
[![dependency status](https://david-dm.org/proteria/jsx-dom/status.svg)](https://david-dm.org/proteria/jsx-dom#info=dependencies)
[![devDependency status](https://david-dm.org/proteria/jsx-dom/dev-status.svg)](https://david-dm.org/proteria/jsx-dom#info=devDependencies)
[![build status](https://travis-ci.org/proteriax/jsx-dom.svg?branch=master)](https://travis-ci.org/proteriax/jsx-dom)
[![dependency status](https://david-dm.org/proteriax/jsx-dom/status.svg)](https://david-dm.org/proteriax/jsx-dom#info=dependencies)
[![devDependency status](https://david-dm.org/proteriax/jsx-dom/dev-status.svg)](https://david-dm.org/proteriax/jsx-dom#info=devDependencies)
[![npm version](https://badge.fury.io/js/jsx-dom.svg)](https://badge.fury.io/js/jsx-dom)
![big mood](https://img.shields.io/badge/kirito-eugeo-blue.svg)

@@ -146,3 +145,3 @@ Use JSX for creating DOM elements.

## Browser Support
`jsx-dom` requires `Object.keys` and `Object.create` support. This means IE9 or later.
There is no support for Internet Explorer.

@@ -149,0 +148,0 @@ ## Known Issues

Sorry, the diff of this file is too big to display

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