New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@casual-simulation/aux-common

Package Overview
Dependencies
Maintainers
2
Versions
473
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casual-simulation/aux-common - npm Package Compare versions

Comparing version 0.9.3 to 0.9.5

8

Files/File.d.ts

@@ -51,4 +51,4 @@ export declare type PartialFile = Partial<File>;

['aux.channel']?: string;
['aux.mergeBall']?: unknown;
['aux.mergeBall.tags']?: unknown;
['aux.mod']?: unknown;
['aux.mod.tags']?: unknown;
['aux.creator']?: string;

@@ -106,5 +106,5 @@ ['aux._selection']?: string;

* "drag" means that the file should be able to be dragged within a context but not across contexts.
* "mergeBall" means that the file should be cloned as a diff when dragged.
* "mods" means that the file should be cloned as a diff when dragged.
*/
export declare type FileDragMode = 'all' | 'none' | 'clone' | 'pickup' | 'drag' | 'mergeBall';
export declare type FileDragMode = 'all' | 'none' | 'clone' | 'pickup' | 'drag' | 'mod';
/**

@@ -111,0 +111,0 @@ * Defines the possible anchor positions for a label.

@@ -95,3 +95,3 @@ /**

'aux.movable',
'aux.movable.mergeBall.tags',
'aux.movable.mod.tags',
'aux.stackable',

@@ -98,0 +98,0 @@ 'aux.mergable',

@@ -643,2 +643,12 @@ import { Object, File, Workspace, AuxDomain, UserMode, SelectionMode, FileShape, FileTags, FileLabelAnchor, FileDragMode, ContextVisualizeMode } from './File';

/**
* Gets the rotation that the context should be at using the given file.
* @param calc The calculation context to use.
* @param contextFile The file that represents the context.
*/
export declare function getContextRotation(calc: FileCalculationContext, contextFile: File): {
x: number;
y: number;
z: number;
};
/**
* Gets whether the context is minimized.

@@ -766,3 +776,3 @@ * @param calc The calculation context to use.

* Gets a partial file that can be used to apply the diff that the given file represents.
* A diff file is any file that has `aux.mergeBall` set to `true` and `aux.mergeBall.tags` set to a list of tag names.
* A diff file is any file that has `aux.mod` set to `true` and `aux.mod.tags` set to a list of tag names.
* @param calc The file calculation context.

@@ -769,0 +779,0 @@ * @param file The file that represents the diff.

@@ -309,3 +309,3 @@ import { File, FileTags } from '../Files/File';

*/
export declare const tags: {
export declare const mod: {
addToContext: typeof addToContextDiff;

@@ -318,3 +318,2 @@ removeFromContext: typeof removeFromContextDiff;

export: typeof saveDiff;
remove: typeof removeTags;
apply: typeof applyDiff;

@@ -370,3 +369,3 @@ };

};
tags: {
mod: {
addToContext: typeof addToContextDiff;

@@ -379,3 +378,2 @@ removeFromContext: typeof removeFromContextDiff;

export: typeof saveDiff;
remove: typeof removeTags;
apply: typeof applyDiff;

@@ -428,4 +426,5 @@ };

setTag: typeof setTag;
removeTags: typeof removeTags;
};
export default _default;
//# sourceMappingURL=formula-lib.d.ts.map

@@ -846,3 +846,3 @@ import { GLOBALS_FILE_ID } from '../Files/File';

*/
export const tags = {
export const mod = {
addToContext: addToContextDiff,

@@ -855,3 +855,2 @@ removeFromContext: removeFromContextDiff,

export: saveDiff,
remove: removeTags,
apply: applyDiff,

@@ -905,3 +904,3 @@ };

data,
tags,
mod,
math,

@@ -925,3 +924,4 @@ player,

setTag,
removeTags,
};
//# sourceMappingURL=formula-lib.js.map
{
"name": "@casual-simulation/aux-common",
"version": "0.9.3",
"version": "0.9.5",
"description": "Common library for AUX projects",

@@ -56,3 +56,3 @@ "main": "index.js",

],
"gitHead": "242f4665e6e94aee507dd8a88a6b9f6985cb81e5"
"gitHead": "3e857ab269a5c6d51c66e2a42eb6dd2d3f1b579a"
}

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

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