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

aocrunner

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aocrunner - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

10

lib/actions/build.js
import fs from "fs";
import getAllFiles from "../utils/getAllFiles";
import buildSource from "./processes/buildSource";
import buildDefinitions from "./processes/buildDefinitions";
import getAllFiles from "../utils/getAllFiles.js";
import buildSource from "./processes/buildSource.js";
import buildDefinitions from "./processes/buildDefinitions.js";
const build = () => {
if (fs.existsSync("lib")) {
if (fs.existsSync("dist")) {
console.log("Removing old build...");
fs.rmSync("lib", { recursive: true });
fs.rmSync("dist", { recursive: true });
console.log("Building source files...");

@@ -10,0 +10,0 @@ }

import { stripIndent } from "common-tags";
import chokidar from "chokidar";
import kleur from "kleur";
import getAllFiles from "../utils/getAllFiles";
import buildSource from "./processes/buildSource";
import getAllFiles from "../utils/getAllFiles.js";
import buildSource from "./processes/buildSource.js";
const dev = (dayRaw) => {

@@ -7,0 +7,0 @@ const day = dayRaw && (dayRaw.match(/\d+/) ?? [])[0];

@@ -6,3 +6,3 @@ import { spawnSync } from "child_process";

const t0 = process.hrtime.bigint();
spawnSync("tsc", ["--emitDeclarationOnly", "--outDir", "lib"], {
spawnSync("tsc", ["--emitDeclarationOnly", "--outDir", "dist"], {
stdio: "inherit"

@@ -9,0 +9,0 @@ });

@@ -5,3 +5,3 @@ import { spawnSync } from "child_process";

const files = Array.isArray(input) ? input : [input];
const outDir = Array.isArray(input) ? "lib" : path.parse(input).dir.replace(/^src/, "lib");
const outDir = Array.isArray(input) ? "dist" : path.parse(input).dir.replace(/^src/, "dist");
spawnSync("npx", [

@@ -8,0 +8,0 @@ "esbuild",

@@ -32,3 +32,3 @@ var __defProp = Object.defineProperty;

"@types/node": "^16.11.6",
aocrunner: "^0.2.12"
aocrunner: "^0.2.13"
},

@@ -35,0 +35,0 @@ dependencies: {},

{
"name": "aocrunner",
"version": "0.2.12",
"version": "0.2.13",
"description": "Advent of Code runner",

@@ -5,0 +5,0 @@ "bin": "lib/index.js",

import fs from "fs"
import getAllFiles from "../utils/getAllFiles"
import buildSource from "./processes/buildSource"
import buildDefinitions from "./processes/buildDefinitions"
import getAllFiles from "../utils/getAllFiles.js"
import buildSource from "./processes/buildSource.js"
import buildDefinitions from "./processes/buildDefinitions.js"

@@ -6,0 +6,0 @@ const build = () => {

import { stripIndent } from "common-tags"
import chokidar from "chokidar"
import kleur from "kleur"
import getAllFiles from "../utils/getAllFiles"
import buildSource from "./processes/buildSource"
import getAllFiles from "../utils/getAllFiles.js"
import buildSource from "./processes/buildSource.js"

@@ -7,0 +7,0 @@ const dev = (dayRaw: string | undefined) => {

@@ -20,3 +20,3 @@ import type { Setup } from "../types/common"

"@types/node": "^16.11.6",
aocrunner: "^0.2.12",
aocrunner: "^0.2.13",
},

@@ -23,0 +23,0 @@ dependencies: {},

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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