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

slate-hyperscript

Package Overview
Dependencies
Maintainers
1
Versions
393
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slate-hyperscript - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

3

lib/index.js

@@ -357,3 +357,2 @@ 'use strict';

exports.default = createHyperscript();
exports.createHyperscript = createHyperscript;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJBTkNIT1IiLCJDVVJTT1IiLCJGT0NVUyIsIkNSRUFUT1JTIiwiYW5jaG9yIiwidGFnTmFtZSIsImF0dHJpYnV0ZXMiLCJjaGlsZHJlbiIsImJsb2NrIiwiY3JlYXRlIiwibm9kZXMiLCJjcmVhdGVDaGlsZHJlbiIsImN1cnNvciIsImRvY3VtZW50IiwiZm9jdXMiLCJpbmxpbmUiLCJtYXJrIiwibWFya3MiLCJjcmVhdGVTZXQiLCJzZWxlY3Rpb24iLCJzdGF0ZSIsImRhdGEiLCJmaW5kIiwiaXNEb2N1bWVudCIsImlzU2VsZWN0aW9uIiwicHJvcHMiLCJnZXRUZXh0cyIsImZvckVhY2giLCJ0ZXh0IiwiX19hbmNob3IiLCJhbmNob3JLZXkiLCJrZXkiLCJhbmNob3JPZmZzZXQiLCJpc0ZvY3VzZWQiLCJfX2ZvY3VzIiwiZm9jdXNLZXkiLCJmb2N1c09mZnNldCIsIkVycm9yIiwibWVyZ2UiLCJub3JtYWxpemUiLCJjcmVhdGVIeXBlcnNjcmlwdCIsIm9wdGlvbnMiLCJjcmVhdG9ycyIsInJlc29sdmVDcmVhdG9ycyIsImNyZWF0b3IiLCJjb25jYXQiLCJmaWx0ZXIiLCJCb29sZWFuIiwiY2hpbGQiLCJyZWR1Y2UiLCJtZW1vIiwiZWxlbWVudCIsIm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XRlcyxcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICByZXR1cm4gQ1JFQVRPUlMubWFyayh0YWdOYW1lLCBhdHRycywgY2hpbGRyZW4pXG4gICAgfVxuICB9XG5cbiAgdGhyb3cgbmV3IEVycm9yKGBTbGF0ZSBoeXBlcnNjcmlwdCBtYXJrIGNyZWF0b3JzIGNhbiBiZSBlaXRoZXIgZnVuY3Rpb25zLCBvYmplY3RzIG9yIHN0cmluZ3MsIGJ1dCB5b3UgcGFzc2VkOiAke3ZhbHVlfWApXG59XG5cbi8qKlxuICogRXhwb3J0LlxuICpcbiAqIEB0eXBlIHtGdW5jdGlvbn1cbiAqL1xuXG5leHBvcnQgZGVmYXVsdCBjcmVhdGVIeXBlcnNjcmlwdCgpXG5leHBvcnQgeyBjcmVhdGVIeXBlcnNjcmlwdCB9XG4iXX0=
exports.createHyperscript = createHyperscript;
{
"name": "slate-hyperscript",
"description": "A hyperscript helper for creating Slate documents.",
"version": "0.1.7",
"version": "0.1.8",
"license": "MIT",

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

"peerDependencies": {
"slate": "^0.25.0"
"slate": "^0.25.1"
},

@@ -20,3 +20,3 @@ "devDependencies": {

"mocha": "^2.5.3",
"slate": "^0.25.0",
"slate": "^0.25.1",
"uglify-js": "^2.7.0"

@@ -23,0 +23,0 @@ },

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