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

@nativescript/hook

Package Overview
Dependencies
Maintainers
12
Versions
5
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 1.0.0-alpha.1 to 1.0.0

5

index.js

@@ -102,6 +102,3 @@ module.exports = function (__dirname) {

var hookFileName = generateHookName(pkg, hook);
console.log('hookFileName:', hookFileName);
var hookPath = path.join(hookDir, hookFileName);
console.log('hookPath:', hookPath);
console.log('pkg.name:', pkg.name);

@@ -125,5 +122,5 @@ var trampoline = util.format('%srequire("%s/%s");', hook.inject ? 'module.exports = ' : '', pkg.name, hook.script);

} catch (err) {
console.warn('nativescript-hook: ' + err.toString());
console.warn('@nativescript/hook: ' + err.toString());
}
});
}

2

package.json
{
"name": "@nativescript/hook",
"version": "1.0.0-alpha.1",
"version": "1.0.0",
"description": "Helper module for installing hooks into NativeScript projects",

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

@@ -1,2 +0,2 @@

nativescript-hook
@nativescript/hook
=======================================

@@ -41,3 +41,3 @@

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

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

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

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

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