babel-plugin-ng-hot-reload
Advanced tools
Comparing version 2.1.0 to 3.2.1
@@ -132,3 +132,3 @@ "use strict"; | ||
if (node.source.value === ANGULAR_PACKAGE_NAME) { | ||
const parentProgram = path.findParent(path => path.isProgram()); | ||
const parentProgram = path.findParent((path) => path.isProgram()); | ||
registerAngularUse.set(parentProgram, true); | ||
@@ -158,3 +158,3 @@ } | ||
const { declarations } = declaration.node; | ||
declarations.forEach(declaration => { | ||
declarations.forEach((declaration) => { | ||
const identifier = declaration.id; | ||
@@ -229,3 +229,3 @@ state.topLevelExports.set(identifier.name, identifier); | ||
if (node.name === angularGlobal) { | ||
const parentProgram = path.findParent(path => path.isProgram()); | ||
const parentProgram = path.findParent((path) => path.isProgram()); | ||
registerAngularUse.set(parentProgram, true); | ||
@@ -232,0 +232,0 @@ } |
{ | ||
"name": "babel-plugin-ng-hot-reload", | ||
"version": "2.1.0", | ||
"version": "3.2.1", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"author": { | ||
@@ -16,3 +17,3 @@ "name": "Felix Haus", | ||
"scripts": { | ||
"prepack": "cp ../../README.md ../../LICENSE ./ && tsc --p tsconfig.build.json", | ||
"prepack": "cp ../README.md ../LICENSE ./ && tsc --p tsconfig.build.json", | ||
"postpack": "rm ./README.md ./LICENSE", | ||
@@ -24,3 +25,3 @@ "build": "tsc --p tsconfig.build.json", | ||
"dependencies": { | ||
"ng-hot-reload-core": "2.1.0" | ||
"ng-hot-reload-core": "3.2.1" | ||
}, | ||
@@ -31,11 +32,11 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.7.4", | ||
"@types/babel__core": "^7.1.3", | ||
"@types/jest": "^24.0.23", | ||
"@babel/core": "^7.8.7", | ||
"@types/babel__core": "^7.1.6", | ||
"@types/jest": "^25.1.4", | ||
"@types/node": "^12.12.12", | ||
"jest": "^24.9.0", | ||
"jest": "^25.1.0", | ||
"jest-snapshot-serializer-raw": "^1.1.0", | ||
"ts-jest": "^24.2.0", | ||
"typescript": "^3.7.2" | ||
"ts-jest": "^25.2.1", | ||
"typescript": "^3.8.3" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# 🔥 babel-plugin-ng-hot-reload | ||
# 🔥 babel-plugin-ng-hot-reload [![Build status](https://travis-ci.org/ofhouse/babel-plugin-ng-hot-reload.svg?branch=master)](https://travis-ci.org/ofhouse/babel-plugin-ng-hot-reload) | ||
@@ -3,0 +3,0 @@ A babel plugin which enables hot module replacement in AngularJS applications.<br /> |
20949
+ Addedng-hot-reload-core@3.2.1(transitive)
- Removedng-hot-reload-core@2.1.0(transitive)
Updatedng-hot-reload-core@3.2.1