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

@kizahasi/flocon-core

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kizahasi/flocon-core - npm Package Compare versions

Comparing version 0.20.0-beta.5 to 0.20.0-beta.6

9

dist/cjs/internal/stateManagers/main.js

@@ -38,3 +38,3 @@ "use strict";

}
operate(state) {
operateAsState(state) {
if (this.requiresReload) {

@@ -45,2 +45,7 @@ throw new Error('this.requiresReload === true');

}
// このメソッドは「operateAsStateを使えばよい」と判断して一時削除していたが、Operationを書いて適用させたいという場面が少なくなく、必要なapply関数もStateManager内部で保持しているため復帰させた。
operate(operation) {
const newState = this.params.apply({ state: this.uiState, operation });
this.operateAsState(newState);
}
post() {

@@ -88,2 +93,2 @@ if (this.requiresReload) {

exports.StateManager = StateManager;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC9zdGF0ZU1hbmFnZXJzL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQXNEO0FBbUJ0RCxNQUFhLFlBQVk7SUFJckIsWUFBb0MsTUFBa0Q7UUFBbEQsV0FBTSxHQUFOLE1BQU0sQ0FBNEM7UUFGOUUsb0JBQWUsR0FBRyxLQUFLLENBQUM7UUFHNUIsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLG1DQUFnQixDQUFxQixNQUFNLENBQUMsQ0FBQztJQUNqRSxDQUFDO0lBRUQsSUFBVyxTQUFTO1FBQ2hCLElBQUksSUFBSSxDQUFDLGNBQWMsRUFBRTtZQUNyQixPQUFPLEtBQUssQ0FBQztTQUNoQjtRQUNELE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQ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IHRvUG9zdCA9IHRoaXMuY29yZS5wb3N0KCk7XG4gICAgICAgIGlmICh0b1Bvc3QgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgfVxuICAgICAgICBsZXQgaXNPblBvc3RlZEV4ZWN1dGVkID0gZmFsc2U7XG4gICAgICAgIGNvbnN0IG9uUG9zdGVkID0gKG9uUG9zdGVkOiBPblBvc3RlZDxUT3BlcmF0aW9uPikgPT4ge1xuICAgICAgICAgICAgaWYgKGlzT25Qb3N0ZWRFeGVjdXRlZCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlzT25Qb3N0ZWRFeGVjdXRlZCA9IHRydWU7XG4gICAgICAgICAgICBzd2l0Y2ggKG9uUG9zdGVkLmlzU3VjY2Vzcykge1xuICAgICAgICAgICAgICAgIGNhc2UgdHJ1ZTpcbiAgICAgICAgICAgICAgICAgICAgaWYgKG9uUG9zdGVkLmlzSWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5lbmRQb3N0QXNJZChvblBvc3RlZC5yZXF1ZXN0SWQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5vbkdldChvblBvc3RlZC5yZXN1bHQsIG9uUG9zdGVkLnJldmlzaW9uVG8sIHRydWUpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgY2FzZSBmYWxzZTpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jb3JlLmNhbmNlbFBvc3QoKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIGNhc2UgbnVsbDpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcmVxdWlyZXNSZWxvYWQgPSB0cnVlO1x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ICAgICAgIGNvbnN0IG9uUG9zdGVkID0gKG9uUG9zdGVkOiBPblBvc3RlZDxUT3BlcmF0aW9uPikgPT4ge1xuICAgICAgICAgICAgaWYgKGlzT25Qb3N0ZWRFeGVjdXRlZCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlzT25Qb3N0ZWRFeGVjdXRlZCA9IHRydWU7XG4gICAgICAgICAgICBzd2l0Y2ggKG9uUG9zdGVkLmlzU3VjY2Vzcykge1xuICAgICAgICAgICAgICAgIGNhc2UgdHJ1ZTpcbiAgICAgICAgICAgICAgICAgICAgaWYgKG9uUG9zdGVkLmlzSWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5lbmRQb3N0QXNJZChvblBvc3RlZC5yZXF1ZXN0SWQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5vbkdldChvblBvc3RlZC5yZXN1bHQsIG9uUG9zdGVkLnJldmlzaW9uVG8sIHRydWUpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgY2FzZSBmYWxzZTpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jb3JlLmNhbmNlbFBvc3QoKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIGNhc2UgbnVsbDpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcmVxdWlyZXNSZWxvYWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG4gICAgICAgIHJldHVybiB7IC4uLnRvUG9zdCwgb25Qb3N0ZWQgfTtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVsb2FkKHsgc3RhdGUsIHJldmlzaW9uIH06IHsgc3RhdGU6IFRTdGF0ZTsgcmV2aXNpb246IG51bWJlciB9KTogdm9pZCB7XG4gICAgICAgIHRoaXMuY29yZSA9IG5ldyBTdGF0ZU1hbmFnZXJDb3JlPFRTdGF0ZSwgVE9wZXJhdGlvbj4oe1xuICAgICAgICAgICAgLi4udGhpcy5wYXJhbXMsXG4gICAgICAgICAgICByZXZpc2lvbjogcmV2aXNpb24sXG4gICAgICAgICAgICBzdGF0ZSxcbiAgICAgICAgfSk7XG4gICAgICAgIHRoaXMuX3JlcXVpcmVzUmVsb2FkID0gZmFsc2U7XG4gICAgfVxufVxuIl19

@@ -35,3 +35,3 @@ import { StateManagerCore } from './stateManagerCore';

}
operate(state) {
operateAsState(state) {
if (this.requiresReload) {

@@ -42,2 +42,7 @@ throw new Error('this.requiresReload === true');

}
// このメソッドは「operateAsStateを使えばよい」と判断して一時削除していたが、Operationを書いて適用させたいという場面が少なくなく、必要なapply関数もStateManager内部で保持しているため復帰させた。
operate(operation) {
const newState = this.params.apply({ state: this.uiState, operation });
this.operateAsState(newState);
}
post() {

@@ -84,2 +89,2 @@ if (this.requiresReload) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC9zdGF0ZU1hbmFnZXJzL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFtQnRELE1BQU0sT0FBTyxZQUFZO0lBSXJCLFlBQW9DLE1BQWtEO1FBQWxELFdBQU0sR0FBTixNQUFNLENBQTRDO1FBRjlFLG9CQUFlLEdBQUcsS0FBSyxDQUFDO1FBRzVCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxnQkFBZ0IsQ0FBcUIsTUFBTSxDQUFDLENBQUM7SUFDakUsQ0FB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2FkKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ3RoaXMucmVxdWlyZXNSZWxvYWQgPT09IHRydWUnKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHRvUG9zdCA9IHRoaXMuY29yZS5wb3N0KCk7XG4gICAgICAgIGlmICh0b1Bvc3QgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgfVxuICAgICAgICBsZXQgaXNPblBvc3RlZEV4ZWN1dGVkID0gZmFsc2U7XG4gICAgICAgIGNvbnN0IG9uUG9zdGVkID0gKG9uUG9zdGVkOiBPblBvc3RlZDxUT3BlcmF0aW9uPikgPT4ge1xuICAgICAgICAgICAgaWYgKGlzT25Qb3N0ZWRFeGVjdXRlZCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlzT25Qb3N0ZWRFeGVjdXRlZCA9IHRydWU7XG4gICAgICAgICAgICBzd2l0Y2ggKG9uUG9zdGVkLmlzU3VjY2Vzcykge1xuICAgICAgICAgICAgICAgIGNhc2UgdHJ1ZTpcbiAgICAgICAgICAgICAgICAgICAgaWYgKG9uUG9zdGVkLmlzSWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5lbmRQb3N0QXNJZChvblBvc3RlZC5yZXF1ZXN0SWQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5vbkdldChvblBvc3RlZC5yZXN1bHQsIG9uUG9zdGVkLnJldmlzaW9uVG8sIHRydWUpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgY2FzZSBmYWxzZTpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jb3JlLmNhbmNlbFBvc3QoKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIGNhc2UgbnVsbDpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcmVxdWlyZXNSZWxvYWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG4gICAgICAgIHJldHVybiB7IC4uLnRvUG9zdCwgb25Qb3N0ZWQgfTtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVsb2FkKHsgc3RhdGUsIHJldmlzaW9uIH06IHsgc3RhdGU6IFRTdGF0ZTsgcmV2aXNpb246IG51bWJlciB9KTogdm9pZCB7XG4gICAgICAgIHRoaXMuY29yZSA9IG5ldyBTdGF0ZU1hbmFnZXJDb3JlPFRTdGF0ZSwgVE9wZXJhdGlvbj4oe1xuICAgICAgICAgICAgLi4udGhpcy5wYXJhbXMsXG4gICAgICAgICAgICByZXZpc2lvbjogcmV2aXNpb24sXG4gICAgICAgICAgICBzdGF0ZSxcbiAgICAgICAgfSk7XG4gICAgICAgIHRoaXMuX3JlcXVpcmVzUmVsb2FkID0gZmFsc2U7XG4gICAgfVxufVxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcm5hbC9zdGF0ZU1hbmFnZXJzL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFtQnRELE1BQU0sT0FBTyxZQUFZO0lBSXJCLFlBQW9DLE1BQWtEO1FBQWxELFdBQU0sR0FBTixNQUFNLENBQTRDO1FBRjlFLG9CQUFlLEdBQUcsS0FBSyxDQUFDO1FBRzVCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxnQkFBZ0IsQ0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gICAgIGlmICh0b1Bvc3QgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgfVxuICAgICAgICBsZXQgaXNPblBvc3RlZEV4ZWN1dGVkID0gZmFsc2U7XG4gICAgICAgIGNvbnN0IG9uUG9zdGVkID0gKG9uUG9zdGVkOiBPblBvc3RlZDxUT3BlcmF0aW9uPikgPT4ge1xuICAgICAgICAgICAgaWYgKGlzT25Qb3N0ZWRFeGVjdXRlZCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlzT25Qb3N0ZWRFeGVjdXRlZCA9IHRydWU7XG4gICAgICAgICAgICBzd2l0Y2ggKG9uUG9zdGVkLmlzU3VjY2Vzcykge1xuICAgICAgICAgICAgICAgIGNhc2UgdHJ1ZTpcbiAgICAgICAgICAgICAgICAgICAgaWYgKG9uUG9zdGVkLmlzSWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5lbmRQb3N0QXNJZChvblBvc3RlZC5yZXF1ZXN0SWQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY29yZS5vbkdldChvblBvc3RlZC5yZXN1bHQsIG9uUG9zdGVkLnJldmlzaW9uVG8sIHRydWUpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgY2FzZSBmYWxzZTpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jb3JlLmNhbmNlbFBvc3QoKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIGNhc2UgbnVsbDpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcmVxdWlyZXNSZWxvYWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG4gICAgICAgIHJldHVybiB7IC4uLnRvUG9zdCwgb25Qb3N0ZWQgfTtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVsb2FkKHsgc3RhdGUsIHJldmlzaW9uIH06IHsgc3RhdGU6IFRTdGF0ZTsgcmV2aXNpb246IG51bWJlciB9KTogdm9pZCB7XG4gICAgICAgIHRoaXMuY29yZSA9IG5ldyBTdGF0ZU1hbmFnZXJDb3JlPFRTdGF0ZSwgVE9wZXJhdGlvbj4oe1xuICAgICAgICAgICAgLi4udGhpcy5wYXJhbXMsXG4gICAgICAgICAgICByZXZpc2lvbjogcmV2aXNpb24sXG4gICAgICAgICAgICBzdGF0ZSxcbiAgICAgICAgfSk7XG4gICAgICAgIHRoaXMuX3JlcXVpcmVzUmVsb2FkID0gZmFsc2U7XG4gICAgfVxufVxuIl19

@@ -25,3 +25,4 @@ import { StateManagerParameters } from './types';

onOtherClientsGet(operation: TOperation, revisionTo: number): void;
operate(state: TState): void;
operateAsState(state: TState): void;
operate(operation: TOperation): void;
post(): {

@@ -28,0 +29,0 @@ operationToPost: TOperation;

{
"version": "0.20.0-beta.5",
"version": "0.20.0-beta.6",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/cjs/index.js",

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