♻️ JSPM -> NPM

This commit is contained in:
KaKi87 2022-12-25 08:55:30 +01:00
parent 1e284464a7
commit 7fb489dcb8
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import { parseCronExpression } from 'https://jspm.dev/cron-schedule@3.0.6';
import dayjs from 'https://jspm.dev/dayjs@1.11.3';
import { parseCronExpression } from 'npm:cron-schedule@3.0.6';
import dayjs from 'npm:dayjs@1.11.3';
const regexpFromString = string => {
const [, pattern, flags] = string.split('/');

View File

@ -1,3 +1,3 @@
import { customAlphabet } from 'https://deno.land/x/nanoid@v3.0.0/mod.ts';
import alphanumeric from 'https://dev.jspm.io/npm:nanoid-dictionary@4.3.0/alphanumeric.js';
import alphanumeric from 'npm:nanoid-dictionary@4.3.0/alphanumeric.js';
export default ({ size }) => customAlphabet(alphanumeric, size)();

4
mod.js
View File

@ -4,8 +4,8 @@ import { stringSpliceMulti } from 'https://git.kaki87.net/KaKi87/strsplice/raw/c
import { hashSync as hash, compareSync as verify } from 'https://deno.land/x/bcrypt@v0.3.0/mod.ts';
import { Cryptr } from 'https://raw.githubusercontent.com/DjDeveloperr/deno_cryptr/9a3a2403ad906a8e19fff5a34ad95f815b67f6dc/mod.ts';
import axiod from 'https://deno.land/x/axiod@0.24/mod.ts';
import Joi from 'https://jspm.dev/joi@17.6.0';
import getSchemas from 'https://jspm.dev/@cv.vg/schemas@0.1.0-dev.8';
import Joi from 'npm:joi@17.6.0';
import getSchemas from 'npm:@cv.vg/schemas@0.1.0-dev.8';
import { createServerHelper } from 'https://git.kaki87.net/KaKi87/pogo-helpers/raw/commit/c09bb256d310dad935c9406c322a896b7898fa66/mod.js';
import db from './lib/db.js';