Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-dev-android-snapshot

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-dev-android-snapshot - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

9

hooks/after-prepare-hook.js

@@ -29,3 +29,10 @@ var path = require("path");

function deleteAngularModules(projectData, platformAppDirectory) {
var angularDependencies = Object.keys(JSON.parse(fs.readFileSync(path.join(projectData.projectDir, "node_modules", "nativescript-angular/package.json"), "utf8"))["dependencies"]);
var nativeScriptAngularPackageJson = JSON.parse(fs.readFileSync(path.join(projectData.projectDir, "node_modules", "nativescript-angular/package.json"), "utf8"));
var dependencies = nativeScriptAngularPackageJson["dependencies"];
if (nativeScriptAngularPackageJson["peerDependencies"]) {
for (var peerDep in nativeScriptAngularPackageJson["peerDependencies"]) {
dependencies[peerDep] = nativeScriptAngularPackageJson["peerDependencies"][peerDep];
}
}
var angularDependencies = Object.keys(dependencies);
for (var i = 0; i < angularDependencies.length; i++) {

@@ -32,0 +39,0 @@ if (/^@angular\//.test(angularDependencies[i])) {

2

package.json
{
"name": "nativescript-dev-android-snapshot",
"version": "0.0.8",
"version": "0.0.9",
"license": "Apache-2.0",

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

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