revert: use ow@0.28.1 instead

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Hanif Dwy Putra S
2022-06-15 11:52:19 +00:00
committed by GitHub
parent 6bf8b7121d
commit 5f20e253c2
15 changed files with 15 additions and 15 deletions

View File

@@ -6,7 +6,7 @@
"description": "TikTok-DL Project Core",
"dependencies": {
"got": "^12.0.4",
"ow": "^1.0.0",
"ow": "0.28.1",
"vm2": "^3.9.9"
},
"scripts": {

View File

@@ -1,5 +1,5 @@
import {Got} from 'got';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
export interface ExtractedInfo {
error?: string;

View File

@@ -1,7 +1,7 @@
import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import {matchLink} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class DDDTikProvider

View File

@@ -1,7 +1,7 @@
import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import {matchCustomDownload} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class DownTikProvider

View File

@@ -1,6 +1,6 @@
import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class DownloadOne

View File

@@ -2,7 +2,7 @@ import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import {matchLink} from './utils';
import {random as randomUA} from 'tiktok-dl-config/useragents';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class GetVidTikProvider

View File

@@ -1,6 +1,6 @@
import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class LoveTikProvider

View File

@@ -1,6 +1,6 @@
import {getFetch} from '../fetch';
import {BaseProvider, ExtractedInfo} from './base';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class MusicalyDown

View File

@@ -1,7 +1,7 @@
import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import {matchTikTokData} from './utils';
import ow, {Shape} from 'ow/dist';
import ow, {Shape} from 'ow';
/**
* @class NativeProvider

View File

@@ -1,7 +1,7 @@
import {getFetch} from '../fetch';
import {BaseProvider, ExtractedInfo} from './base';
import {deObfuscateSaveFromScript} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class saveFromProvider

View File

@@ -1,7 +1,7 @@
import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import {matchCustomDownload} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class SaveTikProvider

View File

@@ -1,7 +1,7 @@
import {getFetch} from '../fetch';
import {BaseProvider, ExtractedInfo} from './base';
import {deObfuscate, matchLink} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class SnaptikProvider

View File

@@ -1,7 +1,7 @@
import {BaseProvider, ExtractedInfo} from './base';
import {getFetch} from '../fetch';
import {matchLink} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class TikDownProvider

View File

@@ -1,7 +1,7 @@
import {getFetch} from '../fetch';
import {BaseProvider, ExtractedInfo} from './base';
import {deObfuscate, matchCustomDownload} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class TikmateProvider

View File

@@ -1,7 +1,7 @@
import {getFetch} from '../fetch';
import {BaseProvider, ExtractedInfo} from './base';
import {matchLink} from './utils';
import type {Shape} from 'ow/dist';
import type {Shape} from 'ow';
/**
* @class TTDownloader