Socket
Socket
Sign inDemoInstall

@operato/scene-random

Package Overview
Dependencies
Maintainers
4
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@operato/scene-random - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

10

CHANGELOG.md

@@ -6,2 +6,12 @@ # Change Log

### [0.0.17](https://github.com/things-scene/operato-scene/compare/v0.0.16...v0.0.17) (2021-12-11)
### :bug: Bug Fix
* random control editor placeholder type ([ce10841](https://github.com/things-scene/operato-scene/commit/ce1084159260d5084249e5f5d1ec689cd1773ae2))
* upgrade operato to 0.2.45 ([0032bad](https://github.com/things-scene/operato-scene/commit/0032bad0914e7fd7eae5e8cc1574df20ce7cb851))
### [0.0.16](https://github.com/things-scene/operato-scene/compare/v0.0.15...v0.0.16) (2021-12-09)

@@ -8,0 +18,0 @@

11

dist/random.d.ts

@@ -36,8 +36,2 @@ import { Shape } from '@hatiolab/things-scene';

name: string;
placeholder: number;
property?: undefined;
} | {
type: string;
label: string;
name: string;
placeholder: string;

@@ -49,7 +43,2 @@ property?: undefined;

}
export declare const X: {
new (...args: any[]): {
timestamp: number;
};
} & typeof Random;
export {};

11

dist/random.js

@@ -32,3 +32,3 @@ import { Component, RectPath, ScriptLoader, Shape, error } from '@hatiolab/things-scene';

name: 'count',
placeholder: 1
placeholder: '1'
},

@@ -115,11 +115,2 @@ {

Component.register('random', Random);
function Timestamped(Base) {
return class extends Base {
constructor() {
super(...arguments);
this.timestamp = Date.now();
}
};
}
export const X = Timestamped(Random);
//# sourceMappingURL=random.js.map

@@ -6,3 +6,3 @@ {

"author": "heartyoh",
"version": "0.0.16",
"version": "0.0.17",
"main": "dist/index.js",

@@ -30,7 +30,7 @@ "module": "dist/index.js",

"dependencies": {
"@hatiolab/things-scene": "^2.7.25"
"@hatiolab/things-scene": "^2.7.26"
},
"devDependencies": {
"@hatiolab/prettier-config": "^1.0.0",
"@operato/board": "^0.2.44",
"@operato/board": "^0.2.45",
"@things-factory/builder": "^4.0.12",

@@ -63,3 +63,3 @@ "@things-factory/operato-board": "^4.0.12",

},
"gitHead": "29382f4c11826d2e6514c545ab4d7b4d2f3bbf0d"
"gitHead": "73c1f297d63e6a7c92516c206bcce3f5310c77ee"
}

@@ -34,3 +34,3 @@ import { Component, RectPath, ScriptLoader, Shape, error } from '@hatiolab/things-scene'

name: 'count',
placeholder: 1
placeholder: '1'
},

@@ -142,11 +142,1 @@ {

Component.register('random', Random)
type Constructor<T = {}> = new (...args: any[]) => T
function Timestamped<TBase extends Constructor>(Base: TBase) {
return class extends Base {
timestamp = Date.now()
}
}
export const X = Timestamped(Random)

Sorry, the diff of this file is not supported yet

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