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

@visactor/vgrammar-util

Package Overview
Dependencies
Maintainers
15
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visactor/vgrammar-util - npm Package Compare versions

Comparing version 0.14.0-alpha.3 to 0.14.0-alpha.4

9

cjs/accessors.d.ts

@@ -1,7 +0,2 @@

export declare const id: any;
export declare const identity: any;
export declare const zero: any;
export declare const one: any;
export declare const truthy: any;
export declare const falsy: any;
export declare const emptyObject: any;
export declare const identity: (_: any) => any;
export declare const zero: (_: any) => number;

@@ -5,19 +5,11 @@ "use strict";

value: !0
}), exports.emptyObject = exports.falsy = exports.truthy = exports.one = exports.zero = exports.identity = exports.id = void 0;
}), exports.zero = exports.identity = void 0;
const accessor_1 = require("./accessor"), field_1 = require("./field");
const identity = _ => _;
exports.id = (0, field_1.field)("id"), exports.identity = (0, accessor_1.accessor)((function(_) {
return _;
}), [], "identity"), exports.zero = (0, accessor_1.accessor)((function() {
return 0;
}), [], "zero"), exports.one = (0, accessor_1.accessor)((function() {
return 1;
}), [], "one"), exports.truthy = (0, accessor_1.accessor)((function() {
return !0;
}), [], "true"), exports.falsy = (0, accessor_1.accessor)((function() {
return !1;
}), [], "false"), exports.emptyObject = (0, accessor_1.accessor)((function() {
return {};
}), [], "emptyObject");
exports.identity = identity;
const zero = _ => 0;
exports.zero = zero;
//# sourceMappingURL=accessors.js.map
export { accessor, accessorName, accessorFields } from './accessor';
export { getter } from './getter';
export { id, identity, zero, one, truthy, falsy, emptyObject } from './accessors';
export { identity, zero } from './accessors';
export { compare, ascending } from './compare';

@@ -8,3 +8,2 @@ export { error } from './error';

export { field } from './field';
export { isEqual } from './isEqual';
export { splitAccessPath } from './splitAccessPath';

@@ -11,0 +10,0 @@ export { toPercent } from './toPercent';

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

value: !0
}), exports.parseViewBox = exports.regressionLinear = exports.toPercent = exports.splitAccessPath = exports.isEqual = exports.field = exports.extent = exports.error = exports.ascending = exports.compare = exports.emptyObject = exports.falsy = exports.truthy = exports.one = exports.zero = exports.identity = exports.id = exports.getter = exports.accessorFields = exports.accessorName = exports.accessor = void 0;
}), exports.parseViewBox = exports.regressionLinear = exports.toPercent = exports.splitAccessPath = exports.field = exports.extent = exports.error = exports.ascending = exports.compare = exports.zero = exports.identity = exports.getter = exports.accessorFields = exports.accessorName = exports.accessor = void 0;

@@ -53,10 +53,5 @@ var accessor_1 = require("./accessor");

Object.defineProperty(exports, "id", {
Object.defineProperty(exports, "identity", {
enumerable: !0,
get: function() {
return accessors_1.id;
}
}), Object.defineProperty(exports, "identity", {
enumerable: !0,
get: function() {
return accessors_1.identity;

@@ -69,22 +64,2 @@ }

}
}), Object.defineProperty(exports, "one", {
enumerable: !0,
get: function() {
return accessors_1.one;
}
}), Object.defineProperty(exports, "truthy", {
enumerable: !0,
get: function() {
return accessors_1.truthy;
}
}), Object.defineProperty(exports, "falsy", {
enumerable: !0,
get: function() {
return accessors_1.falsy;
}
}), Object.defineProperty(exports, "emptyObject", {
enumerable: !0,
get: function() {
return accessors_1.emptyObject;
}
});

@@ -133,11 +108,2 @@

var isEqual_1 = require("./isEqual");
Object.defineProperty(exports, "isEqual", {
enumerable: !0,
get: function() {
return isEqual_1.isEqual;
}
});
var splitAccessPath_1 = require("./splitAccessPath");

@@ -144,0 +110,0 @@

@@ -5,2 +5,3 @@ "use strict";

value: !0
});
});
//# sourceMappingURL=function.js.map

@@ -20,3 +20,2 @@ "use strict";

value: !0
}), __exportStar(require("./function"), exports), __exportStar(require("./wordcloud"), exports);
//# sourceMappingURL=index.js.map
}), __exportStar(require("./function"), exports), __exportStar(require("./wordcloud"), exports);

@@ -1,7 +0,2 @@

export declare const id: any;
export declare const identity: any;
export declare const zero: any;
export declare const one: any;
export declare const truthy: any;
export declare const falsy: any;
export declare const emptyObject: any;
export declare const identity: (_: any) => any;
export declare const zero: (_: any) => number;

@@ -1,30 +0,5 @@

import { accessor } from "./accessor";
export const identity = _ => _;
import { field } from "./field";
export const id = field("id");
export const identity = accessor((function(_) {
return _;
}), [], "identity");
export const zero = accessor((function() {
return 0;
}), [], "zero");
export const one = accessor((function() {
return 1;
}), [], "one");
export const truthy = accessor((function() {
return !0;
}), [], "true");
export const falsy = accessor((function() {
return !1;
}), [], "false");
export const emptyObject = accessor((function() {
return {};
}), [], "emptyObject");
//# sourceMappingURL=accessors.js.map
export const zero = _ => 0
//# sourceMappingURL=accessors.js.map
;
export { accessor, accessorName, accessorFields } from './accessor';
export { getter } from './getter';
export { id, identity, zero, one, truthy, falsy, emptyObject } from './accessors';
export { identity, zero } from './accessors';
export { compare, ascending } from './compare';

@@ -8,3 +8,2 @@ export { error } from './error';

export { field } from './field';
export { isEqual } from './isEqual';
export { splitAccessPath } from './splitAccessPath';

@@ -11,0 +10,0 @@ export { toPercent } from './toPercent';

@@ -5,3 +5,3 @@ export { accessor, accessorName, accessorFields } from "./accessor";

export { id, identity, zero, one, truthy, falsy, emptyObject } from "./accessors";
export { identity, zero } from "./accessors";

@@ -16,4 +16,2 @@ export { compare, ascending } from "./compare";

export { isEqual } from "./isEqual";
export { splitAccessPath } from "./splitAccessPath";

@@ -20,0 +18,0 @@

@@ -1,1 +0,2 @@

export { };
export { };
//# sourceMappingURL=function.js.map
export * from "./function";
export * from "./wordcloud";
//# sourceMappingURL=index.js.map
export * from "./wordcloud";
{
"name": "@visactor/vgrammar-util",
"version": "0.14.0-alpha.3",
"version": "0.14.0-alpha.4",
"description": "The common utils functions of VGrammar",

@@ -27,4 +27,4 @@ "keywords": [

"dependencies": {
"@visactor/vutils": "~0.18.10",
"@visactor/vrender-core": "0.19.19"
"@visactor/vutils": "~0.18.12",
"@visactor/vrender-core": "0.20.0-alpha.1"
},

@@ -42,6 +42,6 @@ "devDependencies": {

"@types/node": "*",
"@internal/bundler": "0.0.1",
"@internal/jest-config": "0.0.1",
"@internal/bundler": "0.0.1",
"@internal/ts-config": "0.0.1",
"@internal/eslint-config": "0.0.1"
"@internal/eslint-config": "0.0.1",
"@internal/ts-config": "0.0.1"
},

@@ -48,0 +48,0 @@ "publishConfig": {

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 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