diff --git a/abbrev-1.0.7.tgz b/abbrev-1.0.7.tgz deleted file mode 100644 index 54aba8c..0000000 --- a/abbrev-1.0.7.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30f6880e415743312a0021a458dd6d26a7211f803a42f1e4a30ebff44d26b7de -size 2425 diff --git a/ansi-regex-2.0.0.tgz b/ansi-regex-2.0.0.tgz deleted file mode 100644 index 4d1c693..0000000 --- a/ansi-regex-2.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0af737038784f9ae8076ee3045a8e2a8bf001e6def549f13d4f0d6cd668f358 -size 1665 diff --git a/ansi-styles-2.1.0.tgz b/ansi-styles-2.1.0.tgz deleted file mode 100644 index 9b2de71..0000000 --- a/ansi-styles-2.1.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9784603b3e96b13519c1f2bca8f86685d494f4e01c22816a88018ffcc93f35b4 -size 2443 diff --git a/asar-0.9.1.tgz b/asar-0.9.1.tgz deleted file mode 100644 index c6b557a..0000000 --- a/asar-0.9.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39f4691d2cf27b8c9fcf2e30ef5648228e080d8277109d46eda28ea54dae056e -size 11757 diff --git a/asar.changes b/asar.changes index d3d53ca..ddf4af2 100644 --- a/asar.changes +++ b/asar.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Aug 16 15:09:07 UTC 2022 - Bruno Pitrus +- New upstream version 3.2.0 + * give better hints when failing due to bad links +- Use github tarball and use yarn to download vendored dependencies per yarn.lock + +------------------------------------------------------------------- +Thu Mar 03 00:00:00 UTC 2022 - Bruno Pitrus +- Resurrect package and update to 3.1.0 +- Use local-npm-registry to install dependencies + ------------------------------------------------------------------- Sun Feb 14 15:11:12 UTC 2016 - i@marguerite.su diff --git a/asar.json b/asar.json deleted file mode 100644 index 5f8fdc5..0000000 --- a/asar.json +++ /dev/null @@ -1,455 +0,0 @@ -{ - "asar": { - "version": "0.9.1", - "dependencies": { - "chromium-pickle-js": { - "version": "0.1.0" - }, - "commander": { - "version": "2.3.0", - "dependencies": { - "graceful-readlink": { - "version": "1.0.1" - } - } - }, - "cuint": { - "version": "0.1.5" - }, - "minimatch": { - "version": "2.0.4", - "dependencies": { - "brace-expansion": { - "version": "1.1.3", - "dependencies": { - "balanced-match": { - "version": "0.3.0" - }, - "concat-map": { - "version": "0.0.1" - } - } - } - } - }, - "mkdirp": { - "version": "0.5.1", - "dependencies": { - "minimist": { - "version": "0.0.8" - } - } - }, - "mksnapshot": { - "version": "0.1.0", - "dependencies": { - "decompress-zip": { - "version": "0.1.0", - "dependencies": { - "binary": { - "version": "0.3.0", - "dependencies": { - "chainsaw": { - "version": "0.1.0", - "dependencies": { - "traverse": { - "version": "0.3.9" - } - } - }, - "buffers": { - "version": "0.1.1" - } - } - }, - "graceful-fs": { - "version": "3.0.8" - }, - "mkpath": { - "version": "0.1.0" - }, - "nopt": { - "version": "3.0.6", - "dependencies": { - "abbrev": { - "version": "1.0.7" - } - } - }, - "q": { - "version": "1.4.1" - }, - "readable-stream": { - "version": "1.1.13", - "dependencies": { - "core-util-is": { - "version": "1.0.2" - }, - "isarray": { - "version": "0.0.1" - }, - "string_decoder": { - "version": "0.10.31" - }, - "inherits": { - "version": "2.0.1" - } - } - }, - "touch": { - "version": "0.0.3", - "dependencies": { - "nopt": { - "version": "1.0.10", - "dependencies": { - "abbrev": { - "version": "1.0.7" - } - } - } - } - } - } - }, - "fs-extra": { - "version": "0.18.2", - "dependencies": { - "graceful-fs": { - "version": "3.0.8" - }, - "jsonfile": { - "version": "2.2.3" - }, - "rimraf": { - "version": "2.5.2", - "dependencies": { - "glob": { - "version": "7.0.0", - "dependencies": { - "inflight": { - "version": "1.0.4", - "dependencies": { - "once": { - "version": "1.3.3", - "dependencies": { - "wrappy": { - "version": "1.0.0" - } - } - }, - "wrappy": { - "version": "1.0.0" - } - } - }, - "inherits": { - "version": "2.0.0" - }, - "minimatch": { - "version": "3.0.0", - "dependencies": { - "brace-expansion": { - "version": "1.1.3", - "dependencies": { - "balanced-match": { - "version": "0.3.0" - }, - "concat-map": { - "version": "0.0.1" - } - } - } - } - }, - "once": { - "version": "1.3.3", - "dependencies": { - "wrappy": { - "version": "1.0.0" - } - } - }, - "path-is-absolute": { - "version": "1.0.0" - } - } - } - } - } - } - }, - "request": { - "version": "2.55.0", - "dependencies": { - "bl": { - "version": "0.9.5", - "dependencies": { - "readable-stream": { - "version": "1.0.33", - "dependencies": { - "core-util-is": { - "version": "1.0.2" - }, - "isarray": { - "version": "0.0.1" - }, - "string_decoder": { - "version": "0.10.31" - }, - "inherits": { - "version": "2.0.1" - } - } - } - } - }, - "caseless": { - "version": "0.9.0" - }, - "forever-agent": { - "version": "0.6.1" - }, - "form-data": { - "version": "0.2.0", - "dependencies": { - "async": { - "version": "0.9.2" - }, - "combined-stream": { - "version": "0.0.7", - "dependencies": { - "delayed-stream": { - "version": "0.0.5" - } - } - }, - "mime-types": { - "version": "2.0.14", - "dependencies": { - "mime-db": { - "version": "1.12.0" - } - } - } - } - }, - "json-stringify-safe": { - "version": "5.0.1" - }, - "mime-types": { - "version": "2.0.14", - "dependencies": { - "mime-db": { - "version": "1.12.0" - } - } - }, - "node-uuid": { - "version": "1.4.7" - }, - "qs": { - "version": "2.4.2" - }, - "tunnel-agent": { - "version": "0.4.2" - }, - "tough-cookie": { - "version": "2.2.1" - }, - "http-signature": { - "version": "0.10.1", - "dependencies": { - "assert-plus": { - "version": "0.1.5" - }, - "asn1": { - "version": "0.1.11" - }, - "ctype": { - "version": "0.5.3" - } - } - }, - "oauth-sign": { - "version": "0.6.0" - }, - "hawk": { - "version": "2.3.1", - "dependencies": { - "hoek": { - "version": "2.16.3" - }, - "boom": { - "version": "2.10.1", - "dependencies": { - "hoek": { - "version": "2.16.3" - } - } - }, - "cryptiles": { - "version": "2.0.5", - "dependencies": { - "boom": { - "version": "2.10.1", - "dependencies": { - "hoek": { - "version": "2.16.3" - } - } - } - } - }, - "sntp": { - "version": "1.0.9", - "dependencies": { - "hoek": { - "version": "2.16.3" - } - } - } - } - }, - "aws-sign2": { - "version": "0.5.0" - }, - "stringstream": { - "version": "0.0.5" - }, - "combined-stream": { - "version": "0.0.7", - "dependencies": { - "delayed-stream": { - "version": "0.0.5" - } - } - }, - "isstream": { - "version": "0.1.2" - }, - "har-validator": { - "version": "1.8.0", - "dependencies": { - "bluebird": { - "version": "2.10.2" - }, - "chalk": { - "version": "1.1.1", - "dependencies": { - "ansi-styles": { - "version": "2.1.0" - }, - "escape-string-regexp": { - "version": "1.0.4" - }, - "has-ansi": { - "version": "2.0.0", - "dependencies": { - "ansi-regex": { - "version": "2.0.0" - } - } - }, - "strip-ansi": { - "version": "3.0.0", - "dependencies": { - "ansi-regex": { - "version": "2.0.0" - } - } - }, - "supports-color": { - "version": "2.0.0" - } - } - }, - "commander": { - "version": "2.9.0", - "dependencies": { - "graceful-readlink": { - "version": "1.0.1" - } - } - }, - "is-my-json-valid": { - "version": "2.12.4", - "dependencies": { - "generate-function": { - "version": "2.0.0" - }, - "generate-object-property": { - "version": "1.2.0", - "dependencies": { - "is-property": { - "version": "1.0.2" - } - } - }, - "jsonpointer": { - "version": "2.0.0" - }, - "xtend": { - "version": "4.0.1" - } - } - } - } - } - } - } - } - }, - "glob": { - "version": "5.0.15", - "dependencies": { - "inflight": { - "version": "1.0.4", - "dependencies": { - "once": { - "version": "1.3.3", - "dependencies": { - "wrappy": { - "version": "1.0.0" - } - } - }, - "wrappy": { - "version": "1.0.0" - } - } - }, - "inherits": { - "version": "2.0.0" - }, - "minimatch": { - "version": "3.0.0", - "dependencies": { - "brace-expansion": { - "version": "1.1.3", - "dependencies": { - "balanced-match": { - "version": "0.3.0" - }, - "concat-map": { - "version": "0.0.1" - } - } - } - } - }, - "once": { - "version": "1.3.3", - "dependencies": { - "wrappy": { - "version": "1.0.0" - } - } - }, - "path-is-absolute": { - "version": "1.0.0" - } - } - } - } - } -} \ No newline at end of file diff --git a/asar.license b/asar.license deleted file mode 100644 index 32eb1b4..0000000 --- a/asar.license +++ /dev/null @@ -1 +0,0 @@ -MIT and MIT/X11 and ISC and WTFPL2 and BSD and Apache-2.0 and BSD-3-Clause \ No newline at end of file diff --git a/asar.source b/asar.source deleted file mode 100644 index 7e17cd7..0000000 --- a/asar.source +++ /dev/null @@ -1,85 +0,0 @@ -Source1: http://registry.npmjs.org/chromium-pickle-js/-/chromium-pickle-js-0.1.0.tgz -Source2: http://registry.npmjs.org/commander/-/commander-2.3.0.tgz -Source3: http://registry.npmjs.org/commander/-/commander-2.9.0.tgz -Source4: http://registry.npmjs.org/cuint/-/cuint-0.1.5.tgz -Source5: http://registry.npmjs.org/balanced-match/-/balanced-match-0.3.0.tgz -Source6: http://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz -Source7: http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.3.tgz -Source8: http://registry.npmjs.org/minimatch/-/minimatch-2.0.4.tgz -Source9: http://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz -Source10: http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz -Source11: http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz -Source12: http://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz -Source13: http://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz -Source14: http://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz -Source15: http://registry.npmjs.org/binary/-/binary-0.3.0.tgz -Source16: http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz -Source17: http://registry.npmjs.org/mkpath/-/mkpath-0.1.0.tgz -Source18: http://registry.npmjs.org/abbrev/-/abbrev-1.0.7.tgz -Source19: http://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz -Source20: http://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz -Source21: http://registry.npmjs.org/q/-/q-1.4.1.tgz -Source22: http://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz -Source23: http://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz -Source24: http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz -Source25: http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz -Source26: http://registry.npmjs.org/inherits/-/inherits-2.0.0.tgz -Source27: http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz -Source28: http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz -Source29: http://registry.npmjs.org/touch/-/touch-0.0.3.tgz -Source30: http://registry.npmjs.org/decompress-zip/-/decompress-zip-0.1.0.tgz -Source31: http://registry.npmjs.org/jsonfile/-/jsonfile-2.2.3.tgz -Source32: http://registry.npmjs.org/wrappy/-/wrappy-1.0.0.tgz -Source33: http://registry.npmjs.org/once/-/once-1.3.3.tgz -Source34: http://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz -Source35: http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz -Source36: http://registry.npmjs.org/glob/-/glob-7.0.0.tgz -Source37: http://registry.npmjs.org/glob/-/glob-5.0.15.tgz -Source38: http://registry.npmjs.org/rimraf/-/rimraf-2.5.2.tgz -Source39: http://registry.npmjs.org/fs-extra/-/fs-extra-0.18.2.tgz -Source40: http://registry.npmjs.org/bl/-/bl-0.9.5.tgz -Source41: http://registry.npmjs.org/caseless/-/caseless-0.9.0.tgz -Source42: http://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz -Source43: http://registry.npmjs.org/async/-/async-0.9.2.tgz -Source44: http://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz -Source45: http://registry.npmjs.org/combined-stream/-/combined-stream-0.0.7.tgz -Source46: http://registry.npmjs.org/mime-db/-/mime-db-1.12.0.tgz -Source47: http://registry.npmjs.org/mime-types/-/mime-types-2.0.14.tgz -Source48: http://registry.npmjs.org/form-data/-/form-data-0.2.0.tgz -Source49: http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz -Source50: http://registry.npmjs.org/node-uuid/-/node-uuid-1.4.7.tgz -Source51: http://registry.npmjs.org/qs/-/qs-2.4.2.tgz -Source52: http://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.2.tgz -Source53: http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.1.tgz -Source54: http://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz -Source55: http://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz -Source56: http://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz -Source57: http://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz -Source58: http://registry.npmjs.org/oauth-sign/-/oauth-sign-0.6.0.tgz -Source59: http://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz -Source60: http://registry.npmjs.org/boom/-/boom-2.10.1.tgz -Source61: http://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz -Source62: http://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz -Source63: http://registry.npmjs.org/hawk/-/hawk-2.3.1.tgz -Source64: http://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz -Source65: http://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz -Source66: http://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz -Source67: http://registry.npmjs.org/bluebird/-/bluebird-2.10.2.tgz -Source68: http://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz -Source69: http://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.4.tgz -Source70: http://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz -Source71: http://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz -Source72: http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz -Source73: http://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz -Source74: http://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz -Source75: http://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz -Source76: http://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz -Source77: http://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz -Source78: http://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz -Source79: http://registry.npmjs.org/jsonpointer/-/jsonpointer-2.0.0.tgz -Source80: http://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz -Source81: http://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.4.tgz -Source82: http://registry.npmjs.org/har-validator/-/har-validator-1.8.0.tgz -Source83: http://registry.npmjs.org/request/-/request-2.55.0.tgz -Source84: http://registry.npmjs.org/mksnapshot/-/mksnapshot-0.1.0.tgz -Source85: http://registry.npmjs.org/asar/-/asar-0.9.1.tgz diff --git a/asar.spec b/asar.spec index 8eca7a9..f6bd1a8 100644 --- a/asar.spec +++ b/asar.spec @@ -17,129 +17,72 @@ Name: asar -Version: 0.9.1 +Version: 3.2.0 Release: 0 -Summary: Creating atom-shell app packages +Summary: Creating atom-shell (electron) app packages License: MIT and X11 and ISC and SUSE-WTFPL-2.0 and Apache-2.0 and BSD-3-Clause Group: Development/Languages/NodeJS -Url: https://github.com/atom/asar -Source0: %{name}.json -# DO NOT CHANGE MANUALLY START -# pasted from %{name}.source generated by nova -Source1: http://registry.npmjs.org/chromium-pickle-js/-/chromium-pickle-js-0.1.0.tgz -Source2: http://registry.npmjs.org/commander/-/commander-2.3.0.tgz -Source3: http://registry.npmjs.org/commander/-/commander-2.9.0.tgz -Source4: http://registry.npmjs.org/cuint/-/cuint-0.1.5.tgz -Source5: http://registry.npmjs.org/balanced-match/-/balanced-match-0.3.0.tgz -Source6: http://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz -Source7: http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.3.tgz -Source8: http://registry.npmjs.org/minimatch/-/minimatch-2.0.4.tgz -Source9: http://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz -Source10: http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz -Source11: http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz -Source12: http://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz -Source13: http://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz -Source14: http://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz -Source15: http://registry.npmjs.org/binary/-/binary-0.3.0.tgz -Source16: http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz -Source17: http://registry.npmjs.org/mkpath/-/mkpath-0.1.0.tgz -Source18: http://registry.npmjs.org/abbrev/-/abbrev-1.0.7.tgz -Source19: http://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz -Source20: http://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz -Source21: http://registry.npmjs.org/q/-/q-1.4.1.tgz -Source22: http://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz -Source23: http://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz -Source24: http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz -Source25: http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz -Source26: http://registry.npmjs.org/inherits/-/inherits-2.0.0.tgz -Source27: http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz -Source28: http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz -Source29: http://registry.npmjs.org/touch/-/touch-0.0.3.tgz -Source30: http://registry.npmjs.org/decompress-zip/-/decompress-zip-0.1.0.tgz -Source31: http://registry.npmjs.org/jsonfile/-/jsonfile-2.2.3.tgz -Source32: http://registry.npmjs.org/wrappy/-/wrappy-1.0.0.tgz -Source33: http://registry.npmjs.org/once/-/once-1.3.3.tgz -Source34: http://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz -Source35: http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz -Source36: http://registry.npmjs.org/glob/-/glob-7.0.0.tgz -Source37: http://registry.npmjs.org/glob/-/glob-5.0.15.tgz -Source38: http://registry.npmjs.org/rimraf/-/rimraf-2.5.2.tgz -Source39: http://registry.npmjs.org/fs-extra/-/fs-extra-0.18.2.tgz -Source40: http://registry.npmjs.org/bl/-/bl-0.9.5.tgz -Source41: http://registry.npmjs.org/caseless/-/caseless-0.9.0.tgz -Source42: http://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz -Source43: http://registry.npmjs.org/async/-/async-0.9.2.tgz -Source44: http://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz -Source45: http://registry.npmjs.org/combined-stream/-/combined-stream-0.0.7.tgz -Source46: http://registry.npmjs.org/mime-db/-/mime-db-1.12.0.tgz -Source47: http://registry.npmjs.org/mime-types/-/mime-types-2.0.14.tgz -Source48: http://registry.npmjs.org/form-data/-/form-data-0.2.0.tgz -Source49: http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz -Source50: http://registry.npmjs.org/node-uuid/-/node-uuid-1.4.7.tgz -Source51: http://registry.npmjs.org/qs/-/qs-2.4.2.tgz -Source52: http://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.2.tgz -Source53: http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.1.tgz -Source54: http://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz -Source55: http://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz -Source56: http://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz -Source57: http://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz -Source58: http://registry.npmjs.org/oauth-sign/-/oauth-sign-0.6.0.tgz -Source59: http://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz -Source60: http://registry.npmjs.org/boom/-/boom-2.10.1.tgz -Source61: http://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz -Source62: http://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz -Source63: http://registry.npmjs.org/hawk/-/hawk-2.3.1.tgz -Source64: http://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz -Source65: http://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz -Source66: http://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz -Source67: http://registry.npmjs.org/bluebird/-/bluebird-2.10.2.tgz -Source68: http://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz -Source69: http://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.4.tgz -Source70: http://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz -Source71: http://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz -Source72: http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz -Source73: http://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz -Source74: http://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz -Source75: http://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz -Source76: http://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz -Source77: http://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz -Source78: http://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz -Source79: http://registry.npmjs.org/jsonpointer/-/jsonpointer-2.0.0.tgz -Source80: http://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz -Source81: http://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.4.tgz -Source82: http://registry.npmjs.org/har-validator/-/har-validator-1.8.0.tgz -Source83: http://registry.npmjs.org/request/-/request-2.55.0.tgz -Source84: http://registry.npmjs.org/mksnapshot/-/mksnapshot-0.1.0.tgz -Source85: http://registry.npmjs.org/asar/-/asar-0.9.1.tgz -# DO NOT CHANGE MANUALLY END -BuildRequires: fdupes -BuildRequires: nodejs-packaging -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -%{nodejs_find_provides_and_requires} +Url: https://github.com/electron/asar +Source0: https://github.com/electron/asar/archive/refs/tags/v%{version}.tar.gz +# Created by prepare-vendor.sh +Source1: vendor.tar.zst + +BuildArch: noarch + +BuildRequires: fdupes +BuildRequires: nodejs-packaging +BuildRequires: npm +BuildRequires: zstd +%global __requires_exclude ^npm(.*)$ +Provides: nodejs-asar = %{version} %description Asar is a simple extensive archive format, it works like tar that concatenates all files together without compression, while having random access support. + %prep -%nodejs_prep +%autosetup -p1 -a 1 %build -#nothing to do +cd node_modules +npm rebuild --verbose %install -%nodejs_mkdir -%nodejs_copy -%nodejs_build -%nodejs_clean -%nodejs_filelist -%nodejs_fixdep abbrev "^1.0.7" -find . ! -name "asar" -type f -delete -print +mkdir -pv %{buildroot}%{nodejs_sitearch} +mkdir -pv %{buildroot}%{_bindir} +cp -lr . %{buildroot}%{nodejs_sitearch}/asar +ln -srv %{buildroot}%{nodejs_sitearch}/asar/bin/asar.js %{buildroot}%{_bindir}/asar +#fix shebang +sed -i '1s/env //' %{buildroot}%{nodejs_sitearch}/asar/bin/asar.js +cd %{buildroot}%{nodejs_sitearch}/asar +#Remove development garbage +find -name example -print0 |xargs -r0 -- rm -rvf +find -name test -print0 |xargs -r0 -- rm -rvf +find -name typings -print0 |xargs -r0 -- rm -rvf +find -name @types -print0 |xargs -r0 -- rm -rvf +find -name .github -print0 |xargs -r0 -- rm -rvf +find -name .circleci -print0 |xargs -r0 -- rm -rvf +find -name '*.md' -type f -print -delete +find -name '*.markdown' -type f -print -delete +find -name '*.ts' -type f -print -delete +find -name '.*.yml' -type f -print -delete +find -name '.*ignore' -type f -print -delete +find -name 'snapcraft*' -type f -print -delete +find -name '.git*' -type f -print -delete +find -name yarn.lock -type f -print -delete +find -name '.yarn*' -type f -print -delete +find -name '.releaserc*' -type f -print -delete + + %fdupes %{buildroot} -%files -f %{_sourcedir}/files.lst -%defattr(-,root,root,-) +%files +%defattr(-,root,root) +%doc CHANGELOG.md README.md +%license LICENSE.md +/usr/bin/asar +%{nodejs_sitearch} -%changelog +%changelog \ No newline at end of file diff --git a/asn1-0.1.11.tgz b/asn1-0.1.11.tgz deleted file mode 100644 index c570224..0000000 --- a/asn1-0.1.11.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7206eadc8a9344e484bcce979e22a12c9fa64c1395aa0544b8b767808b268f43 -size 7855 diff --git a/assert-plus-0.1.5.tgz b/assert-plus-0.1.5.tgz deleted file mode 100644 index 31a6ef6..0000000 --- a/assert-plus-0.1.5.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:be8817ac92dd8a0dc9e0d2e79c1420a0399be89313c9585d05226ec7aef54fc9 -size 3431 diff --git a/async-0.9.2.tgz b/async-0.9.2.tgz deleted file mode 100644 index 248769a..0000000 --- a/async-0.9.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8215cab4b997a502912679742c9a7051c854ccf02271b972eb977398554e78af -size 20948 diff --git a/aws-sign2-0.5.0.tgz b/aws-sign2-0.5.0.tgz deleted file mode 100644 index 5810595..0000000 --- a/aws-sign2-0.5.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf35697e73e18a9128022cc8c547bad773b807dcca74f17c47dee60b031abf8b -size 5049 diff --git a/balanced-match-0.3.0.tgz b/balanced-match-0.3.0.tgz deleted file mode 100644 index db47e2f..0000000 --- a/balanced-match-0.3.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d933093fc98d41e1669818dc19a0428354725f330665ce2a9d6300c673b9c620 -size 2895 diff --git a/binary-0.3.0.tgz b/binary-0.3.0.tgz deleted file mode 100644 index dff895f..0000000 --- a/binary-0.3.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:940bc9b40fb2a875876e3ca1be3d05a7a419881e4201c76c83ffbb05568b6909 -size 9762 diff --git a/bl-0.9.5.tgz b/bl-0.9.5.tgz deleted file mode 100644 index a430dbb..0000000 --- a/bl-0.9.5.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecf3bb1c5765c897989958ef45a7134f3325a099c26608788879d35a8a416900 -size 9279 diff --git a/bluebird-2.10.2.tgz b/bluebird-2.10.2.tgz deleted file mode 100644 index 7eb01a3..0000000 --- a/bluebird-2.10.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb3d60df632c0a48ef75704e5d6e829ee58e26d7791411545750894d14c85e64 -size 101483 diff --git a/boom-2.10.1.tgz b/boom-2.10.1.tgz deleted file mode 100644 index 478a1c7..0000000 --- a/boom-2.10.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a61cb4df27252b2945f69cdfcbe4bc879bf57ea1a4a7ec5838ef7fa56294cedc -size 39495 diff --git a/brace-expansion-1.1.3.tgz b/brace-expansion-1.1.3.tgz deleted file mode 100644 index 36b2f96..0000000 --- a/brace-expansion-1.1.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7b9f69d8f35d4254432a2b4e9fa69e10ab216bbcac7206cb2da1906ee5ad026f -size 3910 diff --git a/buffers-0.1.1.tgz b/buffers-0.1.1.tgz deleted file mode 100644 index 8d53ac7..0000000 --- a/buffers-0.1.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8de49c60e467005182d9687b5d87775bbcec6385ac63220b7741327441deb6d -size 4195 diff --git a/caseless-0.9.0.tgz b/caseless-0.9.0.tgz deleted file mode 100644 index 05255be..0000000 --- a/caseless-0.9.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:846f0201b6785c18be5608e18c039afd58686d28d96fb3928bf7a8515b30db89 -size 1799 diff --git a/chainsaw-0.1.0.tgz b/chainsaw-0.1.0.tgz deleted file mode 100644 index cfed9fd..0000000 --- a/chainsaw-0.1.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:01586a6aa1d1174ae07aff69822d01e0704fe30f23ac22221c9b804bab976cfb -size 4598 diff --git a/chalk-1.1.1.tgz b/chalk-1.1.1.tgz deleted file mode 100644 index 4647818..0000000 --- a/chalk-1.1.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:68dcb86477ff3a3e50d4d482962fc9333f1d61e855bf14b2fe8cb89c595a1eb7 -size 5242 diff --git a/chromium-pickle-js-0.1.0.tgz b/chromium-pickle-js-0.1.0.tgz deleted file mode 100644 index f7a7625..0000000 --- a/chromium-pickle-js-0.1.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2fd652baa4f2de69136d52d5efb11e20e74dce3c269b9c231bea666109223c27 -size 2953 diff --git a/combined-stream-0.0.7.tgz b/combined-stream-0.0.7.tgz deleted file mode 100644 index 050e55d..0000000 --- a/combined-stream-0.0.7.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:848e1c4911ea0ef76d105909e43f6dbf6c9d11db836549872e2f0296a06c6f96 -size 3501 diff --git a/commander-2.3.0.tgz b/commander-2.3.0.tgz deleted file mode 100644 index ddfb95c..0000000 --- a/commander-2.3.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d8a726755f1c6900aa9511350866a5dd9a3f91a87fe08efde14c89b4880109b -size 8042 diff --git a/commander-2.9.0.tgz b/commander-2.9.0.tgz deleted file mode 100644 index bab488e..0000000 --- a/commander-2.9.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:197a1e0b408bc686fbf62ed5ef43210251c616ba1b09721e8299d4484217bd47 -size 13425 diff --git a/concat-map-0.0.1.tgz b/concat-map-0.0.1.tgz deleted file mode 100644 index 79aeabc..0000000 --- a/concat-map-0.0.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35902dd620cf0058c49ea614120f18a889d984269a90381b7622e79c2cfe4261 -size 2263 diff --git a/core-util-is-1.0.2.tgz b/core-util-is-1.0.2.tgz deleted file mode 100644 index fe69403..0000000 --- a/core-util-is-1.0.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4a44dab6579ede3e06ade58d26f8fd642eae09153fd59c608fcb7951a499398 -size 7016 diff --git a/cryptiles-2.0.5.tgz b/cryptiles-2.0.5.tgz deleted file mode 100644 index eb09e49..0000000 --- a/cryptiles-2.0.5.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dac94398339bad4fcefe7212915171d1838ccf989ac1053910f10b778daa1238 -size 2904 diff --git a/ctype-0.5.3.tgz b/ctype-0.5.3.tgz deleted file mode 100644 index 3f28749..0000000 --- a/ctype-0.5.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb58300f21d91728d2f9f8680d70bb9e8806a357fab945eb4be8ead1fbfb47fe -size 37746 diff --git a/cuint-0.1.5.tgz b/cuint-0.1.5.tgz deleted file mode 100644 index 35ee539..0000000 --- a/cuint-0.1.5.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3948ad177e9f058bc350dc4410e9a3f1869b76a19f80c294765ce70dcbb9488d -size 18581 diff --git a/decompress-zip-0.1.0.tgz b/decompress-zip-0.1.0.tgz deleted file mode 100644 index cbd0b67..0000000 --- a/decompress-zip-0.1.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b12602e2826f5dd7c8496d3096f062d94857fc2581b0ce66758bf72715ba59a -size 11203 diff --git a/delayed-stream-0.0.5.tgz b/delayed-stream-0.0.5.tgz deleted file mode 100644 index fc112d0..0000000 --- a/delayed-stream-0.0.5.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f40e440dac0f853577d5225d7bd4b2026ea1447a724f4ba1096e29983ee595dd -size 4711 diff --git a/escape-string-regexp-1.0.4.tgz b/escape-string-regexp-1.0.4.tgz deleted file mode 100644 index 1e7c432..0000000 --- a/escape-string-regexp-1.0.4.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e23971b0f2f70cb13010d91a307c6a9ee834dd37e34a6ba83024823fb6e080e -size 1583 diff --git a/forever-agent-0.6.1.tgz b/forever-agent-0.6.1.tgz deleted file mode 100644 index b48ccc9..0000000 --- a/forever-agent-0.6.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eca862e1fd07bf54ff68ccf70450a64dc3d6b807ee9e3ddeb5d96773a3c806c5 -size 5035 diff --git a/form-data-0.2.0.tgz b/form-data-0.2.0.tgz deleted file mode 100644 index c3bc561..0000000 --- a/form-data-0.2.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:531f372b9b8b06566bc628a9fce66d222ce599ed7c4f0e2ee2ac38b5e5d3b7a0 -size 5939 diff --git a/fs-extra-0.18.2.tgz b/fs-extra-0.18.2.tgz deleted file mode 100644 index bc2acc6..0000000 --- a/fs-extra-0.18.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4bc518383983e7769886d61cb1beb6c86b5896e30d1d11abb0396a7fad5e70de -size 13181 diff --git a/generate-function-2.0.0.tgz b/generate-function-2.0.0.tgz deleted file mode 100644 index a786105..0000000 --- a/generate-function-2.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f797a03289c5305433b7e132a73e5517e3a860bbc249a0cb9cdb1a886c7b4c2 -size 2026 diff --git a/generate-object-property-1.2.0.tgz b/generate-object-property-1.2.0.tgz deleted file mode 100644 index 66fa254..0000000 --- a/generate-object-property-1.2.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:623c3f9901713bcafa9b50d21ba8117d57062aaebf0f7c28a3984841967a5399 -size 1634 diff --git a/glob-5.0.15.tgz b/glob-5.0.15.tgz deleted file mode 100644 index 0f5bfd3..0000000 --- a/glob-5.0.15.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3c945daf510834834abe87624deec08f6f7f4ec058cb6f3ff8c932edea448b7 -size 14800 diff --git a/glob-7.0.0.tgz b/glob-7.0.0.tgz deleted file mode 100644 index ea9c9b6..0000000 --- a/glob-7.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e788a5c2d200001bcd30a9a0314c131f0f77c9335bd2d915993d659766a5ca34 -size 14574 diff --git a/graceful-fs-3.0.8.tgz b/graceful-fs-3.0.8.tgz deleted file mode 100644 index e3a0541..0000000 --- a/graceful-fs-3.0.8.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80dd1d738eb98856cb777465990f6a343562df7168146f3bd7f83966b17add5a -size 6185 diff --git a/graceful-readlink-1.0.1.tgz b/graceful-readlink-1.0.1.tgz deleted file mode 100644 index d4407ea..0000000 --- a/graceful-readlink-1.0.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c1ce83682d563874517386a13c364eb0a8494e99a69203cff264a1381cb3a300 -size 1531 diff --git a/har-validator-1.8.0.tgz b/har-validator-1.8.0.tgz deleted file mode 100644 index a156b05..0000000 --- a/har-validator-1.8.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:609625d76bbbc2f69775aa0ca79ee8a89235a9dde2cf18671a297dd40ff8a494 -size 5534 diff --git a/has-ansi-2.0.0.tgz b/has-ansi-2.0.0.tgz deleted file mode 100644 index 8bf4d0f..0000000 --- a/has-ansi-2.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e30265eb491e78d3586ea64dea6b61f3d45a28a28d908caf73f04531764344ed -size 1702 diff --git a/hawk-2.3.1.tgz b/hawk-2.3.1.tgz deleted file mode 100644 index c1fe93f..0000000 --- a/hawk-2.3.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fcc9974a9160a45181576f3ba9856483a06e69e0f49991cec02c40f880401b01 -size 117764 diff --git a/hoek-2.16.3.tgz b/hoek-2.16.3.tgz deleted file mode 100644 index 64c08ad..0000000 --- a/hoek-2.16.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b203a87561b58b0c712cf1df4a5b362d3709b851c5e6cc4bfa7c020bd372672d -size 65204 diff --git a/http-signature-0.10.1.tgz b/http-signature-0.10.1.tgz deleted file mode 100644 index 301a824..0000000 --- a/http-signature-0.10.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3529d9437e34c26aec2436efde67eebfbefbd1851e6c4487b50acdb258754dc3 -size 12524 diff --git a/inflight-1.0.4.tgz b/inflight-1.0.4.tgz deleted file mode 100644 index c710e1b..0000000 --- a/inflight-1.0.4.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ccf2a35fa2e3f2704124b16affca180651b7d79647a2b4707491c4f3e6397d66 -size 2556 diff --git a/inherits-2.0.0.tgz b/inherits-2.0.0.tgz deleted file mode 100644 index c55c55b..0000000 --- a/inherits-2.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c0e9ab9e025f0be599d62752764964416832d38d93a4143242ec4deb4de1ae0 -size 1958 diff --git a/inherits-2.0.1.tgz b/inherits-2.0.1.tgz deleted file mode 100644 index d4bf119..0000000 --- a/inherits-2.0.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0d5493f8142aff09125344665a90a8227b9a3ffa4bb8d086d0fb471c00deb29 -size 2122 diff --git a/is-my-json-valid-2.12.4.tgz b/is-my-json-valid-2.12.4.tgz deleted file mode 100644 index bf495ee..0000000 --- a/is-my-json-valid-2.12.4.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1aec5dede9013fda4416f96f70c7d0dbde8116210221bba9d745a9757e6f171 -size 17174 diff --git a/is-property-1.0.2.tgz b/is-property-1.0.2.tgz deleted file mode 100644 index 93781e7..0000000 --- a/is-property-1.0.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34b46bc9b66b67a542928517b96b2d84e4ca9baf5b58826e221eeb6e26020870 -size 4498 diff --git a/isarray-0.0.1.tgz b/isarray-0.0.1.tgz deleted file mode 100644 index 09c4c79..0000000 --- a/isarray-0.0.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e8444020696800aed92a09d4c52602adc76140a39b6c8e94fe7c89cf70a9f0a -size 2742 diff --git a/isstream-0.1.2.tgz b/isstream-0.1.2.tgz deleted file mode 100644 index 768cc9d..0000000 --- a/isstream-0.1.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79ae4378a2a3446fb72177b57138c1382565ad75e50baba2909731ebb5c90b44 -size 3755 diff --git a/json-stringify-safe-5.0.1.tgz b/json-stringify-safe-5.0.1.tgz deleted file mode 100644 index b5737fd..0000000 --- a/json-stringify-safe-5.0.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7fbbf65c0bff6d47f516c98638229dff0e981d0edfffecbcf971d7fe361928a -size 4014 diff --git a/jsonfile-2.2.3.tgz b/jsonfile-2.2.3.tgz deleted file mode 100644 index 5a948bb..0000000 --- a/jsonfile-2.2.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:293f152ba4d43eea62b2947d1ff45c33b344353fe4ada9a0e70f7008de725d1a -size 3342 diff --git a/jsonpointer-2.0.0.tgz b/jsonpointer-2.0.0.tgz deleted file mode 100644 index 5903f25..0000000 --- a/jsonpointer-2.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5b9bfe79f13acaa84d5816768487257eb159d75614caced5d24a5500c7ee55c -size 2119 diff --git a/mime-db-1.12.0.tgz b/mime-db-1.12.0.tgz deleted file mode 100644 index e46a6a4..0000000 --- a/mime-db-1.12.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a05d14054d5782b00a411c28762736ad1781a47d01bef218eb9db52cf4b95d1c -size 21510 diff --git a/mime-types-2.0.14.tgz b/mime-types-2.0.14.tgz deleted file mode 100644 index 7a5eb66..0000000 --- a/mime-types-2.0.14.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a427b1331104ccc6643758a6995deff6c178f84d7c361001873de55af3462348 -size 3374 diff --git a/minimatch-2.0.4.tgz b/minimatch-2.0.4.tgz deleted file mode 100644 index 1408513..0000000 --- a/minimatch-2.0.4.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d745320a1155a121ee8198a073768eb116af3e9b590e293d2a8c6ed589fa45c -size 13552 diff --git a/minimatch-3.0.0.tgz b/minimatch-3.0.0.tgz deleted file mode 100644 index 65c103b..0000000 --- a/minimatch-3.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d6e1ac367e7318c301be6ed1e8d0edffef6d75ca33f892be484a77d979d8990 -size 11354 diff --git a/minimist-0.0.8.tgz b/minimist-0.0.8.tgz deleted file mode 100644 index 4174c23..0000000 --- a/minimist-0.0.8.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7953afa208b921faf59c1fa5693764ca2be03e261ef91c88717ef20c8c474a33 -size 5990 diff --git a/mkdirp-0.5.1.tgz b/mkdirp-0.5.1.tgz deleted file mode 100644 index 72c959f..0000000 --- a/mkdirp-0.5.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77b52870e8dedc68e1e7afcdadba34d3da6debe4f3aae36453ba151f1638bf24 -size 4991 diff --git a/mkpath-0.1.0.tgz b/mkpath-0.1.0.tgz deleted file mode 100644 index b964ad0..0000000 --- a/mkpath-0.1.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6159b20743defda0e2b48edc91c2a2a245dc940a0fb88688bf98f6464d8a76a4 -size 3186 diff --git a/mksnapshot-0.1.0.tgz b/mksnapshot-0.1.0.tgz deleted file mode 100644 index cf73ec8..0000000 --- a/mksnapshot-0.1.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ad8d3a003dee4d7b79aa99b381ee785c9f5e106bcacf0f92484ee25ef5c2d6a -size 2679 diff --git a/node-uuid-1.4.7.tgz b/node-uuid-1.4.7.tgz deleted file mode 100644 index 8df53eb..0000000 --- a/node-uuid-1.4.7.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b06ddad2c55de6b06224e63acaa180ca2d09266b26c28dedc8ee0047eb71f47 -size 14548 diff --git a/nopt-1.0.10.tgz b/nopt-1.0.10.tgz deleted file mode 100644 index 1ab7fa4..0000000 --- a/nopt-1.0.10.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:426562943bfbbfc059eac83575ade5b78c6c01e5c1000a90a7defecfe2334927 -size 10240 diff --git a/nopt-3.0.6.tgz b/nopt-3.0.6.tgz deleted file mode 100644 index 962d8fc..0000000 --- a/nopt-3.0.6.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e460b4eb93f4f6cda338f57d8f74d85589334c5a2207e95c631adb96ae9ea9a8 -size 10314 diff --git a/oauth-sign-0.6.0.tgz b/oauth-sign-0.6.0.tgz deleted file mode 100644 index cda0d7a..0000000 --- a/oauth-sign-0.6.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c65cb1a7171fd76431924441157ed6def7f417082167531f5be8ad4815b0ca40 -size 6300 diff --git a/once-1.3.3.tgz b/once-1.3.3.tgz deleted file mode 100644 index 8d07f92..0000000 --- a/once-1.3.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ac84fb4ee8df51cc2605a32f248d834aa489ed79b0e3290b37b794c776da9a6 -size 1573 diff --git a/path-is-absolute-1.0.0.tgz b/path-is-absolute-1.0.0.tgz deleted file mode 100644 index c8942e0..0000000 --- a/path-is-absolute-1.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3957ee44f7dd053cd5a690bcd2021366f573f2aa1071f5ec9a2c123a6283196 -size 1846 diff --git a/prepare_vendor.sh b/prepare_vendor.sh new file mode 100644 index 0000000..3e91098 --- /dev/null +++ b/prepare_vendor.sh @@ -0,0 +1,84 @@ +#!/bin/bash +# shellcheck disable=2181 + +ASAR_PKGDIR="$(pwd)" +ASAR_PKGVERSION=$(<./*.spec grep ^Version | sed -e 's/Version:[ ]*//g') +ASAR_URL="https://github.com/electron/asar/archive/refs/tags/v${ASAR_PKGVERSION}.tar.gz" +ASAR_TARBALL=v${ASAR_PKGVERSION}.tar.gz +ASAR_TMPDIR=$(mktemp --tmpdir -d asar-XXXXXXXX) +ASAR_PATH="$ASAR_TMPDIR/asar-$ASAR_PKGVERSION" + + + +echo "VERSION: $ASAR_PKGVERSION" +echo "PATH: $ASAR_PATH" + +cleanup_tmpdir() +{ + popd 2> /dev/null || exit 1 + rm -rf "$ASAR_TMPDIR" +} +trap cleanup_tmpdir SIGINT + +cleanup_and_exit() +{ + cleanup_tmpdir + if test "$1" = 0 -o -z "$1"; then + exit 0 + else + exit "$1" + fi +} + +if [ ! -w "$ASAR_TARBALL" ]; then + wget "$ASAR_URL" +fi + +tar -xf "$ASAR_TARBALL" -C "$ASAR_TMPDIR" + +pushd "$ASAR_PATH" || cleanup_and_exit 1 + + + +echo ">>>>>> Install npm modules" +yarn install --pure-lockfile --ignore-scripts --production +ret=$? +if [ $ret -ne 0 ]; then + echo "ERROR: yarn install failed" + cleanup_and_exit 1 +fi + +echo ">>>>>> Cleanup object files" +find node_modules/ -name "*.node" -print -delete +find node_modules/ -name "*.jar" -print -delete +find node_modules/ -name "*.dll" -print -delete +find node_modules/ -name "*.dylib" -print -delete +find node_modules/ -name "*.so" -print -delete +find node_modules/ -name "*.o" -print -delete +find node_modules/ -name "*.a" -print -delete +find node_modules/ -name "*.snyk-*.flag" -print -delete +find node_modules/ -name "builderror.log" -print -delete +find node_modules/ -name ".deps" -type d -print0 | xargs -0 rm -rvf +sed -i "/\.deps/d" node_modules/.yarn-integrity + + +echo '>>>>>> Remove vendored binaries' +#We use sponge to avoid a race condition between find and rm +find . -type f| sponge |\ + xargs -P"$(nproc)" -- sh -c 'file "$@" | grep -v '\'': .*script'\'' | grep '\'': .*executable'\'' | tee /dev/stderr | sed '\''s/: .*//'\'' | xargs rm -fv' + + + +echo ">>>>>> Package vendor files" +#Use zst, it decompresses faster. +rm -f "${ASAR_PKGDIR}/vendor.tar.zst" +ZSTD_CLEVEL=19 ZSTD_NBTHREADS="$(nproc)" tar --zstd -vvcf "${ASAR_PKGDIR}/vendor.tar.zst" node_modules +if [ $? -ne 0 ]; then + cleanup_and_exit 1 +fi +echo "vendor $(du -sh "${ASAR_PKGDIR}/vendor.tar.zst")" + + +popd || cleanup_and_exit 1 + +cleanup_and_exit 0 diff --git a/q-1.4.1.tgz b/q-1.4.1.tgz deleted file mode 100644 index 8286747..0000000 --- a/q-1.4.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:545b428eb6dbb457148564b3c033b5e7f3f8495b785cd7f1ddc4813926e84115 -size 36332 diff --git a/qs-2.4.2.tgz b/qs-2.4.2.tgz deleted file mode 100644 index 0a89d53..0000000 --- a/qs-2.4.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b629204c05912a6f88ecd5f4b582491192aef343263d9951e98d7b4c6e0e7457 -size 10504 diff --git a/readable-stream-1.0.33.tgz b/readable-stream-1.0.33.tgz deleted file mode 100644 index d632194..0000000 --- a/readable-stream-1.0.33.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c11e70dc00d794eff111408e6c34d97ff24a2e9d28d480a61bcf193a16d5de3 -size 15414 diff --git a/readable-stream-1.1.13.tgz b/readable-stream-1.1.13.tgz deleted file mode 100644 index 2390b6c..0000000 --- a/readable-stream-1.1.13.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41d9d32684f37f5e60149120fd7dbc8d16803264e7a045570f6636c1450e459e -size 20599 diff --git a/request-2.55.0.tgz b/request-2.55.0.tgz deleted file mode 100644 index 03fea14..0000000 --- a/request-2.55.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:304085c58d20d156ebc7aa6f3e85805c33b13246fd8a53250a0e9ac48c6b6d27 -size 51341 diff --git a/rimraf-2.5.2.tgz b/rimraf-2.5.2.tgz deleted file mode 100644 index 479fcbe..0000000 --- a/rimraf-2.5.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0adf6500e1c3ad0643cfc1ab2447d595a83ff01a17a923d4df64f77a4cf46517 -size 5042 diff --git a/sntp-1.0.9.tgz b/sntp-1.0.9.tgz deleted file mode 100644 index 4fc6175..0000000 --- a/sntp-1.0.9.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6913bd03125d36dd741d4ffac1620170b568c655a1751bfb7e2ebb3ffa3edcf0 -size 6853 diff --git a/string_decoder-0.10.31.tgz b/string_decoder-0.10.31.tgz deleted file mode 100644 index e2febff..0000000 --- a/string_decoder-0.10.31.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e6e6ffeafe6157eb2278a909afc0b845234b13446dca8a9518c2b79b9c22086 -size 3608 diff --git a/stringstream-0.0.5.tgz b/stringstream-0.0.5.tgz deleted file mode 100644 index 20eaddb..0000000 --- a/stringstream-0.0.5.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed686bc9c2641ff7bb002b7c3bf58e2b8193f535490de7d07669ef465b40fcf3 -size 2593 diff --git a/strip-ansi-3.0.0.tgz b/strip-ansi-3.0.0.tgz deleted file mode 100644 index a71be13..0000000 --- a/strip-ansi-3.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ac91cf12256fc55fb442f6b214b1a89249c3ef5cb73bff54a3d6a97d8d6fefa -size 1703 diff --git a/supports-color-2.0.0.tgz b/supports-color-2.0.0.tgz deleted file mode 100644 index cb948e2..0000000 --- a/supports-color-2.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:725d4b25d44e0f16eb986ba957c14d9c8540de2f6a4fca961bf1f60aa1659ad3 -size 1951 diff --git a/touch-0.0.3.tgz b/touch-0.0.3.tgz deleted file mode 100644 index 24a34e7..0000000 --- a/touch-0.0.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d8200c861fe147e4418eabd22eda8b153c8cde042440686a64d47bd7544e1781 -size 2682 diff --git a/tough-cookie-2.2.1.tgz b/tough-cookie-2.2.1.tgz deleted file mode 100644 index 7130f47..0000000 --- a/tough-cookie-2.2.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c358c1b04c6af13c09623ef4b62b8287a908e2d669a7839335d842f0b925057 -size 61424 diff --git a/traverse-0.3.9.tgz b/traverse-0.3.9.tgz deleted file mode 100644 index 0b947e5..0000000 --- a/traverse-0.3.9.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7813f6b1adfc7888bf2629678b9c119c368740f0348cb95cc47e057b1e160942 -size 9489 diff --git a/tunnel-agent-0.4.2.tgz b/tunnel-agent-0.4.2.tgz deleted file mode 100644 index f52073f..0000000 --- a/tunnel-agent-0.4.2.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70731bf2444e5e307d9129a2eda2a6450837cbd757aa933e3e89db51b4fa2fbf -size 5843 diff --git a/v3.2.0.tar.gz b/v3.2.0.tar.gz new file mode 100644 index 0000000..bb6784b --- /dev/null +++ b/v3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6ded9cd706ec33b9fde8556d20eee0a273a3abf5f2588427ba90ad565706965 +size 130796 diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..8297f50 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c59350570810f59f59a6ac284046c91ddb45bb5dd9fa6a643c142617370aa97 +size 169541 diff --git a/wrappy-1.0.0.tgz b/wrappy-1.0.0.tgz deleted file mode 100644 index 5236169..0000000 --- a/wrappy-1.0.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3f0c9868d7aa628b09fb0cdfa38b5d240c6b7f47e94e74ca76a0013262631ca -size 1952 diff --git a/xtend-4.0.1.tgz b/xtend-4.0.1.tgz deleted file mode 100644 index 999debb..0000000 --- a/xtend-4.0.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8cf61040c95fcc1b6b707d76d54365fb646e8e7ac9bdf6e1f794e8790dfa872 -size 2542