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

@ts-type/package-dts

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-type/package-dts - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

21

CHANGELOG.md

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

## [2.0.3](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@2.0.2...@ts-type/package-dts@2.0.3) (2022-08-10)
### ✨ Features
* update type ([77b4883](https://github.com/bluelovers/ws-ts-type/commit/77b48836b48b2a12bf50470f07d4f8ae0bd8e582))
### 🛠 Build System
* **schema:** update schema ([a2be2e5](https://github.com/bluelovers/ws-ts-type/commit/a2be2e573c6d7aae4446c8495e784c1fecab383c))
### 📌 Dependencies
* update deps ([50b4a8d](https://github.com/bluelovers/ws-ts-type/commit/50b4a8dab38d41ccf29b194be76f9fb5673f8162))
## [2.0.2](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@2.0.1...@ts-type/package-dts@2.0.2) (2022-07-06)

@@ -8,0 +29,0 @@

22

lib/package-json/types.d.ts

@@ -6,7 +6,8 @@ /**

import { EnumPublishConfigRegistry } from './publishConfig';
export interface IDependency {
[name: string]: IVersionValue;
}
import { ITSArrayListMaybeReadonly } from 'ts-type/lib/type/base';
import { ITSValueOfArray, ITSValueOfRecord } from 'ts-type/lib/helper';
import { ITSTypeAndStringLiteral } from 'ts-type/lib/helper/string';
export declare type IDependency<T extends ITSArrayListMaybeReadonly<string> = string[]> = Record<ITSValueOfArray<T>, IVersionValue>;
export type { IDependency as IPackageMap };
export declare type IVersionValue = 'latest' | 'next' | '*' | string | EnumVersionValue | EnumVersionValue2;
export declare type IVersionValue = ITSTypeAndStringLiteral<EnumVersionValue.latest> | ITSTypeAndStringLiteral<EnumVersionValue2> | string;
export declare enum EnumVersionValue {

@@ -20,6 +21,13 @@ 'major' = "major",

export declare const enum EnumVersionValue2 {
any = "*"
any = "*",
latest = "latest",
next = "next",
beta = "beta",
canary = "canary",
stable = "stable",
dev = "dev"
}
export declare type IPackageJsonDependenciesField = 'dependencies' | 'devDependencies' | 'peerDependencies' | 'optionalDependencies';
export declare const packageJsonDependenciesFields: readonly ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"];
declare const packageJsonDependenciesFields: readonly ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"];
export { packageJsonDependenciesFields };
/**

@@ -40,3 +48,3 @@ * This is a set of config values that will be used at publish-time.

}
export declare type IPackageJsonTag = string | "next" | "beta" | "canary" | "stable" | "dev" | "latest";
export declare type IPackageJsonTag = string | ITSTypeAndStringLiteral<Exclude<ITSValueOfRecord<typeof EnumVersionValue2>, EnumVersionValue2.any>>;
export type { IReleaseType };

@@ -15,4 +15,10 @@ "use strict";

EnumVersionValue2["any"] = "*";
EnumVersionValue2["latest"] = "latest";
EnumVersionValue2["next"] = "next";
EnumVersionValue2["beta"] = "beta";
EnumVersionValue2["canary"] = "canary";
EnumVersionValue2["stable"] = "stable";
EnumVersionValue2["dev"] = "dev";
})(EnumVersionValue2 = exports.EnumVersionValue2 || (exports.EnumVersionValue2 = {}));
exports.packageJsonDependenciesFields = [
const packageJsonDependenciesFields = [
'dependencies',

@@ -23,2 +29,3 @@ 'devDependencies',

];
exports.packageJsonDependenciesFields = packageJsonDependenciesFields;
//# sourceMappingURL=types.js.map
{
"name": "@ts-type/package-dts",
"version": "2.0.2",
"version": "2.0.3",
"private": false,

@@ -64,4 +64,4 @@ "description": "A Typescript type definition for NPM package json",

"dependencies": {
"@types/semver": "^7.3.10",
"ts-type": "^2.1.8"
"@types/semver": "^7.3.11",
"ts-type": "^2.1.9"
},

@@ -73,3 +73,3 @@ "devDependencies": {

"fs-extra": "^10.1.0",
"json-schema-to-typescript": "^11.0.1"
"json-schema-to-typescript": "^11.0.2"
},

@@ -79,3 +79,3 @@ "publishConfig": {

},
"gitHead": "095cead0934e3722045025990d906c290869e3f6",
"gitHead": "4eedf3cb6b9ee750e22993560eb6aef919873112",
"sharedDependencies": {

@@ -82,0 +82,0 @@ "eslint-config-bluelovers": "latest"

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