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

slate-schema-violations

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slate-schema-violations - npm Package Compare versions

Comparing version 0.1.21 to 0.1.22

12

dist/slate-schema-violations.js

@@ -21,8 +21,14 @@ (function (global, factory) {

var LAST_CHILD_TYPE_INVALID = 'last_child_type_invalid';
var NEXT_SIBLING_OBJECT_INVALID = 'next_sibling_object_invalid';
var NEXT_SIBLING_TYPE_INVALID = 'next_sibling_type_invalid';
var NODE_DATA_INVALID = 'node_data_invalid';
var NODE_IS_VOID_INVALID = 'node_is_void_invalid';
var NODE_MARK_INVALID = 'node_mark_invalid';
var NODE_OBJECT_INVALID = 'node_object_invalid';
var NODE_TEXT_INVALID = 'node_text_invalid';
var NODE_TYPE_INVALID = 'node_type_invalid';
var PARENT_OBJECT_INVALID = 'parent_object_invalid';
var PARENT_TYPE_INVALID = 'parent_type_invalid';
var PREVIOUS_SIBLING_OBJECT_INVALID = 'previous_sibling_object_invalid';
var PREVIOUS_SIBLING_TYPE_INVALID = 'previous_sibling_type_invalid';

@@ -37,8 +43,14 @@ exports.CHILD_OBJECT_INVALID = CHILD_OBJECT_INVALID;

exports.LAST_CHILD_TYPE_INVALID = LAST_CHILD_TYPE_INVALID;
exports.NEXT_SIBLING_OBJECT_INVALID = NEXT_SIBLING_OBJECT_INVALID;
exports.NEXT_SIBLING_TYPE_INVALID = NEXT_SIBLING_TYPE_INVALID;
exports.NODE_DATA_INVALID = NODE_DATA_INVALID;
exports.NODE_IS_VOID_INVALID = NODE_IS_VOID_INVALID;
exports.NODE_MARK_INVALID = NODE_MARK_INVALID;
exports.NODE_OBJECT_INVALID = NODE_OBJECT_INVALID;
exports.NODE_TEXT_INVALID = NODE_TEXT_INVALID;
exports.NODE_TYPE_INVALID = NODE_TYPE_INVALID;
exports.PARENT_OBJECT_INVALID = PARENT_OBJECT_INVALID;
exports.PARENT_TYPE_INVALID = PARENT_TYPE_INVALID;
exports.PREVIOUS_SIBLING_OBJECT_INVALID = PREVIOUS_SIBLING_OBJECT_INVALID;
exports.PREVIOUS_SIBLING_TYPE_INVALID = PREVIOUS_SIBLING_TYPE_INVALID;

@@ -45,0 +57,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

2

dist/slate-schema-violations.min.js

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

!function(_,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(_.SlateSchemaViolations={})}(this,function(_){"use strict";_.CHILD_OBJECT_INVALID="child_object_invalid",_.CHILD_REQUIRED="child_required",_.CHILD_TYPE_INVALID="child_type_invalid",_.CHILD_UNKNOWN="child_unknown",_.FIRST_CHILD_OBJECT_INVALID="first_child_object_invalid",_.FIRST_CHILD_TYPE_INVALID="first_child_type_invalid",_.LAST_CHILD_OBJECT_INVALID="last_child_object_invalid",_.LAST_CHILD_TYPE_INVALID="last_child_type_invalid",_.NODE_DATA_INVALID="node_data_invalid",_.NODE_IS_VOID_INVALID="node_is_void_invalid",_.NODE_MARK_INVALID="node_mark_invalid",_.NODE_TEXT_INVALID="node_text_invalid",_.PARENT_OBJECT_INVALID="parent_object_invalid",_.PARENT_TYPE_INVALID="parent_type_invalid",Object.defineProperty(_,"__esModule",{value:!0})});
!function(_,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(_.SlateSchemaViolations={})}(this,function(_){"use strict";_.CHILD_OBJECT_INVALID="child_object_invalid",_.CHILD_REQUIRED="child_required",_.CHILD_TYPE_INVALID="child_type_invalid",_.CHILD_UNKNOWN="child_unknown",_.FIRST_CHILD_OBJECT_INVALID="first_child_object_invalid",_.FIRST_CHILD_TYPE_INVALID="first_child_type_invalid",_.LAST_CHILD_OBJECT_INVALID="last_child_object_invalid",_.LAST_CHILD_TYPE_INVALID="last_child_type_invalid",_.NEXT_SIBLING_OBJECT_INVALID="next_sibling_object_invalid",_.NEXT_SIBLING_TYPE_INVALID="next_sibling_type_invalid",_.NODE_DATA_INVALID="node_data_invalid",_.NODE_IS_VOID_INVALID="node_is_void_invalid",_.NODE_MARK_INVALID="node_mark_invalid",_.NODE_OBJECT_INVALID="node_object_invalid",_.NODE_TEXT_INVALID="node_text_invalid",_.NODE_TYPE_INVALID="node_type_invalid",_.PARENT_OBJECT_INVALID="parent_object_invalid",_.PARENT_TYPE_INVALID="parent_type_invalid",_.PREVIOUS_SIBLING_OBJECT_INVALID="previous_sibling_object_invalid",_.PREVIOUS_SIBLING_TYPE_INVALID="previous_sibling_type_invalid",Object.defineProperty(_,"__esModule",{value:!0})});

@@ -15,10 +15,16 @@ /**

var LAST_CHILD_TYPE_INVALID = 'last_child_type_invalid';
var NEXT_SIBLING_OBJECT_INVALID = 'next_sibling_object_invalid';
var NEXT_SIBLING_TYPE_INVALID = 'next_sibling_type_invalid';
var NODE_DATA_INVALID = 'node_data_invalid';
var NODE_IS_VOID_INVALID = 'node_is_void_invalid';
var NODE_MARK_INVALID = 'node_mark_invalid';
var NODE_OBJECT_INVALID = 'node_object_invalid';
var NODE_TEXT_INVALID = 'node_text_invalid';
var NODE_TYPE_INVALID = 'node_type_invalid';
var PARENT_OBJECT_INVALID = 'parent_object_invalid';
var PARENT_TYPE_INVALID = 'parent_type_invalid';
var PREVIOUS_SIBLING_OBJECT_INVALID = 'previous_sibling_object_invalid';
var PREVIOUS_SIBLING_TYPE_INVALID = 'previous_sibling_type_invalid';
export { CHILD_OBJECT_INVALID, CHILD_REQUIRED, CHILD_TYPE_INVALID, CHILD_UNKNOWN, FIRST_CHILD_OBJECT_INVALID, FIRST_CHILD_TYPE_INVALID, LAST_CHILD_OBJECT_INVALID, LAST_CHILD_TYPE_INVALID, NODE_DATA_INVALID, NODE_IS_VOID_INVALID, NODE_MARK_INVALID, NODE_TEXT_INVALID, PARENT_OBJECT_INVALID, PARENT_TYPE_INVALID };
export { CHILD_OBJECT_INVALID, CHILD_REQUIRED, CHILD_TYPE_INVALID, CHILD_UNKNOWN, FIRST_CHILD_OBJECT_INVALID, FIRST_CHILD_TYPE_INVALID, LAST_CHILD_OBJECT_INVALID, LAST_CHILD_TYPE_INVALID, NEXT_SIBLING_OBJECT_INVALID, NEXT_SIBLING_TYPE_INVALID, NODE_DATA_INVALID, NODE_IS_VOID_INVALID, NODE_MARK_INVALID, NODE_OBJECT_INVALID, NODE_TEXT_INVALID, NODE_TYPE_INVALID, PARENT_OBJECT_INVALID, PARENT_TYPE_INVALID, PREVIOUS_SIBLING_OBJECT_INVALID, PREVIOUS_SIBLING_TYPE_INVALID };
//# sourceMappingURL=slate-schema-violations.es.js.map

@@ -19,8 +19,14 @@ 'use strict';

var LAST_CHILD_TYPE_INVALID = 'last_child_type_invalid';
var NEXT_SIBLING_OBJECT_INVALID = 'next_sibling_object_invalid';
var NEXT_SIBLING_TYPE_INVALID = 'next_sibling_type_invalid';
var NODE_DATA_INVALID = 'node_data_invalid';
var NODE_IS_VOID_INVALID = 'node_is_void_invalid';
var NODE_MARK_INVALID = 'node_mark_invalid';
var NODE_OBJECT_INVALID = 'node_object_invalid';
var NODE_TEXT_INVALID = 'node_text_invalid';
var NODE_TYPE_INVALID = 'node_type_invalid';
var PARENT_OBJECT_INVALID = 'parent_object_invalid';
var PARENT_TYPE_INVALID = 'parent_type_invalid';
var PREVIOUS_SIBLING_OBJECT_INVALID = 'previous_sibling_object_invalid';
var PREVIOUS_SIBLING_TYPE_INVALID = 'previous_sibling_type_invalid';

@@ -35,8 +41,14 @@ exports.CHILD_OBJECT_INVALID = CHILD_OBJECT_INVALID;

exports.LAST_CHILD_TYPE_INVALID = LAST_CHILD_TYPE_INVALID;
exports.NEXT_SIBLING_OBJECT_INVALID = NEXT_SIBLING_OBJECT_INVALID;
exports.NEXT_SIBLING_TYPE_INVALID = NEXT_SIBLING_TYPE_INVALID;
exports.NODE_DATA_INVALID = NODE_DATA_INVALID;
exports.NODE_IS_VOID_INVALID = NODE_IS_VOID_INVALID;
exports.NODE_MARK_INVALID = NODE_MARK_INVALID;
exports.NODE_OBJECT_INVALID = NODE_OBJECT_INVALID;
exports.NODE_TEXT_INVALID = NODE_TEXT_INVALID;
exports.NODE_TYPE_INVALID = NODE_TYPE_INVALID;
exports.PARENT_OBJECT_INVALID = PARENT_OBJECT_INVALID;
exports.PARENT_TYPE_INVALID = PARENT_TYPE_INVALID;
exports.PREVIOUS_SIBLING_OBJECT_INVALID = PREVIOUS_SIBLING_OBJECT_INVALID;
exports.PREVIOUS_SIBLING_TYPE_INVALID = PREVIOUS_SIBLING_TYPE_INVALID;
//# sourceMappingURL=slate-schema-violations.js.map
{
"name": "slate-schema-violations",
"description": "A set of constants for the built-in violations in a Slate schema.",
"version": "0.1.21",
"version": "0.1.22",
"license": "MIT",

@@ -17,3 +17,3 @@ "repository": "git://github.com/ianstormtaylor/slate.git",

"mocha": "^2.5.3",
"slate": "^0.35.0"
"slate": "^0.36.0"
},

@@ -20,0 +20,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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