replstories
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,1 @@ | ||
{"entries":{"replit.nix":{"env":{"AR":"ar","AS":"as","CC":"gcc","CONFIG_SHELL":"/nix/store/vfai0jim0db67nk9rd7ziq29jxb5n79n-bash-5.1-p8/bin/bash","CXX":"g++","HOST_PATH":"/nix/store/w1cy324vnr8an1lzp316agcnfb0jbb88-nodejs-16.13.2/bin:/nix/store/r2i3wpsygkvnndzjy5i6gf1jwvbarlmg-typescript-language-server-0.7.1/bin:/nix/store/knxy57rkx83cf5k1kf2jrh6zg92g4vqk-yarn-1.22.17/bin:/nix/store/w79fdhrcx0kx458j0vhiqw4fhw2ljkl9-jest-cli-23.6.0/bin:/nix/store/k21halap3i7hgglxpdnpx29538g3irin-coreutils-9.0/bin:/nix/store/bfbsy0kyb3r2azfh9dimgqa1qxplkwgl-findutils-4.8.0/bin:/nix/store/9dpl3qwz7ziwx9cssj36zlca4q4wya4h-diffutils-3.8/bin:/nix/store/lwgh498dp39g9pnnaa8im4c4kkb1b4m0-gnused-4.8/bin:/nix/store/1m0rkfgnj9rlbp2jd3iz5h2lpv60ngxh-gnugrep-3.7/bin:/nix/store/xa8vlasjm4g7bqdijmwzbh077cbs6k2h-gawk-5.1.1/bin:/nix/store/gxzcls54jx8f7a8vcglwzsgkkizzrwnp-gnutar-1.34/bin:/nix/store/z3kr7132d3rncaaj2pch6fiw5bz8bpmd-gzip-1.11/bin:/nix/store/cdxwlsm848djwc86f4dqj47sd4byq0rk-bzip2-1.0.6.0.2-bin/bin:/nix/store/40qfhd1jlk4nrlilyh7s9mf3f3k65bw1-gnumake-4.3/bin:/nix/store/vfai0jim0db67nk9rd7ziq29jxb5n79n-bash-5.1-p8/bin:/nix/store/bdvz1ilv1x2qh45xa0qkfgb9vdrv5xa2-patch-2.7.6/bin:/nix/store/l5pns19l44hk17yr89l3i09bzx2nsgnr-xz-5.2.5-bin/bin","LD":"ld","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIX_BINTOOLS":"/nix/store/81m6v3x3b0z73bvfw232ibkl8z8zs67k-binutils-wrapper-2.35.2","NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_BUILD_CORES":"8","NIX_BUILD_TOP":"/tmp","NIX_CC":"/nix/store/n5vkys6wvrfnkd381d39y5926rpqpk4w-gcc-wrapper-10.3.0","NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_CFLAGS_COMPILE":" -frandom-seed=fp3svmj7w6 -isystem /nix/store/w1cy324vnr8an1lzp316agcnfb0jbb88-nodejs-16.13.2/include -isystem /nix/store/w1cy324vnr8an1lzp316agcnfb0jbb88-nodejs-16.13.2/include","NIX_ENFORCE_NO_NATIVE":"1","NIX_HARDENING_ENABLE":"fortify stackprotector pic strictoverflow format relro bindnow","NIX_INDENT_MAKE":"1","NIX_LDFLAGS":"-rpath /nix/store/fp3svmj7w65zyf4wixq52w70bs9rwdbx-nix-shell/lib64 -rpath /nix/store/fp3svmj7w65zyf4wixq52w70bs9rwdbx-nix-shell/lib ","NIX_STORE":"/nix/store","NM":"nm","NODE_PATH":"/nix/store/w1cy324vnr8an1lzp316agcnfb0jbb88-nodejs-16.13.2/lib/node_modules:/nix/store/r2i3wpsygkvnndzjy5i6gf1jwvbarlmg-typescript-language-server-0.7.1/lib/node_modules:/nix/store/knxy57rkx83cf5k1kf2jrh6zg92g4vqk-yarn-1.22.17/lib/node_modules:/nix/store/w79fdhrcx0kx458j0vhiqw4fhw2ljkl9-jest-cli-23.6.0/lib/node_modules","OBJCOPY":"objcopy","OBJDUMP":"objdump","PATH":"/nix/store/1v6cbw337kjypx1v0xxc1ynywgqbj4rq-bash-interactive-5.1-p8/bin:/nix/store/y5dkkfin05252783r42vc38s83297ypv-patchelf-0.13/bin:/nix/store/n5vkys6wvrfnkd381d39y5926rpqpk4w-gcc-wrapper-10.3.0/bin:/nix/store/xlh4fb3v83rn2l7y27png6c2w3mm1mwj-gcc-10.3.0/bin:/nix/store/lg41i040j44gdbcrzfrw72pvyifaa7vd-glibc-2.33-62-bin/bin:/nix/store/k21halap3i7hgglxpdnpx29538g3irin-coreutils-9.0/bin:/nix/store/81m6v3x3b0z73bvfw232ibkl8z8zs67k-binutils-wrapper-2.35.2/bin:/nix/store/hwjfmjmdj72045gk3b843x46qj5vnys1-binutils-2.35.2/bin:/nix/store/w1cy324vnr8an1lzp316agcnfb0jbb88-nodejs-16.13.2/bin:/nix/store/r2i3wpsygkvnndzjy5i6gf1jwvbarlmg-typescript-language-server-0.7.1/bin:/nix/store/knxy57rkx83cf5k1kf2jrh6zg92g4vqk-yarn-1.22.17/bin:/nix/store/w79fdhrcx0kx458j0vhiqw4fhw2ljkl9-jest-cli-23.6.0/bin:/nix/store/k21halap3i7hgglxpdnpx29538g3irin-coreutils-9.0/bin:/nix/store/bfbsy0kyb3r2azfh9dimgqa1qxplkwgl-findutils-4.8.0/bin:/nix/store/9dpl3qwz7ziwx9cssj36zlca4q4wya4h-diffutils-3.8/bin:/nix/store/lwgh498dp39g9pnnaa8im4c4kkb1b4m0-gnused-4.8/bin:/nix/store/1m0rkfgnj9rlbp2jd3iz5h2lpv60ngxh-gnugrep-3.7/bin:/nix/store/xa8vlasjm4g7bqdijmwzbh077cbs6k2h-gawk-5.1.1/bin:/nix/store/gxzcls54jx8f7a8vcglwzsgkkizzrwnp-gnutar-1.34/bin:/nix/store/z3kr7132d3rncaaj2pch6fiw5bz8bpmd-gzip-1.11/bin:/nix/store/cdxwlsm848djwc86f4dqj47sd4byq0rk-bzip2-1.0.6.0.2-bin/bin:/nix/store/40qfhd1jlk4nrlilyh7s9mf3f3k65bw1-gnumake-4.3/bin:/nix/store/vfai0jim0db67nk9rd7ziq29jxb5n79n-bash-5.1-p8/bin:/nix/store/bdvz1ilv1x2qh45xa0qkfgb9vdrv5xa2-patch-2.7.6/bin:/nix/store/l5pns19l44hk17yr89l3i09bzx2nsgnr-xz-5.2.5-bin/bin","RANLIB":"ranlib","READELF":"readelf","SIZE":"size","SOURCE_DATE_EPOCH":"315532800","STRINGS":"strings","STRIP":"strip","XDG_DATA_DIRS":"/nix/store/y5dkkfin05252783r42vc38s83297ypv-patchelf-0.13/share","_":"/nix/store/k21halap3i7hgglxpdnpx29538g3irin-coreutils-9.0/bin/env","__ETC_PROFILE_SOURCED":"1","buildInputs":"/nix/store/w1cy324vnr8an1lzp316agcnfb0jbb88-nodejs-16.13.2 /nix/store/r2i3wpsygkvnndzjy5i6gf1jwvbarlmg-typescript-language-server-0.7.1 /nix/store/knxy57rkx83cf5k1kf2jrh6zg92g4vqk-yarn-1.22.17 /nix/store/w79fdhrcx0kx458j0vhiqw4fhw2ljkl9-jest-cli-23.6.0","builder":"/nix/store/vfai0jim0db67nk9rd7ziq29jxb5n79n-bash-5.1-p8/bin/bash","configureFlags":"","depsBuildBuild":"","depsBuildBuildPropagated":"","depsBuildTarget":"","depsBuildTargetPropagated":"","depsHostHost":"","depsHostHostPropagated":"","depsTargetTarget":"","depsTargetTargetPropagated":"","doCheck":"","doInstallCheck":"","name":"nix-shell","nativeBuildInputs":"","nobuildPhase":"echo\necho \"This derivation is not meant to be built, aborting\";\necho\nexit 1\n","out":"/nix/store/fp3svmj7w65zyf4wixq52w70bs9rwdbx-nix-shell","outputs":"out","patches":"","phases":"nobuildPhase","propagatedBuildInputs":"","propagatedNativeBuildInputs":"","shell":"/nix/store/vfai0jim0db67nk9rd7ziq29jxb5n79n-bash-5.1-p8/bin/bash","shellHook":"","stdenv":"/nix/store/v90nr982ylva46f925y0q27a402lxzwd-stdenv-linux","strictDeps":"","system":"x86_64-linux"},"dependencies":[{"path":"replit.nix","mod_time":"2022-01-17T19:42:47.11800019Z"}],"channel":"stable-21_11"}}} | ||
{"entries":{"replit.nix":{"env":{"AR":"ar","AS":"as","CC":"gcc","CONFIG_SHELL":"/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin/bash","CXX":"g++","HOST_PATH":"/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin:/nix/store/drn8ik6rnzy3xva3xvhi3zll4gzzd5x8-typescript-language-server-0.7.1/bin:/nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17/bin:/nix/store/agblxg9p3ndmrk9kcn3n719c8n36a72q-jest-cli-23.6.0/bin:/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin:/nix/store/jjvw20r6pz3ff7pn91yhvfx8s7izsqan-findutils-4.8.0/bin:/nix/store/ndd6gh8zigjy0j68arj7nyrbcw4kcw01-diffutils-3.8/bin:/nix/store/bpg0ia8nkavzw7s66avi1f9nz72i1p3r-gnused-4.8/bin:/nix/store/df3ff57sbkgbdhc4ar19zs4y0hrhggii-gnugrep-3.7/bin:/nix/store/4fv981732jqzirah3h2y6ynmlsfbxb37-gawk-5.1.1/bin:/nix/store/k5ifa08z0qlkknnb8s1bdh2kdrx0qmd0-gnutar-1.34/bin:/nix/store/dcird3wn9xywy49w3qq1hpjwvjfn3lph-gzip-1.11/bin:/nix/store/s85iyc3p9nbinwvwx9rcqirf1m68zpmm-bzip2-1.0.6.0.2-bin/bin:/nix/store/msncxcf5lgy5by9cqjyxchxd26x47d64-gnumake-4.3/bin:/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin:/nix/store/gi3psbgxbf2fmvgi36pmw77nnh58vq3l-patch-2.7.6/bin:/nix/store/sqb20f4rk80lw21j4is85qwljlphmn3g-xz-5.2.5-bin/bin","LD":"ld","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIX_BINTOOLS":"/nix/store/spm7d6ncyx2k5w8yl6clzynv2s4wf1kp-binutils-wrapper-2.35.2","NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_BUILD_CORES":"8","NIX_BUILD_TOP":"/tmp","NIX_CC":"/nix/store/2qwnn6lizc9d119kp3zig3q19gbfm4n6-gcc-wrapper-10.3.0","NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_CFLAGS_COMPILE":" -frandom-seed=f7cflhc7zk -isystem /nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/include -isystem /nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/include","NIX_ENFORCE_NO_NATIVE":"1","NIX_HARDENING_ENABLE":"fortify stackprotector pic strictoverflow format relro bindnow","NIX_INDENT_MAKE":"1","NIX_LDFLAGS":"-rpath /nix/store/f7cflhc7zkpkrfjqmvcw6awn0nrmymcs-nix-shell/lib64 -rpath /nix/store/f7cflhc7zkpkrfjqmvcw6awn0nrmymcs-nix-shell/lib ","NIX_STORE":"/nix/store","NM":"nm","NODE_PATH":"/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules:/nix/store/drn8ik6rnzy3xva3xvhi3zll4gzzd5x8-typescript-language-server-0.7.1/lib/node_modules:/nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17/lib/node_modules:/nix/store/agblxg9p3ndmrk9kcn3n719c8n36a72q-jest-cli-23.6.0/lib/node_modules","OBJCOPY":"objcopy","OBJDUMP":"objdump","PATH":"/nix/store/bccsypsvjskpzsgzww8bzjgqmck4bjbf-bash-interactive-5.1-p8/bin:/nix/store/bqmg7l0jn6nhgjlfc981g1imzb6ny8xl-patchelf-0.13/bin:/nix/store/2qwnn6lizc9d119kp3zig3q19gbfm4n6-gcc-wrapper-10.3.0/bin:/nix/store/6r5h4h7nqx73m87j5b9sjwy2x9kyri0k-gcc-10.3.0/bin:/nix/store/csz8v8xi2f644j26n84i20dnqmq43sih-glibc-2.33-117-bin/bin:/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin:/nix/store/spm7d6ncyx2k5w8yl6clzynv2s4wf1kp-binutils-wrapper-2.35.2/bin:/nix/store/h19zwlkrp6b0hp3ypbqdcggnyarn3af6-binutils-2.35.2/bin:/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin:/nix/store/drn8ik6rnzy3xva3xvhi3zll4gzzd5x8-typescript-language-server-0.7.1/bin:/nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17/bin:/nix/store/agblxg9p3ndmrk9kcn3n719c8n36a72q-jest-cli-23.6.0/bin:/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin:/nix/store/jjvw20r6pz3ff7pn91yhvfx8s7izsqan-findutils-4.8.0/bin:/nix/store/ndd6gh8zigjy0j68arj7nyrbcw4kcw01-diffutils-3.8/bin:/nix/store/bpg0ia8nkavzw7s66avi1f9nz72i1p3r-gnused-4.8/bin:/nix/store/df3ff57sbkgbdhc4ar19zs4y0hrhggii-gnugrep-3.7/bin:/nix/store/4fv981732jqzirah3h2y6ynmlsfbxb37-gawk-5.1.1/bin:/nix/store/k5ifa08z0qlkknnb8s1bdh2kdrx0qmd0-gnutar-1.34/bin:/nix/store/dcird3wn9xywy49w3qq1hpjwvjfn3lph-gzip-1.11/bin:/nix/store/s85iyc3p9nbinwvwx9rcqirf1m68zpmm-bzip2-1.0.6.0.2-bin/bin:/nix/store/msncxcf5lgy5by9cqjyxchxd26x47d64-gnumake-4.3/bin:/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin:/nix/store/gi3psbgxbf2fmvgi36pmw77nnh58vq3l-patch-2.7.6/bin:/nix/store/sqb20f4rk80lw21j4is85qwljlphmn3g-xz-5.2.5-bin/bin","RANLIB":"ranlib","READELF":"readelf","SIZE":"size","SOURCE_DATE_EPOCH":"315532800","STRINGS":"strings","STRIP":"strip","XDG_DATA_DIRS":"/nix/store/bqmg7l0jn6nhgjlfc981g1imzb6ny8xl-patchelf-0.13/share","_":"/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin/env","__ETC_PROFILE_SOURCED":"1","buildInputs":"/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2 /nix/store/drn8ik6rnzy3xva3xvhi3zll4gzzd5x8-typescript-language-server-0.7.1 /nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17 /nix/store/agblxg9p3ndmrk9kcn3n719c8n36a72q-jest-cli-23.6.0","builder":"/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin/bash","configureFlags":"","depsBuildBuild":"","depsBuildBuildPropagated":"","depsBuildTarget":"","depsBuildTargetPropagated":"","depsHostHost":"","depsHostHostPropagated":"","depsTargetTarget":"","depsTargetTargetPropagated":"","doCheck":"","doInstallCheck":"","name":"nix-shell","nativeBuildInputs":"","nobuildPhase":"echo\necho \"This derivation is not meant to be built, aborting\";\necho\nexit 1\n","out":"/nix/store/f7cflhc7zkpkrfjqmvcw6awn0nrmymcs-nix-shell","outputs":"out","patches":"","phases":"nobuildPhase","propagatedBuildInputs":"","propagatedNativeBuildInputs":"","shell":"/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin/bash","shellHook":"","stdenv":"/nix/store/z7wz8q1i0j4jmfpn87wpakwma6q0k90n-stdenv-linux","strictDeps":"","system":"x86_64-linux"},"dependencies":[{"path":"replit.nix","mod_time":"2022-01-17T19:42:47.11800019Z"}],"channel":"stable-21_11"}}} |
12
index.js
@@ -14,2 +14,4 @@ // Packages | ||
else throw new Error("API key is not defined in constructor") | ||
this.url = "https://api.replstories.xyz"; | ||
} | ||
@@ -24,3 +26,3 @@ | ||
async getUser(username) { | ||
let results = await fetch(`${url}/getuser?username=${username}`, { | ||
let results = await fetch(`${this.url}/getuser?username=${username}`, { | ||
method: "POST" | ||
@@ -38,3 +40,3 @@ }).then(res => res.json()); | ||
async getPost(username, postID) { | ||
let results = await fetch(`${url}/getpost?username=${username}?postid=${postID}`, { | ||
let results = await fetch(`${this.url}/getpost?username=${username}?postid=${postID}`, { | ||
method: "POST" | ||
@@ -50,3 +52,3 @@ }).then(res => res.json()); | ||
async getAllPosts() { | ||
let results = await fetch(`${url}/getallposts`, { | ||
let results = await fetch(`${this.url}/getallposts`, { | ||
method: "POST" | ||
@@ -63,3 +65,3 @@ }).then(res => res.json()); | ||
async getEntry(name) { | ||
let results = await fetch(`${url}/getentry?name=${name}`, { | ||
let results = await fetch(`${this.url}/getentry?name=${name}`, { | ||
method: "POST" | ||
@@ -75,3 +77,3 @@ }).then(res => res.json()); | ||
async getAllEntries() { | ||
let results = await fetch(`${url}/getallentries`, { | ||
let results = await fetch(`${this.url}/getallentries`, { | ||
method: "POST" | ||
@@ -78,0 +80,0 @@ }).then(res => res.json()); |
{ | ||
"name": "replstories", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Repl Stories is a social media platform where developers can share code and connect with the community!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11257
66