add CI pipeline with lint, test, build
Some checks failed
CI / build (push) Failing after 3m53s

This commit is contained in:
21_KnjazkinSO
2026-05-10 16:19:05 +03:00
parent 92843ee86c
commit 08d4cc1f80
8421 changed files with 1363645 additions and 0 deletions

13
node_modules/fast-json-stable-stringify/test/cmp.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
'use strict';
var test = require('tape');
var stringify = require('../');
test('custom comparison function', function (t) {
t.plan(1);
var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
var s = stringify(obj, function (a, b) {
return a.key < b.key ? 1 : -1;
});
t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}');
});