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

dom-element-is-natively-editable

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-element-is-natively-editable - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

index.js

@@ -1,2 +0,2 @@

module.exports = function (element) {
export default function (element) {
if (

@@ -3,0 +3,0 @@ element.ownerDocument.designMode &&

{
"name": "dom-element-is-natively-editable",
"version": "1.0.3",
"version": "1.0.4",
"description": "Returns true if the provided DOM element is supposed to be natively editable",
"main": "index.js",
"browserify": { "transform": ["babelify"] },
"browserify": {
"transform": [
"babelify"
]
},
"scripts": {

@@ -8,0 +12,0 @@ "test": "npm run lint && npm run unit",

/* eslint-env mocha */
require('chai').should()
const jsdom = require('jsdom')
const isEditable = require('..')
import chai from 'chai'
chai.should()
import jsdom from 'jsdom'
import isEditable from '..'

@@ -7,0 +8,0 @@ describe('dom-element-is-natively-editable', () => {

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