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

create-pipcook-script

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-pipcook-script - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

template/datasource/ts/dist/index.d.ts

2

package.json
{
"name": "create-pipcook-script",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/bin/pipcook-script.js",

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

*/
class Accessor {
class DataAccessorImpl {
constructor(data) {

@@ -23,2 +23,5 @@ this.data = data;

}
shuffle() {
throw new TypeError('not implemented');
}
}

@@ -35,8 +38,13 @@ class DataSource {

*/
async init() {
init() {
throw new TypeError('not implemented');
}
async getDataSourceMeta() {
getDatasetMeta() {
throw new TypeError('not implemented');
}
shuffle() {
this.test.shuffle();
this.train.shuffle();
this.valid?.shuffle();
}
}

@@ -46,4 +54,7 @@ /**

*/
const datasourceEntry = async (option) => {
const { url = '' } = option;
const {
url = ''
} = option;
if (!url) {

@@ -50,0 +61,0 @@ throw new TypeError('url should be defined');

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