@ts-type/package-dts
Advanced tools
Comparing version 1.0.43 to 1.0.44
@@ -6,2 +6,23 @@ # Change Log | ||
## [1.0.44](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@1.0.43...@ts-type/package-dts@1.0.44) (2020-09-04) | ||
### 🛠 Build System | ||
* **schema:** update schema ([2238812](https://github.com/bluelovers/ws-ts-type/commit/2238812be9f03048d9ad3a54b5ea614c44ea2a4a)) | ||
### ♻️ Chores | ||
* **deps:** update deps ([4aadf65](https://github.com/bluelovers/ws-ts-type/commit/4aadf6591062a6b7574113f92e50fbb427ec4e37)) | ||
### 🔖 Miscellaneous | ||
* . ([690a357](https://github.com/bluelovers/ws-ts-type/commit/690a357e2f87f18aabbd69d323f22a39877d5bcd)) | ||
## [1.0.43](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@1.0.42...@ts-type/package-dts@1.0.43) (2020-07-31) | ||
@@ -8,0 +29,0 @@ |
{ | ||
"name": "@ts-type/package-dts", | ||
"version": "1.0.43", | ||
"version": "1.0.44", | ||
"private": false, | ||
@@ -64,7 +64,7 @@ "description": "A Typescript type definition for NPM package json", | ||
"dependencies": { | ||
"@types/semver": "^7.3.1", | ||
"ts-type": "^1.2.32" | ||
"@types/semver": "^7.3.3", | ||
"ts-type": "^1.2.33" | ||
}, | ||
"devDependencies": { | ||
"axios": "^0.19.2", | ||
"axios": "^0.20.0", | ||
"bluebird": "^3.7.2", | ||
@@ -77,3 +77,3 @@ "fs-extra": "^9.0.1", | ||
}, | ||
"gitHead": "5c43c10cddbe2ecfc9c3d41e8dd9cf9d1c69f9f5", | ||
"gitHead": "9d59efd044f0518e59b9d8ee7f74ce4fdf1e6239", | ||
"sharedDependencies": { | ||
@@ -80,0 +80,0 @@ "eslint-config-bluelovers": "latest" |
@@ -1367,6 +1367,8 @@ { | ||
11, | ||
2020 | ||
2020, | ||
12, | ||
2021 | ||
], | ||
"default": 5, | ||
"description": "Set to 3, 5 (default), 6, 7, 8, 9, 10 or 11 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10) or 2020 (same as 11) to use the year-based naming." | ||
"default": 11, | ||
"description": "Set to 3, 5, 6, 7, 8, 9, 10, 11 (default) or 12 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), 2020 (same as 11) or 2021 (same as 12) to use the year-based naming." | ||
}, | ||
@@ -1373,0 +1375,0 @@ "sourceType": { |
@@ -83,2 +83,63 @@ { | ||
}, | ||
"packageExportsEntryPath": { | ||
"type": "string", | ||
"description": "The module path that is resolved when this specifier is imported.", | ||
"pattern": "^\\./" | ||
}, | ||
"packageExportsEntryObject": { | ||
"type": "object", | ||
"description": "Used to specify conditional exports, note that Conditional exports are unsupported in older environments, so it's recommended to use the fallback array option if support for those environments is a concern.", | ||
"properties": { | ||
"require": { | ||
"$ref": "#/definitions/packageExportsEntryPath", | ||
"description": "The module path that is resolved when this specifier is imported as a CommonJS module using the `require(...)` function." | ||
}, | ||
"import": { | ||
"$ref": "#/definitions/packageExportsEntryPath", | ||
"description": "The module path that is resolved when this specifier is imported as an ECMAScript module using an `import` declaration or the dynamic `import(...)` function." | ||
}, | ||
"node": { | ||
"$ref": "#/definitions/packageExportsEntryPath", | ||
"description": "The module path that is resolved when this environment is Node.js." | ||
}, | ||
"default": { | ||
"$ref": "#/definitions/packageExportsEntryPath", | ||
"description": "The module path that is resolved when no other export type matches." | ||
} | ||
}, | ||
"patternProperties": { | ||
"^(?!\\.).": { | ||
"$ref": "#/definitions/packageExportsEntryPath", | ||
"description": "The module path that is resolved when this environment matches the property name." | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"packageExportsEntry": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/packageExportsEntryPath" | ||
}, | ||
{ | ||
"$ref": "#/definitions/packageExportsEntryObject" | ||
} | ||
] | ||
}, | ||
"packageExportsFallback": { | ||
"type": "array", | ||
"description": "Used to allow fallbacks in case this environment doesn't support the preceding entries.", | ||
"items": { | ||
"$ref": "#/definitions/packageExportsEntry" | ||
} | ||
}, | ||
"packageExportsEntryOrFallback": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/packageExportsEntry" | ||
}, | ||
{ | ||
"$ref": "#/definitions/packageExportsFallback" | ||
} | ||
] | ||
}, | ||
"coreProperties": { | ||
@@ -188,2 +249,39 @@ "type": "object", | ||
}, | ||
"exports": { | ||
"description": "The \"exports\" field is used to restrict external access to non-exported module files, also enables a module to import itself using \"name\".", | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/packageExportsEntryPath", | ||
"description": "The module path that is resolved when the module specifier matches \"name\", shadows the \"main\" field." | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
".": { | ||
"$ref": "#/definitions/packageExportsEntryOrFallback", | ||
"description": "The module path that is resolved when the module specifier matches \"name\", shadows the \"main\" field." | ||
}, | ||
"./": { | ||
"$ref": "#/definitions/packageExportsEntryOrFallback", | ||
"description": "The module path prefix that is resolved when the module specifier starts with \"name/\", set to \"./\" to allow external modules to import any subpath." | ||
} | ||
}, | ||
"patternProperties": { | ||
"^\\./": { | ||
"$ref": "#/definitions/packageExportsEntryOrFallback", | ||
"description": "The module path that is resolved when the path component of the module specifier matches the property name." | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
{ | ||
"$ref": "#/definitions/packageExportsEntryObject", | ||
"description": "The module path that is resolved when the module specifier matches \"name\", shadows the \"main\" field." | ||
}, | ||
{ | ||
"$ref": "#/definitions/packageExportsFallback", | ||
"description": "The module path that is resolved when the module specifier matches \"name\", shadows the \"main\" field." | ||
} | ||
] | ||
}, | ||
"bin": { | ||
@@ -190,0 +288,0 @@ "type": [ |
@@ -600,2 +600,18 @@ { | ||
"type": "boolean" | ||
}, | ||
"extendedDiagnostics": { | ||
"description": "Show verbose diagnostic information.", | ||
"type": "boolean" | ||
}, | ||
"listFilesOnly": { | ||
"description": "Print names of files that are part of the compilation and then stop processing.", | ||
"type": "boolean" | ||
}, | ||
"disableSourceOfProjectReferenceRedirect": { | ||
"description": "Disable use of source files instead of declaration files from referenced projects.", | ||
"type": "boolean" | ||
}, | ||
"disableSolutionSearching": { | ||
"description": "Disable solution searching for this project.", | ||
"type": "boolean" | ||
} | ||
@@ -722,2 +738,9 @@ } | ||
}, | ||
"require": { | ||
"description": "Modules to require, like node's `--require` flag.\n\nIf specified in tsconfig.json, the modules will be resolved relative to the tsconfig.json file.\n\nIf specified programmatically, each input string should be pre-resolved to an absolute path for\nbest results.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"scope": { | ||
@@ -724,0 +747,0 @@ "default": false, |
@@ -227,5 +227,5 @@ /* tslint:disable */ | ||
/** | ||
* Set to 3, 5 (default), 6, 7, 8, 9, 10 or 11 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10) or 2020 (same as 11) to use the year-based naming. | ||
* Set to 3, 5, 6, 7, 8, 9, 10, 11 (default) or 12 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), 2020 (same as 11) or 2021 (same as 12) to use the year-based naming. | ||
*/ | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018 | 10 | 2019 | 11 | 2020; | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018 | 10 | 2019 | 11 | 2020 | 12 | 2021; | ||
/** | ||
@@ -486,5 +486,5 @@ * set to "script" (default) or "module" if your code is in ECMAScript modules | ||
/** | ||
* Set to 3, 5 (default), 6, 7, 8, 9, 10 or 11 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10) or 2020 (same as 11) to use the year-based naming. | ||
* Set to 3, 5, 6, 7, 8, 9, 10, 11 (default) or 12 to specify the version of ECMAScript syntax you want to use. You can also set to 2015 (same as 6), 2016 (same as 7), 2017 (same as 8), 2018 (same as 9), 2019 (same as 10), 2020 (same as 11) or 2021 (same as 12) to use the year-based naming. | ||
*/ | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018 | 10 | 2019 | 11 | 2020; | ||
ecmaVersion?: 3 | 5 | 6 | 2015 | 7 | 2016 | 8 | 2017 | 9 | 2018 | 10 | 2019 | 11 | 2020 | 12 | 2021; | ||
/** | ||
@@ -491,0 +491,0 @@ * set to "script" (default) or "module" if your code is in ECMAScript modules |
@@ -31,3 +31,12 @@ /* tslint:disable */ | ||
| string; | ||
export type PackageExportsEntry = PackageExportsEntryPath | PackageExportsEntryObject; | ||
/** | ||
* The module path that is resolved when this specifier is imported. | ||
*/ | ||
export type PackageExportsEntryPath = string; | ||
/** | ||
* Used to allow fallbacks in case this environment doesn't support the preceding entries. | ||
*/ | ||
export type PackageExportsFallback = PackageExportsEntry[]; | ||
/** | ||
* Run AFTER the package is published | ||
@@ -135,2 +144,53 @@ */ | ||
main?: string; | ||
/** | ||
* The "exports" field is used to restrict external access to non-exported module files, also enables a module to import itself using "name". | ||
*/ | ||
exports?: | ||
| string | ||
| { | ||
/** | ||
* The module path that is resolved when the module specifier matches "name", shadows the "main" field. | ||
*/ | ||
"."?: PackageExportsEntry | PackageExportsFallback; | ||
/** | ||
* The module path prefix that is resolved when the module specifier starts with "name/", set to "./" to allow external modules to import any subpath. | ||
*/ | ||
"./"?: PackageExportsEntry | PackageExportsFallback; | ||
/** | ||
* The module path that is resolved when the path component of the module specifier matches the property name. | ||
* | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` "^\./". | ||
*/ | ||
[k: string]: PackageExportsEntry | PackageExportsFallback; | ||
} | ||
| { | ||
/** | ||
* The module path that is resolved when this specifier is imported as a CommonJS module using the `require(...)` function. | ||
*/ | ||
require?: string; | ||
/** | ||
* The module path that is resolved when this specifier is imported as an ECMAScript module using an `import` declaration or the dynamic `import(...)` function. | ||
*/ | ||
import?: string; | ||
/** | ||
* The module path that is resolved when this environment is Node.js. | ||
*/ | ||
node?: string; | ||
/** | ||
* The module path that is resolved when no other export type matches. | ||
*/ | ||
default?: string; | ||
/** | ||
* The module path that is resolved when this environment matches the property name. | ||
* | ||
* This interface was referenced by `PackageExportsEntryObject`'s JSON-Schema definition | ||
* via the `patternProperty` "^(?!\.).". | ||
* | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` "^(?!\.).". | ||
*/ | ||
[k: string]: string; | ||
} | ||
| PackageExportsEntry[]; | ||
bin?: | ||
@@ -330,2 +390,33 @@ | string | ||
/** | ||
* Used to specify conditional exports, note that Conditional exports are unsupported in older environments, so it's recommended to use the fallback array option if support for those environments is a concern. | ||
*/ | ||
export interface PackageExportsEntryObject { | ||
/** | ||
* The module path that is resolved when this specifier is imported as a CommonJS module using the `require(...)` function. | ||
*/ | ||
require?: string; | ||
/** | ||
* The module path that is resolved when this specifier is imported as an ECMAScript module using an `import` declaration or the dynamic `import(...)` function. | ||
*/ | ||
import?: string; | ||
/** | ||
* The module path that is resolved when this environment is Node.js. | ||
*/ | ||
node?: string; | ||
/** | ||
* The module path that is resolved when no other export type matches. | ||
*/ | ||
default?: string; | ||
/** | ||
* The module path that is resolved when this environment matches the property name. | ||
* | ||
* This interface was referenced by `PackageExportsEntryObject`'s JSON-Schema definition | ||
* via the `patternProperty` "^(?!\.).". | ||
* | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` "^(?!\.).". | ||
*/ | ||
[k: string]: string; | ||
} | ||
/** | ||
* Dependencies are specified with a simple hash of package name to version range. The version range is a string which has one or more space-separated descriptors. Dependencies can also be identified with a tarball or git URL. | ||
@@ -332,0 +423,0 @@ */ |
@@ -474,2 +474,18 @@ /* tslint:disable */ | ||
assumeChangesOnlyAffectDirectDependencies?: boolean; | ||
/** | ||
* Show verbose diagnostic information. | ||
*/ | ||
extendedDiagnostics?: boolean; | ||
/** | ||
* Print names of files that are part of the compilation and then stop processing. | ||
*/ | ||
listFilesOnly?: boolean; | ||
/** | ||
* Disable use of source files instead of declaration files from referenced projects. | ||
*/ | ||
disableSourceOfProjectReferenceRedirect?: boolean; | ||
/** | ||
* Disable solution searching for this project. | ||
*/ | ||
disableSolutionSearching?: boolean; | ||
[k: string]: unknown; | ||
@@ -987,2 +1003,18 @@ }; | ||
assumeChangesOnlyAffectDirectDependencies?: boolean; | ||
/** | ||
* Show verbose diagnostic information. | ||
*/ | ||
extendedDiagnostics?: boolean; | ||
/** | ||
* Print names of files that are part of the compilation and then stop processing. | ||
*/ | ||
listFilesOnly?: boolean; | ||
/** | ||
* Disable use of source files instead of declaration files from referenced projects. | ||
*/ | ||
disableSourceOfProjectReferenceRedirect?: boolean; | ||
/** | ||
* Disable solution searching for this project. | ||
*/ | ||
disableSolutionSearching?: boolean; | ||
[k: string]: unknown; | ||
@@ -1019,2 +1051,11 @@ }; | ||
/** | ||
* Modules to require, like node's `--require` flag. | ||
* | ||
* If specified in tsconfig.json, the modules will be resolved relative to the tsconfig.json file. | ||
* | ||
* If specified programmatically, each input string should be pre-resolved to an absolute path for | ||
* best results. | ||
*/ | ||
require?: string[]; | ||
/** | ||
* Scope compiler to files within `cwd`. | ||
@@ -1021,0 +1062,0 @@ */ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
493268
8966
Updated@types/semver@^7.3.3
Updatedts-type@^1.2.33