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

bower-sinopia-resolver

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower-sinopia-resolver - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

8

index.js

@@ -9,2 +9,3 @@

var object = require('mout/object');
var path = require('path');

@@ -25,3 +26,4 @@ tmp.setGracefulCleanup();

if (config.scopes[key].cafile) {
config.scopes[key].ca = fs.readFileSync(config.scopes[key].cafile);
config.scopes[key].ca = fs.readFileSync(
path.resolve(config.scopes[key].cafile));
}

@@ -134,7 +136,7 @@

var downloadPath = tmp.dirSync();
var downloadPath = tmp.dirSync({mode: 0755 });
return download(endpoint.target, downloadPath.name,
object.mixIn({ request: request_}, bower.config)).then(function (archivePatch) {
var extractPath = tmp.dirSync();
var extractPath = tmp.dirSync({ mode: 0755});

@@ -141,0 +143,0 @@ return extract(archivePatch, extractPath.name).then(function () {

{
"name": "bower-sinopia-resolver",
"version": "1.0.2",
"description": "Use Sinopia as for Bower Dependencies",
"version": "1.1.0",
"description": "Use Sinopia as a registry for for Bower Dependencies",
"main": "index.js",

@@ -15,3 +15,6 @@ "scripts": {},

],
"author": "Chad Killingsworth",
"author": {
"name": "Chad Killingsworth",
"email": "ckillingsworth@jackhenry.com"
},
"license": "Apache-2.0",

@@ -18,0 +21,0 @@ "bugs": {

@@ -34,6 +34,7 @@ # bower-sinopia-resolver

"myco": {
//uri of your sinopia server
// uri of your sinopia server
// must not contain a trailing slash
"server": "https://sinopia.myco.com",
//optional - allows strict ssl support for self-signed or private certificates
// optional - allows strict ssl support for self-signed or private certificates
"cafile": "/path/to/certificate.pem"

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

#### Full example .bowerrc
This is a minimal example only. For a full reference see http://bower.io/docs/config/
```JavaScript
{
"resolvers": [
"bower-sinopia-resolver"
],
"bower-sinopia-resolver": {
"scopes": {
// scope would be @myco
"myco": {
// uri of your sinopia server
// must not contain a trailing slash
"server": "https://sinopia.myco.com",
// optional - allows strict ssl support for self-signed or private certificates
"cafile": "/path/to/certificate.pem"
}
}
}
}
```
## Usage

@@ -47,0 +74,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