@falsejs/falsejs 1.0.67 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dofle/.last-photo DELETED
@@ -1 +0,0 @@
1
- IMG_6627.jpg
package/dofle/dofle.js DELETED
@@ -1,19 +0,0 @@
1
- const fs = require('node:fs')
2
- const path = require('node:path')
3
- const open = require('open')
4
- const randomItem = require('lodash').sample
5
-
6
- const photosDirectory = path.join(__dirname, 'photos')
7
- const photos = fs.readdirSync(photosDirectory).filter(directory => !directory.startsWith('.'))
8
- let randomPhoto = randomItem(photos)
9
-
10
- const lastPicPath = path.join(__dirname, '.last-photo')
11
- if (fs.existsSync(lastPicPath) && fs.readFileSync(lastPicPath, 'utf8') === randomPhoto) {
12
- randomPhoto = randomItem(photos)
13
- }
14
-
15
- fs.writeFileSync(lastPicPath, randomPhoto);
16
-
17
- (async () => {
18
- await open(path.join(photosDirectory, randomPhoto));
19
- })()
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,21 +0,0 @@
1
- # All photos
2
-
3
- ![](10607915_273427569527101_1304478306_n.jpg)
4
- ![](10724032_717703524951446_2042592910_n.jpg)
5
- ![](10899508_1582361792014679_2073623926_n.jpg)
6
- ![](11203394_810705079039370_1638320906_n.jpg)
7
- ![](IMG_0001.jpg)
8
- ![](IMG_0005.jpg)
9
- ![](IMG_0009.jpg)
10
- ![](IMG_0734.jpg)
11
- ![](IMG_0805.jpg)
12
- ![](IMG_0841.jpg)
13
- ![](IMG_1136.jpg)
14
- ![](IMG_1140.jpg)
15
- ![](IMG_1832.jpg)
16
- ![](IMG_2087.jpg)
17
- ![](IMG_3139.jpg)
18
- ![](IMG_6404.jpg)
19
- ![](IMG_6594.jpg)
20
- ![](IMG_6627.jpg)
21
- ![](IMG_8443.jpg)
package/eslint.config.mjs DELETED
@@ -1,13 +0,0 @@
1
- import js from "@eslint/js";
2
- import globals from "globals";
3
- import { defineConfig } from "eslint/config";
4
-
5
-
6
- export default defineConfig([
7
- { files: ["**/*.{js,mjs,cjs}"], plugins: { js }, extends: ["js/recommended"] },
8
- { files: ["**/*.js"], languageOptions: { sourceType: "commonjs" }, rules: {
9
- "no-extra-boolean-cast": "off",
10
- "no-func-assign": "off"
11
- } },
12
- { files: ["**/*.{js,mjs,cjs}"], languageOptions: { globals: globals.node } },
13
- ]);