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

dgeni-packages

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgeni-packages - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

6

CHANGELOG.md
# Changelog
## v0.10.1 6th October
## v0.10.2 8th October 2014
* feat(examples): allow external example dependencies ae900e77
## v0.10.1 6th October 2014
Mostly minor refactoring and the new `checkAnchorLinksProcessor`

@@ -6,0 +10,0 @@

8

examples/processors/examples-generate.js

@@ -86,5 +86,7 @@ var _ = require('lodash');

_.forEach(example.deps.split(';'), function(dependency) {
var filePath = /(https?:)?\/\//.test(dependencyPath) ?
dependencyPath + dependency :
path.join(dependencyPath, dependency);
var filePath = /(https?:)?\/\//.test(dependency) ?
dependency :
/(https?:)?\/\//.test(dependencyPath) ?
dependencyPath + dependency :
path.join(dependencyPath, dependency);
if ( filePath.match(/\.js$/) ) {

@@ -91,0 +93,0 @@ exampleDoc.scripts.push({ path: filePath });

@@ -27,3 +27,3 @@ var _ = require('lodash');

outputFolder: 'examples',
deps: 'dep1.js;dep2.js;dep3.css',
deps: 'dep1.js;dep2.js;http://example.com/dep3.js;https://example.com/dep4.js;dep5.css;http://example.com/dep6.css;https://example.com/dep7.css',
files: files,

@@ -80,2 +80,4 @@ deployments: {}

{ path : 'dep2.js' },
{ path : 'http://example.com/dep3.js' },
{ path : 'https://example.com/dep4.js' },
jasmine.objectContaining({ docType : 'example-file', id : 'a.b.c/app.js' })

@@ -89,2 +91,4 @@ ]);

{ path : '../dep2.js' },
{ path : 'http://example.com/dep3.js' },
{ path : 'https://example.com/dep4.js' },
jasmine.objectContaining({ docType : 'example-file', id : 'a.b.c/app.js' })

@@ -96,3 +100,5 @@ ]);

expect(_.find(docs, { id: 'a.b.c' }).stylesheets).toEqual([
{ path : 'dep3.css' },
{ path : 'dep5.css' },
{ path : 'http://example.com/dep6.css' },
{ path : 'https://example.com/dep7.css' },
jasmine.objectContaining({ docType : 'example-file', id : 'a.b.c/app.css' })

@@ -104,3 +110,5 @@ ]);

{ path: 'otherStyle.css' },
{ path : '../dep3.css' },
{ path : '../dep5.css' },
{ path : 'http://example.com/dep6.css' },
{ path : 'https://example.com/dep7.css' },
jasmine.objectContaining({ docType : 'example-file', id : 'a.b.c/app.css' })

@@ -107,0 +115,0 @@ ]);

{
"name": "dgeni-packages",
"version": "0.10.1",
"version": "0.10.2",
"description": "A collection of dgeni packages for generating documentation from source code",

@@ -75,4 +75,5 @@ "scripts": {

"<thorn.mailbox@gmail.com>",
"Lucas Galfaso <lgalfaso@gmail.com>"
"Lucas Galfaso <lgalfaso@gmail.com>",
"Tim Kendrick <timkendrick@gmail.com>"
]
}
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