Socket
Socket
Sign inDemoInstall

@polymer/gen-typescript-declarations

Package Overview
Dependencies
129
Maintainers
12
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.1 to 1.6.2

src/.DS_Store

4

CHANGELOG.md

@@ -10,2 +10,6 @@ # Changelog

## [1.6.2] - 2019-06-19
* Names in `excludeIdentifiers` will now also be removed from `import`
statements.
## [1.6.1] - 2019-01-18

@@ -12,0 +16,0 @@ * Fix missing `source-map-support` dependency.

@@ -882,2 +882,5 @@ "use strict";

}
if (this.excludeIdentifiers.has(identifier)) {
return false;
}
const resolved = es_modules_1.resolveImportExportFeature(fromFeature, identifier, this.analyzerDoc);

@@ -884,0 +887,0 @@ return resolved !== undefined && resolved.feature !== undefined &&

4

package.json
{
"name": "@polymer/gen-typescript-declarations",
"version": "1.6.1",
"version": "1.6.2",
"description": "Generate TypeScript type declarations for Polymer components.",

@@ -38,3 +38,3 @@ "homepage": "https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations",

"typescript": "^3.0.1",
"vscode-uri": "^1.0.3"
"vscode-uri": "=1.0.6"
},

@@ -41,0 +41,0 @@ "devDependencies": {

@@ -380,3 +380,3 @@ /**

function getImportedIdentifiers(tsDoc: ts.Document): Set<string> {
const identifiers = new Set();
const identifiers = new Set<string>();
for (const member of tsDoc.members) {

@@ -1057,2 +1057,5 @@ if (member.kind === 'import') {

}
if (this.excludeIdentifiers.has(identifier)) {
return false;
}
const resolved =

@@ -1059,0 +1062,0 @@ resolveImportExportFeature(fromFeature, identifier, this.analyzerDoc);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc