Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

happy-load

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happy-load - npm Package Compare versions

Comparing version 2.12.0 to 2.12.1

lib/index.js.map

27

CHANGELOG.md

@@ -0,1 +1,28 @@

## [2.12.1](https://github.com/pagedip/happy-load/tree/release/14/) - Mar 4, 2020
### Fixes
- Updated the build process.
### Dependencies
- @octokit/rest: `^16.2.0` β†’ `^17.0.0`
- @types/jest: `^23.3.10` β†’ `^25.1.3`
- @types/node: `^10.12.15` β†’ `^13.7.7`
- @typescript-eslint/eslint-plugin: none β†’ `^2.22.0`
- @typescript-eslint/parser: none β†’ `^2.22.0`
- eslint: none β†’ `^6.8.0`
- eslint-config-prettier: none β†’ `^6.10.0`
- eslint-plugin-prettier: none β†’ `^3.1.2`
- jest: `^23.6.0` β†’ `^25.1.0`
- ts-jest: `^23.10.5` β†’ `^25.2.1`
- ts-node: none β†’ `^8.6.2`
- typedoc: `^0.13.0` β†’ `^0.16.11`
- typescript: `^3.2.2` β†’ `^3.8.3`
### Commits
[`c70d4a00..d77a73d2`](https://github.com/pagedip/happy-load/compare/c70d4a00ca96c2a3a5a277c26ed011a561a892c8..d77a73d2cc8892e65636ba8d9358d24188d2349d)
- [`d77a73d2`](https://github.com/pagedip/happy-load/commit/d77a73d2cc8892e65636ba8d9358d24188d2349d) Merge pull request #40 from pagedip/develop
- [`aa615300`](https://github.com/pagedip/happy-load/commit/aa615300690fed0b26d7dff124c19ce28f38aea1) remove misleading loading messages
- [`1de5ae57`](https://github.com/pagedip/happy-load/commit/1de5ae574d0334ab03b64c84b6e21e2e83c3cef9) update build process
## [2.12.0](https://github.com/pagedip/happy-load/tree/release/13/) - Feb 7, 2019

@@ -2,0 +29,0 @@

2

happy-load.json

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

{"all":[{"text":"Bob Ross is painting the next page...","subtext":"He'll have the happy little trees done in a moment","source":"beneaththeink","id":"beneaththeink/bobross"},{"text":"200 years ago it took Lewis and Clark several months to cross the Country...","subtext":"I'm talking to space, so give me a second.","source":"beneaththeink","id":"beneaththeink/clark"},{"text":"Constructing additional pylons...","subtext":"This may take a moment or two.","source":"beneaththeink","id":"beneaththeink/plyons"},{"text":"Our micro-robot technicians are building the next page","subtext":"They will be done shortly...","source":"beneaththeink","id":"beneaththeink/robot"},{"text":"Combing John Stamos' Hair...","subtext":"We apologize for the wait, you can't rush perfection.","source":"beneaththeink","id":"beneaththeink/stamos"},{"text":"Like a timid ghost or a 1997 text message","subtext":"This may take a moment to appear.","source":"beneaththeink","id":"beneaththeink/timidghost"},{"text":"Collecting unicorn tears...","subtext":"This may take a moment or two.","source":"beneaththeink","id":"beneaththeink/unicorns"},{"text":"Following the Yellow Brick Road...","subtext":"\"Toto, I've got a feeling we're not in Kansas anymore.\"","source":"beneaththeink","id":"beneaththeink/yellow-brick-road"},{"text":"The monkeys in your browser are working hard for you.","subtext":"Please be patient, their legs are very short.","source":"pagedip","id":"pagedip/browser-monkeys"},{"text":"404 Droids Not Found","subtext":"The droids you are looking for will be available momentarily","source":"pagedip","id":"pagedip/droids"},{"text":"Spinning up servers..","subtext":"Please wait while the hamster wheels ramp up to speed","source":"pagedip","id":"pagedip/hamster"},{"text":"Internet restarting","subtext":"Please wait a moment while we flush extra data from the trans-Atlantic lines.","source":"pagedip","id":"pagedip/internet"},{"text":"low·​ding | \\ˈlō-diΕ‹","subtext":"What is happening right now. Or, a quiet clang on a low pitched bell.","source":"pagedip","id":"pagedip/lowding"},{"text":"Roads? Where you're going you don't need roads.","subtext":"...but you do need to wait a few seconds.","source":"pagedip","id":"pagedip/no-roads"},{"text":"Refueling Thrusters","subtext":"Get ready to blast off!","source":"pagedip","id":"pagedip/refueling-thrusters"},{"text":"Dreaming in Robot πŸ€–πŸ’€","subtext":"Ones and zeroes everywhere... and I thought I saw a two.","source":"pagedip","id":"pagedip/robot-dream"},{"text":"Roses are red, Violets are blue.","subtext":"Please wait a second, I have lots to do.","source":"pagedip","id":"pagedip/roses-violets"},{"text":"Look into the spinner...","subtext":"Feel deeply into the spin... we'll be done loading in 3... 2...","source":"pagedip","id":"pagedip/spinning"},{"text":"Once upon a time...","subtext":"Ah nevermind, storytime will have to wait! We're almost done loading.","source":"pagedip","id":"pagedip/storytime"},{"text":"Creating a stable time loop...","subtext":"Data will be ready precisely when it needs to be","source":"pagedip","id":"pagedip/time-loop"},{"text":"Unboxing spare computer parts...","subtext":"We have a lot, so it might take a second","source":"pagedip","id":"pagedip/unboxing"}],"by_source":{"beneaththeink":[0,1,2,3,4,5,6,7],"pagedip":[8,9,10,11,12,13,14,15,16,17,18,19,20]},"by_id":{"beneaththeink/bobross":0,"beneaththeink/clark":1,"beneaththeink/plyons":2,"beneaththeink/robot":3,"beneaththeink/stamos":4,"beneaththeink/timidghost":5,"beneaththeink/unicorns":6,"beneaththeink/yellow-brick-road":7,"pagedip/browser-monkeys":8,"pagedip/droids":9,"pagedip/hamster":10,"pagedip/internet":11,"pagedip/lowding":12,"pagedip/no-roads":13,"pagedip/refueling-thrusters":14,"pagedip/robot-dream":15,"pagedip/roses-violets":16,"pagedip/spinning":17,"pagedip/storytime":18,"pagedip/time-loop":19,"pagedip/unboxing":20}}
{"all":[{"text":"Bob Ross is painting the next page...","subtext":"He'll have the happy little trees done in a moment","source":"beneaththeink","id":"beneaththeink/bobross"},{"text":"200 years ago it took Lewis and Clark several months to cross the Country...","subtext":"I'm talking to space, so give me a second.","source":"beneaththeink","id":"beneaththeink/clark"},{"text":"Constructing additional pylons...","subtext":"This may take a moment or two.","source":"beneaththeink","id":"beneaththeink/plyons"},{"text":"Our micro-robot technicians are building the next page","subtext":"They will be done shortly...","source":"beneaththeink","id":"beneaththeink/robot"},{"text":"Combing John Stamos' Hair...","subtext":"We apologize for the wait, you can't rush perfection.","source":"beneaththeink","id":"beneaththeink/stamos"},{"text":"Like a timid ghost or a 1997 text message","subtext":"This may take a moment to appear.","source":"beneaththeink","id":"beneaththeink/timidghost"},{"text":"Collecting unicorn tears...","subtext":"This may take a moment or two.","source":"beneaththeink","id":"beneaththeink/unicorns"},{"text":"Following the Yellow Brick Road...","subtext":"\"Toto, I've got a feeling we're not in Kansas anymore.\"","source":"beneaththeink","id":"beneaththeink/yellow-brick-road"},{"text":"The monkeys in your browser are working hard for you.","subtext":"Please be patient, their legs are very short.","source":"pagedip","id":"pagedip/browser-monkeys"},{"text":"404 Droids Not Found","subtext":"The droids you are looking for will be available momentarily","source":"pagedip","id":"pagedip/droids"},{"text":"low·​ding | \\ˈlō-diΕ‹","subtext":"What is happening right now. Or, a quiet clang on a low pitched bell.","source":"pagedip","id":"pagedip/lowding"},{"text":"Roads? Where you're going you don't need roads.","subtext":"...but you do need to wait a few seconds.","source":"pagedip","id":"pagedip/no-roads"},{"text":"Refueling Thrusters","subtext":"Get ready to blast off!","source":"pagedip","id":"pagedip/refueling-thrusters"},{"text":"Dreaming in Robot πŸ€–πŸ’€","subtext":"Ones and zeroes everywhere... and I thought I saw a two.","source":"pagedip","id":"pagedip/robot-dream"},{"text":"Roses are red, Violets are blue.","subtext":"Please wait a second, I have lots to do.","source":"pagedip","id":"pagedip/roses-violets"},{"text":"Look into the spinner...","subtext":"Feel deeply into the spin... we'll be done loading in 3... 2...","source":"pagedip","id":"pagedip/spinning"},{"text":"Once upon a time...","subtext":"Ah nevermind, storytime will have to wait! We're almost done loading.","source":"pagedip","id":"pagedip/storytime"},{"text":"Creating a stable time loop...","subtext":"Data will be ready precisely when it needs to be","source":"pagedip","id":"pagedip/time-loop"},{"text":"Unboxing spare computer parts...","subtext":"We have a lot, so it might take a second","source":"pagedip","id":"pagedip/unboxing"}],"by_source":{"beneaththeink":[0,1,2,3,4,5,6,7],"pagedip":[8,9,10,11,12,13,14,15,16,17,18]},"by_id":{"beneaththeink/bobross":0,"beneaththeink/clark":1,"beneaththeink/plyons":2,"beneaththeink/robot":3,"beneaththeink/stamos":4,"beneaththeink/timidghost":5,"beneaththeink/unicorns":6,"beneaththeink/yellow-brick-road":7,"pagedip/browser-monkeys":8,"pagedip/droids":9,"pagedip/lowding":10,"pagedip/no-roads":11,"pagedip/refueling-thrusters":12,"pagedip/robot-dream":13,"pagedip/roses-violets":14,"pagedip/spinning":15,"pagedip/storytime":16,"pagedip/time-loop":17,"pagedip/unboxing":18}}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.data = require("../happy-load.json");
const tslib_1 = require("tslib");
const fs_1 = tslib_1.__importDefault(require("fs"));
const path_1 = tslib_1.__importDefault(require("path"));
exports.data = JSON.parse(fs_1.default.readFileSync(path_1.default.join(__dirname, "../happy-load.json"), "utf8"));
/**

@@ -10,6 +13,6 @@ * Returns an array of all loading message objects. Provide a source to get messages for just that source.

if (source != null) {
var indexes = exports.data.by_source[source];
const indexes = exports.data.by_source[source];
if (indexes == null)
throw new Error("Missing source '" + source + "'");
return indexes.map(function (i) { return exports.data.all[i]; });
return indexes.map((i) => exports.data.all[i]);
}

@@ -28,3 +31,3 @@ else {

return exports.data.all[id];
var index = exports.data.by_id[id];
const index = exports.data.by_id[id];
if (index != null)

@@ -39,6 +42,6 @@ return exports.data.all[index];

function random(source) {
var messages = all(source);
const messages = all(source);
return messages[Math.floor(Math.random() * messages.length)];
}
exports.random = random;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFpQmEsUUFBQSxJQUFJLEdBQVMsT0FBTyxDQUFDLG9CQUFvQixDQUFDLENBQUM7QUFFeEQ7OztHQUdHO0FBQ0gsU0FBZ0IsR0FBRyxDQUFDLE1BQWU7SUFDakMsSUFBSSxNQUFNLElBQUksSUFBSSxFQUFFO1FBQ2xCLElBQU0sT0FBTyxHQUFHLFlBQUksQ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qIEBwYXJhbSBpZCBUaGUgc3RyaW5nIGlkIG9yIGluZGV4IG9mIHRoZSBsb2FkaW5nIG1lc3NhZ2UuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBnZXQoaWQ6IG51bWJlciB8IHN0cmluZykge1xuICBpZiAodHlwZW9mIGlkID09PSBcIm51bWJlclwiKSByZXR1cm4gZGF0YS5hbGxbaWRdO1xuICBjb25zdCBpbmRleCA9IGRhdGEuYnlfaWRbaWRdO1xuICBpZiAoaW5kZXggIT0gbnVsbCkgcmV0dXJuIGRhdGEuYWxsW2luZGV4XTtcbn1cblxuLyoqXG4gKiBHZXQgYSByYW5kb20gbG9hZGluZyBtZXNzYWdlLCBvcHRpb25hbGx5IHNjb3BlZCB0byBhIHNvdXJjZS5cbiAqIEBwYXJhbSBzb3VyY2UgT3B0aW9uYWwgc291cmNlIHRvIHNjb3BlIG1lc3NhZ2VzLlxuICovXG5leHBvcnQgZnVuY3Rpb24gcmFuZG9tKHNvdXJjZT86IHN0cmluZykge1xuICBjb25zdCBtZXNzYWdlcyA9IGFsbChzb3VyY2UpO1xuICByZXR1cm4gbWVzc2FnZXNbTWF0aC5mbG9vcihNYXRoLnJhbmRvbSgpICogbWVzc2FnZXMubGVuZ3RoKV07XG59XG4iXX0=
//# sourceMappingURL=index.js.map
{
"name": "happy-load",
"version": "2.12.0",
"version": "2.12.1",
"description": "Improves loading screen morale.",

@@ -19,8 +19,8 @@ "author": "Pagedip <info@pagedip.com>",

"scripts": {
"lint": "tslint -p tsconfig.json -c tslint.json '**/*.ts'",
"lint": "eslint ./ --ext .js,.jsx,.ts,.tsx",
"clean": "shx rm -rf lib docs happy-load.json",
"build:full": "npm-run-all clean build",
"build:data": "node build-data.js",
"build:data": "ts-node build-data.ts",
"build:docs": "typedoc --out docs src/ && shx touch docs/.nojekyll",
"build:typescript": "tsc -p tsconfig.json",
"build:typescript": "tsc -p tsconfig.build.json",
"build": "npm-run-all build:data build:typescript build:docs",

@@ -32,7 +32,12 @@ "test": "jest",

"devDependencies": {
"@octokit/rest": "^16.2.0",
"@octokit/rest": "^17.0.0",
"@pagedip/tool-autorelease": "^3.5.0",
"@types/jest": "^23.3.10",
"@types/node": "^10.12.15",
"jest": "^23.6.0",
"@types/jest": "^25.1.3",
"@types/node": "^13.7.7",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^25.1.0",
"js-yaml": "^3.12.0",

@@ -43,6 +48,6 @@ "luxon": "^1.8.2",

"shx": "^0.3.2",
"ts-jest": "^23.10.5",
"tslint": "^5.11.0",
"typedoc": "^0.13.0",
"typescript": "^3.2.2"
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"typedoc": "^0.16.11",
"typescript": "^3.8.3"
},

@@ -62,3 +67,3 @@ "license": "MIT",

],
"gitHead": "c70d4a00ca96c2a3a5a277c26ed011a561a892c8"
"gitHead": "565ba6e2a4f0d70bd0fcd39e72b8c7d38ba38686"
}
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