rollup-plugin-dts
Advanced tools
Comparing version 0.13.0 to 0.14.0
// FILE GENERATED BY `rollup-plugin-dts@0.13.0` | ||
// FILE GENERATED BY `rollup-plugin-dts@0.14.0` | ||
// https://github.com/Swatinem/rollup-plugin-dts | ||
@@ -24,2 +24,2 @@ | ||
export default plugin; | ||
export { CompileMode, plugin, dts, js, js as ts }; | ||
export { CompileMode, dts, js, plugin, js as ts }; |
@@ -93,3 +93,3 @@ 'use strict'; | ||
if (ts.isPropertyAccessExpression(node)) { | ||
return { | ||
return withStartEnd({ | ||
type: "MemberExpression", | ||
@@ -99,3 +99,6 @@ computed: false, | ||
property: convertExpression(node.name), | ||
}; | ||
}, { | ||
start: node.expression.getStart(), | ||
end: node.name.getEnd(), | ||
}); | ||
} | ||
@@ -849,3 +852,3 @@ // istanbul ignore else | ||
else { | ||
return null; | ||
return; | ||
} | ||
@@ -885,3 +888,3 @@ }, | ||
const version = "0.13.0"; | ||
const version = "0.14.0"; | ||
@@ -905,2 +908,8 @@ const TSLIB_ID = "\0tslib"; | ||
banner: mode === exports.CompileMode.Types && options.banner !== false ? BANNER : undefined, | ||
outputOptions(options) { | ||
if (mode === exports.CompileMode.Js) { | ||
return options; | ||
} | ||
return Object.assign({}, options, { format: "es", exports: "named", compact: false, freeze: false, interop: false, namespaceToStringTag: false, strict: false }); | ||
}, | ||
resolveId(importee, importer) { | ||
@@ -912,3 +921,3 @@ // istanbul ignore if | ||
if (!importer) { | ||
return null; | ||
return; | ||
} | ||
@@ -938,6 +947,6 @@ importer = importer.split("\\").join("/"); | ||
exports.plugin = plugin; | ||
exports.default = plugin; | ||
exports.dts = dts; | ||
exports.js = js; | ||
exports.plugin = plugin; | ||
exports.ts = js; | ||
exports.default = plugin; |
{ | ||
"name": "rollup-plugin-dts", | ||
"version": "0.13.0", | ||
"version": "0.14.0", | ||
"description": "An experiment to generate .d.ts rollup files", | ||
@@ -59,20 +59,21 @@ "keywords": [ | ||
"@types/fs-extra": "^5.0.5", | ||
"@types/jest": "^24.0.6", | ||
"@types/node": "^11.9.5", | ||
"@types/react": "^16.8.4", | ||
"@types/jest": "^24.0.11", | ||
"@types/node": "^11.11.5", | ||
"@types/react": "^16.8.8", | ||
"fs-extra": "^7.0.1", | ||
"jest": "^24.1.0", | ||
"jest": "^24.5.0", | ||
"prettier": "^1.16.4", | ||
"react": "^16.8.3", | ||
"rollup": "^1.2.3", | ||
"rollup-plugin-json": "^3.1.0", | ||
"react": "^16.8.4", | ||
"rollup": "^1.7.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
"ts-jest": "^24.0.0", | ||
"ts-node": "^8.0.2", | ||
"ts-node": "^8.0.3", | ||
"tslib": "^1.9.3", | ||
"typescript": "3.3.3333" | ||
"typescript": "3.3.4000" | ||
}, | ||
"peerDependencies": { | ||
"rollup": "^1.7.0", | ||
"tslib": "*", | ||
"typescript": ">= 3.3.3" | ||
"typescript": "^3.3.4000" | ||
} | ||
} |
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
72586
1888
3