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

github-release-dataset

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

github-release-dataset - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

9

dist/github-release-dataset.cjs.js

@@ -40,7 +40,9 @@ 'use strict';

var body = datasetMatch[1];
var dataset = yaml.load(body);
var name = dataset[DATASET_KEY];
var datasetObj = yaml.load(body);
var name = datasetObj[DATASET_KEY];
var dataset = datasetObj.dataset;
// If datasetName are specified, return name matched datasets,
// otherwise return all datasets
if (datasetName ? name === datasetName : !!name) {

@@ -52,3 +54,4 @@ results.push({

body: body,
dataset: dataset
dataset: dataset,
datasetObj: datasetObj
});

@@ -55,0 +58,0 @@ }

@@ -31,4 +31,5 @@ import yaml from 'js-yaml';

const body = datasetMatch[1];
const dataset = yaml.load(body);
const name = dataset[DATASET_KEY];
const datasetObj = yaml.load(body);
const name = datasetObj[DATASET_KEY];
const { dataset } = datasetObj;

@@ -44,2 +45,3 @@ // If datasetName are specified, return name matched datasets,

dataset,
datasetObj,
});

@@ -46,0 +48,0 @@ }

{
"name": "github-release-dataset",
"version": "0.0.5",
"version": "0.0.6",
"description": "A library to add and update yaml persisted data in GitHub Issue Comment",

@@ -5,0 +5,0 @@ "main": "dist/github-release-dataset.cjs.js",

@@ -30,4 +30,5 @@ import yaml from 'js-yaml';

const body = datasetMatch[1];
const dataset = yaml.load(body);
const name = dataset[DATASET_KEY];
const datasetObj = yaml.load(body);
const name = datasetObj[DATASET_KEY];
const { dataset } = datasetObj;

@@ -43,2 +44,3 @@ // If datasetName are specified, return name matched datasets,

dataset,
datasetObj,
});

@@ -45,0 +47,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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