Socket
Socket
Sign inDemoInstall

compatfactory

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compatfactory - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## [0.0.5](https://github.com/wessberg/compatfactory/compare/v0.0.4...v0.0.5) (2021-05-29)
### Bug Fixes
- fix signature for createVariableDeclaration ([a311bc1](https://github.com/wessberg/compatfactory/commit/a311bc17ca73c8d899f160afed606f6ef49d3fa5))
## [0.0.4](https://github.com/wessberg/compatfactory/compare/v0.0.3...v0.0.4) (2021-05-28)

@@ -2,0 +8,0 @@

3

dist/cjs/index.js

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

createVariableDeclaration(name, exclamationToken, type, initializer) {
if (typescript.createVariableDeclaration.length === 4) {
return typescript.createVariableDeclaration(name, exclamationToken, type, initializer);
}
return typescript.createVariableDeclaration(name, type, initializer);

@@ -975,0 +978,0 @@ },

@@ -969,2 +969,5 @@ export function ensureNodeFactory(factoryLike) {

createVariableDeclaration(name, exclamationToken, type, initializer) {
if (typescript.createVariableDeclaration.length === 4) {
return typescript.createVariableDeclaration(name, exclamationToken, type, initializer);
}
return typescript.createVariableDeclaration(name, type, initializer);

@@ -971,0 +974,0 @@ },

2

package.json
{
"name": "compatfactory",
"version": "0.0.4",
"version": "0.0.5",
"description": "A library that unifies the TypeScript Compiler API factory functions across all versions of TypeScript and makes them conform with the Node Factory API",

@@ -5,0 +5,0 @@ "scripts": {

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