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

yjs

Package Overview
Dependencies
Maintainers
1
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yjs - npm Package Compare versions

Comparing version 12.0.3 to 12.0.4

testing/000011.ldb

2

dist/bower.json
{
"name": "yjs",
"version": "12.0.3",
"version": "12.0.4",
"homepage": "y-js.org",

@@ -5,0 +5,0 @@ "authors": [

{
"name": "yjs",
"version": "12.0.3",
"version": "12.0.4",
"description": "A framework for real-time p2p shared editing on any data",

@@ -5,0 +5,0 @@ "main": "./src/y.js",

@@ -40,4 +40,4 @@ /* @flow */

Y.requestModules = requestModules
function requestModules (modules, sourceDir) {
sourceDir = sourceDir || '/bower_components'
function requestModules (modules) {
var sourceDir = Y.sourceDir || '/bower_components'
// determine if this module was compiled for es5 or es6 (y.js vs. y.es6)

@@ -107,2 +107,5 @@ // if Insert.execute is a Function, then it isnt a generator..

function Y (opts/* :YOptions */) /* :Promise<YConfig> */ {
if (opts.sourceDir != null) {
Y.sourceDir = opts.sourceDir
}
opts.types = opts.types != null ? opts.types : []

@@ -115,3 +118,3 @@ var modules = [opts.db.name, opts.connector.name].concat(opts.types)

setTimeout(function () {
Y.requestModules(modules, opts.sourceDir).then(function () {
Y.requestModules(modules).then(function () {
if (opts == null) reject('An options object is expected! ')

@@ -118,0 +121,0 @@ else if (opts.connector == null) reject('You must specify a connector! (missing connector property)')

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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