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

@nteract/types

Package Overview
Dependencies
Maintainers
8
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nteract/types - npm Package Compare versions

Comparing version 1.3.0 to 1.3.3

23

core/plan.md

@@ -58,5 +58,5 @@ This document attempts to specify the goal for an nteract core package that can

type state = {
// The top level of core state can be considered a notebook, but we formalize
// that by nesting it under `notebook`..
notebook: {
// The top level of core state can be considered a entry (which can be a
// "notebook", "directory", or plain "file").
app: {
// On desktop we'll have the one built-in local host that connects to

@@ -67,5 +67,3 @@ // zeromq directly. On jupyterhub backed apps, you'll be able to switch to

hostRefs: Array<Ref>,
lastSaved: Date
// TODO: language information? Does this belong at the notebook level?
selectedContentRef: Ref
},

@@ -234,6 +232,13 @@

created: Date,
last_modified: Date,
lastSaved: Date,
modified: boolean,
writable: bool,
format: null | "json" | "text" | "base64" // "json" for dir / nb
content: ?Array<Ref> | string // Array<Ref> is for directory-type
format: null | "json" | "text" | "base64", // "json" for dir / nb
// The model is a little confusing. Think of it as the in-memory, app
// version of the content string that you get back from the contents
// api. So, for a plain file, which we don't necessarily know how to
// handle, the model will just be a string still. However, for a
// notebook, we basically flesh out all the references to cells in
// here.
model: ?Object, // null | DirectoryModel | NotebookModel | FileModel
}

@@ -240,0 +245,0 @@ }

{
"name": "@nteract/types",
"version": "1.3.0",
"version": "1.3.3",
"description": "collection of types for nteract components",

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

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