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
0
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.40 to 0.0.41

5

dist/assets.js

@@ -26,3 +26,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.copyAsset = exports.toAssetsRootUrl = void 0;
exports.toAssetsRootUrl = toAssetsRootUrl;
exports.copyAsset = copyAsset;
const fs = __importStar(require("node:fs/promises"));

@@ -55,3 +56,2 @@ const path = __importStar(require("node:path"));

}
exports.toAssetsRootUrl = toAssetsRootUrl;
/**

@@ -99,2 +99,1 @@ * Resolve full URL to source asset

}
exports.copyAsset = copyAsset;

3

dist/cli/cli.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.convertFiles = void 0;
exports.convertFiles = convertFiles;
const debug_1 = __importDefault(require("debug"));

@@ -71,3 +71,2 @@ const fs = __importStar(require("node:fs/promises"));

}
exports.convertFiles = convertFiles;
/* c8 ignore start */

@@ -74,0 +73,0 @@ /* CLI entrypoint cannot be tested by unit tests */

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createFileServer = void 0;
exports.createFileServer = createFileServer;
const debug_1 = __importDefault(require("debug"));

@@ -41,3 +41,2 @@ const express_1 = __importDefault(require("express"));

}
exports.createFileServer = createFileServer;
/* c8 ignore stop */

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createWatcher = void 0;
exports.createWatcher = createWatcher;
const chokidar_1 = require("chokidar");

@@ -129,3 +129,2 @@ const debug_1 = __importDefault(require("debug"));

}
exports.createWatcher = createWatcher;
/* c8 ignore stop */
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.domToJson = exports.collectAssets = exports.GUIDES_ACTIONS = exports.GUIDES_CUSTOM_TAGS = exports.GUIDES_HTML_TAGS = exports.GUIDE_CARD_SIZE = void 0;
exports.GUIDES_ACTIONS = exports.GUIDES_CUSTOM_TAGS = exports.GUIDES_HTML_TAGS = exports.GUIDE_CARD_SIZE = void 0;
exports.collectAssets = collectAssets;
exports.domToJson = domToJson;
var GUIDE_CARD_SIZE;

@@ -157,3 +159,2 @@ (function (GUIDE_CARD_SIZE) {

}
exports.collectAssets = collectAssets;
function domToJson(node, imgBaseUrl) {

@@ -171,2 +172,1 @@ return {

}
exports.domToJson = domToJson;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ensureTrailingSlash = void 0;
exports.ensureTrailingSlash = ensureTrailingSlash;
/**

@@ -13,2 +13,1 @@ * Check if given string has trailing slash, otherwise add it

}
exports.ensureTrailingSlash = ensureTrailingSlash;

@@ -30,3 +30,5 @@ #!/usr/bin/env node

Object.defineProperty(exports, "__esModule", { value: true });
exports.convertFile = exports.convertPlaylist = exports.convertGuide = void 0;
exports.convertGuide = convertGuide;
exports.convertPlaylist = convertPlaylist;
exports.convertFile = convertFile;
const debug_1 = __importDefault(require("debug"));

@@ -50,3 +52,2 @@ const fs = __importStar(require("node:fs/promises"));

}
exports.convertGuide = convertGuide;
async function convertPlaylist(options) {

@@ -69,3 +70,2 @@ const source = await (0, manifests_1.readContents)(options.entry);

}
exports.convertPlaylist = convertPlaylist;
function convertFile(options) {

@@ -99,2 +99,1 @@ const outputFilePath = (0, manifests_1.toOutputFilePath)({ entry: options.entry, outputDirPath: options.outputDirPath });

}
exports.convertFile = convertFile;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.logToStdout = exports.logToStderr = void 0;
exports.logToStderr = logToStderr;
exports.logToStdout = logToStdout;
function logToStderr(...args) {

@@ -8,3 +9,2 @@ // eslint-disable-next-line no-console

}
exports.logToStderr = logToStderr;
function logToStdout(...args) {

@@ -14,2 +14,1 @@ // eslint-disable-next-line no-console

}
exports.logToStdout = logToStdout;

@@ -6,3 +6,10 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.readContents = exports.writeManifest = exports.readManifest = exports.createManifest = exports.createEntryByFilePath = exports.toOutputUrl = exports.toOutputFilePath = exports.toImgBaseUrl = void 0;
exports.toImgBaseUrl = toImgBaseUrl;
exports.toOutputFilePath = toOutputFilePath;
exports.toOutputUrl = toOutputUrl;
exports.createEntryByFilePath = createEntryByFilePath;
exports.createManifest = createManifest;
exports.readManifest = readManifest;
exports.writeManifest = writeManifest;
exports.readContents = readContents;
const typebox_1 = require("@sinclair/typebox");

@@ -45,3 +52,2 @@ const value_1 = require("@sinclair/typebox/value");

}
exports.toImgBaseUrl = toImgBaseUrl;
/**

@@ -69,3 +75,2 @@ * Construct output path based on given dirpath and entry ID

}
exports.toOutputFilePath = toOutputFilePath;
/**

@@ -92,3 +97,2 @@ * Construct output URL based on given root URL and entry ID

}
exports.toOutputUrl = toOutputUrl;
/**

@@ -127,3 +131,2 @@ * Construct manifest entry object from path to file

}
exports.createEntryByFilePath = createEntryByFilePath;
/**

@@ -164,3 +167,2 @@ * Create manifest based on filesystem contents

}
exports.createManifest = createManifest;
const URL_PATTERN = /^(file|https?):\/\//;

@@ -225,3 +227,2 @@ /**

}
exports.readManifest = readManifest;
async function writeManifest(options) {

@@ -256,3 +257,2 @@ log('Writing manifest "%s"', node_path_1.default.relative(process.cwd(), options.outputDirPath) || '.');

}
exports.writeManifest = writeManifest;
/**

@@ -276,2 +276,1 @@ * Retrieve manifest entry’s contents

}
exports.readContents = readContents;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parsePlaylist = exports.isGuidePlaylist = void 0;
exports.isGuidePlaylist = isGuidePlaylist;
exports.parsePlaylist = parsePlaylist;
const jsdom_1 = require("jsdom");

@@ -10,3 +11,2 @@ const dom_to_json_1 = require("./dom-to-json");

}
exports.isGuidePlaylist = isGuidePlaylist;
function htmlToJson(input) {

@@ -106,2 +106,1 @@ if (input === undefined) {

}
exports.parsePlaylist = parsePlaylist;
{
"name": "@neo4j-devtools/workspace-guides",
"version": "0.0.40",
"version": "0.0.41",
"main": "./src/index.ts",

@@ -23,3 +23,3 @@ "types": "./src/index.ts",

"memfs": "4.7.7",
"msw": "2.3.1",
"msw": "2.3.5",
"@nx/config": "0.0.0",

@@ -26,0 +26,0 @@ "@nx/scripts": "0.0.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