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

@bscotch/gamemaker-releases

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/gamemaker-releases - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

LICENSE.md

0

dist/browser.d.ts

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

export declare const defaultCacheDir: import("@bscotch/pathy").Pathy<unknown>;
export declare const defaultNotesCachePath: import("@bscotch/pathy").Pathy<unknown>;
//# sourceMappingURL=constants.d.ts.map

@@ -0,0 +0,0 @@ import os from 'os';

@@ -0,0 +0,0 @@ import { Pathy } from '@bscotch/pathy';

13

dist/feeds.js

@@ -1,2 +0,1 @@

import { assert } from '@bscotch/utility/browser';
import { z } from 'zod';

@@ -12,7 +11,11 @@ import { defaultNotesCachePath } from './constants.js';

const withNotes = [];
const emptyChanges = {
changes: {
since: null,
groups: [],
},
};
for (const release of releases) {
const ideNotes = notes[release.ide.notesUrl];
assert(ideNotes, `No notes found for IDE release ${release.ide.version}`);
const runtimeNotes = notes[release.runtime.notesUrl];
assert(runtimeNotes, `No notes found for IDE release ${release.runtime.version}`);
const ideNotes = notes[release.ide.notesUrl] || emptyChanges;
const runtimeNotes = notes[release.runtime.notesUrl] || emptyChanges;
const ide = { ...release.ide, notes: ideNotes.changes };

@@ -19,0 +22,0 @@ const runtime = { ...release.runtime, notes: runtimeNotes.changes };

@@ -0,0 +0,0 @@ import { RssFeedEntry, type GameMakerArtifact } from './feeds.types.js';

@@ -0,0 +0,0 @@ import { dateDifferenceDays } from '@bscotch/utility/browser';

@@ -27,19 +27,19 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
description?: string | undefined;
link?: string | undefined;
title: string;
pubDate: string;
comments: string;
link?: string | undefined;
description?: string | undefined;
}, {
description?: string | undefined;
link?: string | undefined;
title: string;
pubDate: string;
comments: string;
link?: string | undefined;
description?: string | undefined;
}>, "many">, {
description?: string | undefined;
link?: string | undefined;
title: string;
pubDate: string;
comments: string;
link?: string | undefined;
description?: string | undefined;
}[], unknown>;

@@ -51,13 +51,13 @@ }, "strip", z.ZodTypeAny, {

item: {
description?: string | undefined;
link?: string | undefined;
title: string;
pubDate: string;
comments: string;
link?: string | undefined;
description?: string | undefined;
}[];
}, {
item?: unknown;
title: string;
description: string;
link: string;
item?: unknown;
}>;

@@ -70,7 +70,7 @@ }, "strip", z.ZodTypeAny, {

item: {
description?: string | undefined;
link?: string | undefined;
title: string;
pubDate: string;
comments: string;
link?: string | undefined;
description?: string | undefined;
}[];

@@ -80,6 +80,6 @@ };

channel: {
item?: unknown;
title: string;
description: string;
link: string;
item?: unknown;
};

@@ -94,7 +94,7 @@ }>;

item: {
description?: string | undefined;
link?: string | undefined;
title: string;
pubDate: string;
comments: string;
link?: string | undefined;
description?: string | undefined;
}[];

@@ -106,6 +106,6 @@ };

channel: {
item?: unknown;
title: string;
description: string;
link: string;
item?: unknown;
};

@@ -125,4 +125,2 @@ };

}, "strip", z.ZodTypeAny, {
link?: string | undefined;
summary?: string | undefined;
type: "ide" | "runtime";

@@ -134,5 +132,5 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
summary?: string | undefined;
link?: string | undefined;
}, {
link?: string | undefined;
summary?: string | undefined;
type: "ide" | "runtime";

@@ -144,2 +142,4 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
summary?: string | undefined;
link?: string | undefined;
}>;

@@ -182,4 +182,2 @@ export type GameMakerArtifactWithNotes = z.infer<typeof gameMakerArtifactWithNotesSchema>;

}, "strip", z.ZodTypeAny, {
link?: string | undefined;
summary?: string | undefined;
type: "ide" | "runtime";

@@ -198,5 +196,5 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
}, {
link?: string | undefined;
summary?: string | undefined;
}, {
type: "ide" | "runtime";

@@ -215,2 +213,4 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
summary?: string | undefined;
}>;

@@ -257,3 +257,2 @@ export type GameMakerReleaseWithNotes = z.infer<typeof gameMakerReleaseWithNotesSchema>;

}, "summary">, "strip", z.ZodTypeAny, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -272,4 +271,4 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
}, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -288,2 +287,3 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
}>;

@@ -325,3 +325,2 @@ runtime: z.ZodObject<Omit<{

}, "summary">, "strip", z.ZodTypeAny, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -340,4 +339,4 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
}, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -356,6 +355,6 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
ide: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -374,5 +373,5 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
};
runtime: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -391,2 +390,3 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
};

@@ -398,3 +398,2 @@ channel: "lts" | "stable" | "beta" | "unstable";

ide: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -413,5 +412,5 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
};
runtime: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -430,2 +429,3 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
};

@@ -451,3 +451,2 @@ channel: "lts" | "stable" | "beta" | "unstable";

}, "summary">, "strip", z.ZodTypeAny, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -459,4 +458,4 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
}, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -468,2 +467,3 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
}>;

