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

@neo4j-devtools/workspace-guides

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo4j-devtools/workspace-guides - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

11

dist/cli/cli.js

@@ -53,3 +53,6 @@ #!/usr/bin/env node

...options,
entry,
entry: {
...entry,
imgBaseUrl: options.imgBaseUrl ?? entry.imgBaseUrl,
},
guideIdList,

@@ -114,2 +117,6 @@ });

},
'img-base-url': {
type: 'string',
short: 'u',
},
},

@@ -138,2 +145,3 @@ });

watch: args.watch ?? false,
imgBaseUrl: args['img-base-url'],
};

@@ -148,2 +156,3 @@ const entries = await convertFiles(cliOptions);

rootUrl: cliOptions.rootUrl,
imgBaseUrl: cliOptions.imgBaseUrl,
});

@@ -150,0 +159,0 @@ const closeServer = (0, server_1.createFileServer)({

@@ -54,2 +54,3 @@ "use strict";

});
entry.imgBaseUrl = options.imgBaseUrl ?? entry.imgBaseUrl;
const entryIndex = entries.findIndex(({ id }) => entry.id === id);

@@ -81,2 +82,3 @@ entries.splice(entryIndex, 1);

});
entry.imgBaseUrl = options.imgBaseUrl ?? entry.imgBaseUrl;
const entryIndex = entries.findIndex(({ id }) => entry.id === id);

@@ -106,2 +108,3 @@ entries.splice(entryIndex, 1);

});
entry.imgBaseUrl = options.imgBaseUrl ?? entry.imgBaseUrl;
const outputFilePath = (0, manifests_1.toOutputFilePath)({ entry, outputDirPath: options.outputDirPath });

@@ -108,0 +111,0 @@ fs.rm(outputFilePath, { force: true })

6

package.json
{
"name": "@neo4j-devtools/workspace-guides",
"version": "0.0.34",
"version": "0.0.35",
"main": "./src/index.ts",

@@ -25,4 +25,4 @@ "types": "./src/index.ts",

"vitest": "1.3.1",
"@nx/config": "0.0.0",
"@nx/scripts": "0.0.0"
"@nx/scripts": "0.0.0",
"@nx/config": "0.0.0"
},

@@ -29,0 +29,0 @@ "scripts": {

@@ -37,2 +37,3 @@ # Guides Parser

-m, --manifest=<value> Path to guides manifest
-u, --img-base-url=<value> Base URL where images are hosted.
--dry-run

@@ -46,2 +47,4 @@

$ parse-guides --watch -u "https://neo4j-graph-examples.github.io/movies/documentation/img/"
$ parse-guides -i path/to/guides/dir -o output/path --watch

@@ -48,0 +51,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