@angular/google-maps
Advanced tools
Comparing version 19.0.0-next.10 to 19.0.0-rc.0
{ | ||
"name": "@angular/google-maps", | ||
"version": "19.0.0-next.10", | ||
"version": "19.0.0-rc.0", | ||
"description": "Angular Google Maps", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -25,3 +25,3 @@ var __create = Object.create; | ||
// bazel-out/darwin-fastbuild/bin/src/google-maps/schematics/ng-update/index.mjs | ||
// bazel-out/k8-fastbuild/bin/src/google-maps/schematics/ng-update/index.mjs | ||
var ng_update_exports = {}; | ||
@@ -40,5 +40,9 @@ __export(ng_update_exports, { | ||
tree.visit((path) => { | ||
var _a; | ||
if (path.includes("node_modules")) { | ||
return; | ||
} | ||
if (path.endsWith(".html")) { | ||
const content = tree.readText(path); | ||
if (content.includes("<" + TAG_NAME)) { | ||
const content = (_a = tree.read(path)) == null ? void 0 : _a.toString(); | ||
if (content && content.includes("<" + TAG_NAME)) { | ||
tree.overwrite(path, migrateHtml(content)); | ||
@@ -56,4 +60,5 @@ } | ||
function migrateTypeScript(path, tree) { | ||
const content = tree.readText(path); | ||
if (!content.includes("<" + TAG_NAME) && !content.includes(MODULE_NAME) && !content.includes(CLASS_NAME)) { | ||
var _a; | ||
const content = (_a = tree.read(path)) == null ? void 0 : _a.toString(); | ||
if (!content || !content.includes("<" + TAG_NAME) && !content.includes(MODULE_NAME) && !content.includes(CLASS_NAME)) { | ||
return; | ||
@@ -60,0 +65,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
6410
543077