New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

specit

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

specit - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

6

lib/spec.js

@@ -13,3 +13,2 @@ var hogan = require('hogan.js');

}
return defaultRelease;

@@ -46,2 +45,6 @@ }

function buildCommands(pkg) {
return _.get(pkg, 'spec.build', []);
}
function getPostInstallCommands(pkg) {

@@ -68,2 +71,3 @@ return _.get(pkg, 'spec.post', []);

noarch: getNoArch(pkg),
buildCommands: buildCommands(pkg),
postInstallCommands: getPostInstallCommands(pkg),

@@ -70,0 +74,0 @@ nodeVersion: getNodeVersion(pkg),

2

package.json
{
"name": "specit",
"version": "1.1.1",
"version": "1.2.0",
"description": "Automatically generates an RPM Spec file for your Node.js project",

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

@@ -219,2 +219,17 @@ # specit

### Build scripts
If you need to perform any actions after installing your package (such as moving files on the target server) you can specify these inline using the `post` property:
```json
{
"spec": {
"build": [
"gulp clean",
"gulp build"
]
}
}
```
### Executables

@@ -221,0 +236,0 @@

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