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

haystack-core

Package Overview
Dependencies
Maintainers
11
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haystack-core - npm Package Compare versions

Comparing version 2.0.21 to 2.0.22

42

dist/core/HNamespace.d.ts

@@ -535,2 +535,44 @@ import { HGrid } from './HGrid';

private get impliedDefs();
/**
* Validates a dict for a tag.
*
* ```
* try {
* namespace.validate('site', new HDict({ site: HMarker.make() }))
* }
* catch(err) {
* console.error(err)
* }
* ```
*
* @param name The name of the tag to validate.
* @param dict The dict to validate against.
* @throws An error if the tags on the dict are not valid.
*/
validate(name: string | HSymbol, dict: unknown): void;
/**
* Validates all of the tags on the dict. Any tags that don't exist in the namespcae
* will be skipped.
*
* ```
* try {
* namespace.validateAll(new HDict({ site: HMarker.make() }))
* }
* catch(err) {
* console.error(err)
* }
* ```
*
* @param dict The dict to validate.
* @throws An error if the tags on the dict are not valid.
*/
validateAll(dict: unknown): void;
/**
* Return true if the dict is valid for the specified tag.
*
* @param name The tag name.
* @param dict The dict to validate against.
* @returns true if the dict is valid.
*/
isValid(name: string | HSymbol, dict: unknown): boolean;
}

30

package.json

@@ -14,3 +14,3 @@ {

"email": "support@j2inn.com",
"version": "2.0.21",
"version": "2.0.22",
"module": "dist/index.es.js",

@@ -26,3 +26,3 @@ "main": "dist/index.js",

"lint": "eslint --ext .ts .",
"format": "eslint --ext .ts . --fix && prettier-eslint --show-different --write \"$(pwd)/**/*.ts\"",
"format": "prettier-eslint \"./**/*.ts\" --write",
"test": "jest",

@@ -49,9 +49,9 @@ "coverage": "jest --coverage",

"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.175",
"@types/lodash": "^4.14.176",
"@types/luxon": "^2.0.5",
"@types/moment-range": "^4.0.0",
"@types/moment-timezone": "^0.5.30",
"@types/node": "^16.10.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"copyfiles": "^2.4.1",

@@ -62,3 +62,3 @@ "eslint": "^7.32.0",

"http-server": "^13.0.2",
"jest": "^27.2.5",
"jest": "^27.3.1",
"lodash": "^4.17.21",

@@ -69,3 +69,3 @@ "luxon": "^2.0.2",

"moment-timezone": "^0.5.33",
"nodemon": "^2.0.13",
"nodemon": "^2.0.14",
"npm-dts": "^1.3.10",

@@ -77,12 +77,12 @@ "npm-dts-webpack-plugin": "^1.3.10",

"rimraf": "^3.0.2",
"rollup": "^2.58.0",
"ts-jest": "^27.0.5",
"rollup": "^2.59.0",
"ts-jest": "^27.0.7",
"ts-loader": "^9.2.6",
"ts-node": "^10.2.1",
"typedoc": "^0.22.5",
"typescript": "^4.4.3",
"ts-node": "^10.4.0",
"typedoc": "^0.22.7",
"typescript": "^4.4.4",
"typescript-eslint-parser": "^22.0.0",
"webpack": "^5.58.1",
"webpack-cli": "^4.9.0"
"webpack": "^5.61.0",
"webpack-cli": "^4.9.1"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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