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

@salesforce/ts-types

Package Overview
Dependencies
Maintainers
48
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/ts-types - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

10

lib/types/collection.d.ts

@@ -11,10 +11,9 @@ /**

*/
export interface Dictionary<T = unknown> {
export type Dictionary<T = unknown> = {
[key: string]: Optional<T>;
}
};
/**
* An alias for an array of `T` elements, where `T` defaults to `unknown`.
*/
export interface AnyArray<T = unknown> extends Array<T> {
}
export type AnyArray<T = unknown> = T[];
/**

@@ -24,3 +23,2 @@ * Any object with both a numeric index signature with values of type `T` and a numeric `length`

*/
export interface AnyArrayLike<T = unknown> extends ArrayLike<T> {
}
export type AnyArrayLike<T = unknown> = ArrayLike<T>;

3

lib/types/json.d.ts

@@ -25,3 +25,2 @@ /**

*/
export interface JsonArray extends Array<AnyJson> {
}
export type JsonArray = AnyJson[];

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

Copyright (c) 2023, Salesforce.com, Inc.
Copyright (c) 2024, Salesforce.com, Inc.
All rights reserved.

@@ -3,0 +3,0 @@

{
"name": "@salesforce/ts-types",
"version": "2.0.9",
"version": "2.0.10",
"description": "Types and related utilities for TypeScript",

@@ -11,3 +11,3 @@ "main": "lib/index.js",

"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -20,3 +20,2 @@ "files": [

"build": "wireit",
"ci-docs": "yarn sf-ci-docs",
"clean": "sf-clean",

@@ -27,2 +26,3 @@ "clean-all": "sf-clean all",

"format": "wireit",
"link-check": "wireit",
"lint": "wireit",

@@ -34,30 +34,7 @@ "prepack": "sf-prepack",

},
"dependencies": {
"tslib": "^2.6.2"
},
"dependencies": {},
"devDependencies": {
"@salesforce/dev-config": "^4.0.1",
"@salesforce/dev-scripts": "^5.11.0",
"@salesforce/prettier-config": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chai": "^4.3.10",
"eslint": "^8.51.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-salesforce": "^2.0.2",
"eslint-config-salesforce-license": "^0.2.0",
"eslint-config-salesforce-typescript": "^1.1.2",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jsdoc": "^43.2.0",
"eslint-plugin-prefer-arrow": "^1.2.1",
"husky": "^7.0.4",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.0",
"sinon": "10.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.9.5",
"wireit": "^0.14.0"
"@salesforce/dev-scripts": "^10.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},

@@ -117,3 +94,4 @@ "wireit": {

"test:only",
"test:compile"
"test:compile",
"link-check"
]

@@ -135,4 +113,13 @@ },

"output": []
},
"link-check": {
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
"files": [
"./*.md",
"./!(CHANGELOG).md",
"messages/**/*.md"
],
"output": []
}
}
}
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