Socket
Socket
Sign inDemoInstall

nativescript-hook

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-hook - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

index.js

@@ -27,2 +27,6 @@ module.exports = function (__dirname) {

function findProjectDir(pkgdir) {
if (process.env.INIT_CWD) {
return process.env.INIT_CWD;
}
var candidateDir = pkgdir;

@@ -29,0 +33,0 @@

@@ -0,0 +0,0 @@ Apache License

2

package.json
{
"name": "nativescript-hook",
"version": "0.2.1",
"version": "0.2.2",
"description": "Helper module for installing hooks into NativeScript projects",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -41,3 +41,3 @@ nativescript-hook

```
require('nativescript-hook').postinstall(__dirname);
require('nativescript-hook')(__dirname).postinstall();
```

@@ -47,3 +47,3 @@

```
require('nativescript-hook').preuninstall(__dirname);
require('nativescript-hook')(__dirname).preuninstall();
```

@@ -50,0 +50,0 @@

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