Socket
Socket
Sign inDemoInstall

@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 1.0.53 to 1.0.54

lib/package-json/extend.d.ts

21

CHANGELOG.md

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

## [1.0.54](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@1.0.53...@ts-type/package-dts@1.0.54) (2021-11-28)
### 📦 Code Refactoring
* update `IPackageJson` ([81ce0f4](https://github.com/bluelovers/ws-ts-type/commit/81ce0f4330e1092b85c79f160c320bd529117ed8))
### ♻️ Chores
* **deps:** update deps ([2f1b096](https://github.com/bluelovers/ws-ts-type/commit/2f1b096db42909fb34c141b8abaa7c6bae237f53))
### 🔖 Miscellaneous
* . ([df353d4](https://github.com/bluelovers/ws-ts-type/commit/df353d4df2d51ee07f6ec7d626ddf92aba19fff4))
## [1.0.53](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@1.0.51...@ts-type/package-dts@1.0.53) (2021-11-20)

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

44

package-json.d.ts

@@ -5,8 +5,8 @@ /**

import type { JSONSchemaForNPMPackageJsonFiles as CoreProperties } from './types/package.json';
import type { IPackageJsonDependenciesField, IDependency, IPackageJsonPublishConfig } from './lib/package-json/types';
import type { ILernaJson } from './lerna-json';
import type { IPackageJsonDependenciesField, IDependency } from './lib/package-json/types';
import type { ITSOverwrite } from 'ts-type/lib/type/record';
import { IPackageJsonExtendYarn } from './lib/package-json/yarn';
import { IBooleanString } from './lib/types';
import { ITSPartialRecord } from 'ts-type/lib/type/record/partial';
import { ITSOmitIndexSignatures } from 'ts-type/lib/helper/record/omit-index';
import { _IPackageJsonCore } from './lib/package-json/extend';
export { EnumVersionValue2 } from './lib/package-json/types';

@@ -18,39 +18,5 @@ export * from './lib/package-json/types';

*/
export interface IPackageJson<T = any> extends ITSOverwrite<CoreProperties, {
/**
* yarn workspaces
*/
workspaces?: ILernaJson["packages"];
/**
* This is a set of config values that will be used at publish-time.
* It’s especially handy if you want to set the tag, registry or access,
* so that you can ensure that a given package is not tagged with “latest”,
* published to the global public registry or that a scoped module is private by default.
*
* Any config values can be overridden,
* but only “tag”, “registry” and “access” probably matter for the purposes of publishing.
*/
publishConfig?: IPackageJsonPublishConfig;
/**
* https://github.com/bluelovers/ws-ts-type/pull/1
*
* If set to true, then npm will refuse to publish it.
*/
private?: boolean | IBooleanString;
gitHead?: string;
/**
* https://segmentfault.com/a/1190000016365409
*/
unpkg?: string;
browserslist?: string[];
browser?: string | Record<string, string> | Record<string, boolean>;
es2015?: string;
esm?: boolean;
'react-native'?: string;
sideEffects?: boolean;
source?: string;
'umd:main'?: string;
}>, ITSPartialRecord<IPackageJsonDependenciesField, IDependency>, IPackageJsonExtendYarn {
[k: string]: any;
export interface IPackageJson<T = any> extends ITSOverwrite<ITSOmitIndexSignatures<CoreProperties>, _IPackageJsonCore & ITSPartialRecord<IPackageJsonDependenciesField, IDependency> & IPackageJsonExtendYarn> {
[k: string]: T;
}
export default IPackageJson;
{
"name": "@ts-type/package-dts",
"version": "1.0.53",
"version": "1.0.54",
"private": false,

@@ -65,3 +65,3 @@ "description": "A Typescript type definition for NPM package json",

"@types/semver": "^7.3.9",
"ts-type": "^1.2.40"
"ts-type": "^2.0.3"
},

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

},
"gitHead": "a5d6d26efc9d81d74d4aeeeb99c6d0b5d50d5d10",
"gitHead": "1d3c3b661d96e12854b93000be07b60f5adee396",
"sharedDependencies": {

@@ -81,0 +81,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

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