@@ -480,3 +480,2 @@ runtime: z.ZodObject<Omit<{

}, "summary">, "strip", z.ZodTypeAny, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -488,4 +487,4 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
}, {
link?: string | undefined;
type: "ide" | "runtime";

@@ -497,6 +496,6 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
ide: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -508,5 +507,5 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
};
runtime: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -518,2 +517,3 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
};

@@ -525,3 +525,2 @@ channel: "lts" | "stable" | "beta" | "unstable";

ide: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -533,5 +532,5 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
};
runtime: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -543,2 +542,3 @@ channel: "lts" | "stable" | "beta" | "unstable";

notesUrl: string;
link?: string | undefined;
};

@@ -555,9 +555,9 @@ channel: "lts" | "stable" | "beta" | "unstable";

}, "strict", z.ZodTypeAny, {
type?: "ide" | "runtime" | undefined;
version: string;
release_notes: string[];
type?: "ide" | "runtime" | undefined;
}, {
type?: "ide" | "runtime" | undefined;
version: string;
release_notes: string[];
type?: "ide" | "runtime" | undefined;
}>;

@@ -570,10 +570,10 @@ export type RawReleaseNotesCache = Record<string, RawReleaseNote>;

}, "strict", z.ZodTypeAny, {
type?: "ide" | "runtime" | undefined;
version: string;
release_notes: string[];
type?: "ide" | "runtime" | undefined;
}, {
type?: "ide" | "runtime" | undefined;
version: string;
release_notes: string[];
type?: "ide" | "runtime" | undefined;
}>>;
//# sourceMappingURL=feeds.types.d.ts.map

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ export type Validator<T> = {

@@ -0,0 +0,0 @@ import fetch from 'node-fetch';

@@ -0,0 +0,0 @@ export * from './browser.js';

@@ -0,0 +0,0 @@ export * from './browser.js';

@@ -0,0 +0,0 @@ import { Pathy } from '@bscotch/pathy';

@@ -13,3 +13,5 @@ import { Pathy } from '@bscotch/pathy';

for (const type of ['ide', 'runtime']) {
const url = release[type].notesUrl;
let url = release[type].notesUrl;
// URL can be malformed
url = url.replace(/^(.+\.cloudfront\.net)(release.*)$/, '$1/$2');
if (cacheData[url]) {

@@ -16,0 +18,0 @@ if (!cacheData[url].type) {

@@ -6,3 +6,3 @@ /**

*/
export declare const releasesUrl = "https://github.com/bscotch/gamemaker-info/releases/latest/download/releases-summary.json";
export declare const releasesUrl = "https://github.com/bscotch/stitch/releases/latest/download/releases-summary.json";
/**

@@ -16,3 +16,2 @@ * Given a URL to an already-synthesized

ide: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -31,5 +30,5 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
};
runtime: {
link?: string | undefined;
type: "ide" | "runtime";

@@ -48,2 +47,3 @@ channel: "lts" | "stable" | "beta" | "unstable";

};
link?: string | undefined;
};

@@ -50,0 +50,0 @@ channel: "lts" | "stable" | "beta" | "unstable";

@@ -9,3 +9,3 @@ import { z } from 'zod';

*/
export const releasesUrl = 'https://github.com/bscotch/gamemaker-info/releases/latest/download/releases-summary.json';
export const releasesUrl = 'https://github.com/bscotch/stitch/releases/latest/download/releases-summary.json';
/**

@@ -12,0 +12,0 @@ * Given a URL to an already-synthesized

@@ -0,0 +0,0 @@ export declare function ideFeedUrls(): {

@@ -0,0 +0,0 @@ import { literal } from '@bscotch/utility/browser';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { assert } from '@bscotch/utility/browser';

{
"name": "@bscotch/gamemaker-releases",
"version": "0.4.1",
"version": "0.4.2",
"description": "Utility for combining GameMaker release data into a single feed.",

@@ -44,9 +44,9 @@ "keywords": [

"entities": "^4.4.0",
"fast-xml-parser": "^4.1.2",
"fast-xml-parser": "^4.1.3",
"node-fetch": "^3.3.0",
"tslib": "^2.5.0",
"zod": "^3.20.6"
"zod": "^3.21.2"
},
"devDependencies": {
"@types/chai": "^4",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",

@@ -56,4 +56,4 @@ "@types/rimraf": "^3",

"mocha": "^10.2.0",
"rimraf": "^4.1.2",
"typescript": "^4.9.5"
"rimraf": "^4.3.1",
"typescript": "5.0.1-rc"
},

@@ -66,3 +66,3 @@ "publishConfig": {

"clean": "rimraf build dist",
"test": "mocha --config ../../config/.mocharc.cjs",
"test": "mocha --config ../../config/.mocharc.cjs --timeout=30000",
"test:dev": "mocha --config ../../config/.mocharc.cjs --forbid-only=false --parallel=false --timeout=9999999999",

@@ -69,0 +69,0 @@ "watch": "tsc --build --watch"

@@ -7,3 +7,3 @@ # GameMaker Releases

Latest releases document: https://github.com/bscotch/gamemaker-info/releases/latest/download/releases-summary.json
Latest releases document: https://github.com/bscotch/stitch/releases/latest/download/releases-summary.json

@@ -10,0 +10,0 @@ ## Requirements

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

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