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

sprotty-protocol

Package Overview
Dependencies
Maintainers
5
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sprotty-protocol - npm Package Compare versions

Comparing version 0.15.0-next.25ffc24.11 to 0.15.0-next.28dc7b8.23

36

package.json
{
"name": "sprotty-protocol",
"version": "0.15.0-next.25ffc24.11+25ffc24",
"version": "0.15.0-next.28dc7b8.23+28dc7b8",
"description": "TypeScript declarations for Sprotty to be used both in browser and Node.js context",

@@ -14,32 +14,17 @@ "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",

],
"homepage": "https://github.com/eclipse/sprotty",
"bugs": "https://github.com/eclipse/sprotty/issues",
"homepage": "https://github.com/eclipse-sprotty/sprotty",
"bugs": "https://github.com/eclipse-sprotty/sprotty/issues",
"author": {
"name": "Eclipse Sprotty"
},
"contributors": [
{
"name": "Miro Spönemann",
"email": "miro.spoenemann@typefox.io",
"url": "https://www.typefox.io"
}
],
"repository": {
"type": "git",
"url": "https://github.com/eclipse/sprotty",
"url": "https://github.com/eclipse-sprotty/sprotty",
"directory": "packages/sprotty-protocol"
},
"devDependencies": {
"@types/mocha": "^10.0.2",
"chai": "^4.3.10",
"mocha": "^10.2.0",
"ts-mocha": "^10.0.0"
},
"scripts": {
"prepare": "yarn run clean && yarn run build",
"clean": "rimraf lib artifacts",
"build": "tsc -p ./tsconfig.json && yarn run lint",
"watch": "tsc -w -p ./tsconfig.json",
"lint": "eslint -c ../../configs/.eslintrc.js \"src/**/!(*.spec.ts*)\"",
"test": "ts-mocha \"./src/**/*.spec.?(ts|tsx)\""
"clean": "shx rm -fr lib artifacts *.tsbuildinfo",
"build": "tsc",
"watch": "tsc --watch",
"test": "vitest run --config ../../vite.config.ts"
},

@@ -52,6 +37,3 @@ "files": [

"types": "lib/index",
"eslintIgnore": [
"src/**/*.spec.?(ts|tsx)"
],
"gitHead": "25ffc249802253321da5084994280ed44229804d"
"gitHead": "28dc7b89cd6a7f450847b2a1a09b8409016950af"
}

@@ -17,4 +17,3 @@ /********************************************************************************

import 'mocha';
import { expect } from 'chai';
import { expect, describe, it } from 'vitest';
import { Action, ComputedBoundsAction, RequestBoundsAction, RequestModelAction, SetModelAction } from './actions';

@@ -38,3 +37,3 @@ import { DiagramServer } from './diagram-server';

}
}
};
next();

@@ -54,3 +53,3 @@ });

async a => {
dispatched.push(a)
dispatched.push(a);
}, {

@@ -183,5 +182,5 @@ DiagramGenerator: {

const { server, actionHandlerRegistry, dispatched } = createServer();
actionHandlerRegistry.onAction('foo', (_, state, server) => {
actionHandlerRegistry.onAction('foo', (_, state, serverHandler) => {
state.revision = -7;
server.dispatch({ kind: 'bar' });
serverHandler.dispatch({ kind: 'bar' });
return Promise.resolve();

@@ -197,5 +196,5 @@ });

const { server, actionHandlerRegistry, dispatched } = createServer();
const handler: ServerActionHandler = (_, state, server) => {
const handler: ServerActionHandler = (_, state, serverHandler) => {
state.revision = -7;
server.dispatch({ kind: 'bar' });
serverHandler.dispatch({ kind: 'bar' });
return Promise.resolve();

@@ -202,0 +201,0 @@ };

@@ -17,4 +17,3 @@ /********************************************************************************

import "mocha";
import { expect } from "chai";
import { expect, describe, it } from 'vitest';
import { SModelRoot } from './model';

@@ -21,0 +20,0 @@ import { SModelIndex } from './utils/model-utils';

@@ -17,4 +17,3 @@ /********************************************************************************

import { Deferred } from "./async";
import "mocha";
import { expect } from "chai";
import { expect, describe, it } from 'vitest';

@@ -21,0 +20,0 @@ describe('Deferred', () => {

@@ -17,4 +17,3 @@ /********************************************************************************

import "mocha";
import { expect } from "chai";
import { expect, describe, it } from 'vitest';
import { almostEquals, Bounds, angleBetweenPoints, Point } from "./geometry";

@@ -21,0 +20,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