repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/fixtures/objects/8.5-Master-Playlist-with-I-Frames.js | test/fixtures/objects/8.5-Master-Playlist-with-I-Frames.js | const {MasterPlaylist, Variant} = require('../../../types');
const playlist = new MasterPlaylist({
variants: createVariants()
});
function createVariants() {
const variants = [];
variants.push(new Variant({
uri: 'low/audio-video.m3u8',
bandwidth: 1280000,
codecs: 'avc1.640029,mp4a.40.2'
}));
var... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/fixtures/objects/Multiple-rendition-groups.js | test/fixtures/objects/Multiple-rendition-groups.js | const {MasterPlaylist, Variant, Rendition} = require('../../../types');
const renditions = [
new Rendition({type: 'AUDIO', groupId: 'aac_high', name: 'English', isDefault: true, uri: 'aac_high_eng.m3u8'}),
new Rendition({type: 'AUDIO', groupId: 'aac_high', name: 'Japanese', isDefault: false, uri: 'aac_high_jp.m3u8... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/fixtures/objects/8.6-Master-Playlist-with-Alternative-audio.js | test/fixtures/objects/8.6-Master-Playlist-with-Alternative-audio.js | const {MasterPlaylist, Variant, Rendition} = require('../../../types');
const renditions = createRendition();
function createRendition() {
const renditions = [];
renditions.push(new Rendition({
type: 'AUDIO',
uri: 'main/english-audio.m3u8',
groupId: 'aac',
language: 'en',
name: 'English',
... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/fixtures/objects/Low-Latency_Example-03_Byterange-addressed_Parts-03.js | test/fixtures/objects/Low-Latency_Example-03_Byterange-addressed_Parts-03.js | const {MediaPlaylist, Segment, PartialSegment} = require('../../../types');
const playlist = new MediaPlaylist({
version: 9,
targetDuration: 4,
mediaSequenceBase: 266,
lowLatencyCompatibility: {canBlockReload: true, canSkipUntil: 24.0, partHoldBack: 1.02},
partTargetDuration: 1.02,
skip: 3,
segments: cre... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/fixtures/objects/RedundantSegments.js | test/fixtures/objects/RedundantSegments.js | const {MediaPlaylist, Segment} = require('../../../types');
const playlist = new MediaPlaylist({
version: 4,
targetDuration: 10,
segments: createSegments(),
endlist: true
});
function createSegments() {
const segments = [];
segments.push(new Segment({
uri: 'http://media.example.com/first.ts',
dura... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/fixtures/objects/Low-Latency_Example-03_Byterange-addressed_Parts-01.js | test/fixtures/objects/Low-Latency_Example-03_Byterange-addressed_Parts-01.js | const {MediaPlaylist, Segment, PartialSegment} = require('../../../types');
const playlist = new MediaPlaylist({
version: 9,
targetDuration: 4,
mediaSequenceBase: 266,
lowLatencyCompatibility: {canBlockReload: true, canSkipUntil: 24.0, partHoldBack: 1.02},
partTargetDuration: 1.02,
skip: 3,
segments: cre... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/stringify.spec.js | test/spec/stringify.spec.js | const test = require('ava');
const fixtures = require('../helpers/fixtures');
const utils = require('../helpers/utils');
const HLS = require('../..');
HLS.setOptions({strictMode: true});
for (const {name, m3u8, object} of fixtures) {
test(name, t => {
const result = HLS.stringify(object);
t.is(result, utils... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/utils.spec.js | test/spec/utils.spec.js | const test = require('ava');
const rewire = require('rewire');
const utils = require('../../utils');
utils.setOptions({strictMode: true});
test('utils.THROW', t => {
try {
utils.THROW(new Error('abc'));
} catch (err) {
t.truthy(err);
t.is(err.message, 'abc');
}
});
test('utils.ASSERT', t => {
uti... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/parser.spec.js | test/spec/parser.spec.js | const test = require('ava');
const fixtures = require('../helpers/fixtures');
const HLS = require('../..');
HLS.setOptions({strictMode: true});
const {Playlist} = HLS.types;
for (const {name, m3u8, object} of fixtures) {
test(name, t => {
const result = HLS.parse(m3u8);
if (result.source === m3u8 && deepEq... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/misc/scte-35.spec.js | test/spec/misc/scte-35.spec.js | const test = require("ava");
const utils = require("../../helpers/utils");
const HLS = require("../../..");
test("#EXT-X-CUE-IN_01", t => {
const {MediaPlaylist, Segment} = HLS.types;
const segments = [...Array.from({length: 3})].map((_, i) => new Segment({uri: `https://example.com/${i}.ts`, duration: 10}));
se... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/misc/multiple-rendition-groups.js | test/spec/misc/multiple-rendition-groups.js | const test = require("ava");
const utils = require("../../helpers/utils");
const HLS = require("../../..");
test("Multiple-Rendition-Groups_01", t => {
const shouldRead = `
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac_high",NAME="English",DEFAULT=YES,URI=... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/06_EXT-X-SKIP.spec.js | test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/06_EXT-X-SKIP.spec.js | const test = require('ava');
const utils = require('../../../helpers/utils');
const HLS = require('../../../..');
// SKIPPED-SEGMENTS=<N>: (mandatory)
test('#EXT-X-SKIP_01', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-VERSION:9
#EXT-X-TARGETDURATION:2
#EXT-X-SERVER-CONTROL:CAN-BLOCK-RELOAD=YES,CAN-SKIP... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/05_EXT-X-RENDITION-REPORT.spec.js | test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/05_EXT-X-RENDITION-REPORT.spec.js | const test = require('ava');
const utils = require('../../../helpers/utils');
const HLS = require('../../../..');
// URI=<uri>: (mandatory)
test('#EXT-X-RENDITION-REPORT_01', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:2
#EXT-X-SERVER-CONTROL:CAN-BLOCK-RELOAD=YES,CAN-SKIP-UNTIL=12.0,HOLD-BAC... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/04_EXT-X-PRELOAD-HINT.spec.js | test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/04_EXT-X-PRELOAD-HINT.spec.js | const test = require('ava');
const utils = require('../../../helpers/utils');
const HLS = require('../../../..');
// TYPE=<hint-type>: (mandatory)
test('#EXT-X-PRELOAD-HINT_01', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:2
#EXT-X-SERVER-CONTROL:CAN-BLOCK-RELOAD=YES,CAN-SKIP-UNTIL=12.0,HOLD-... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/03_EXT-X-PART.spec.js | test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/03_EXT-X-PART.spec.js | const test = require('ava');
const utils = require('../../../helpers/utils');
const HLS = require('../../../..');
// All Media Segment tags except for EXT-X-DATERANGE, EXT-X-BYTERANGE,
// and EXT-X-GAP that are applied to a Parent Segment must appear before
// the first EXT-X-PART tag of the Parent Segment. These tags... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/01_EXT-X-SERVER-CONTROL.spec.js | test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/01_EXT-X-SERVER-CONTROL.spec.js | const test = require('ava');
const utils = require('../../../helpers/utils');
const HLS = require('../../../..');
// CAN-BLOCK-RELOAD=YES: ...
// It is mandatory for Low-Latency HLS.
test('#EXT-X-SERVER-CONTROL_01', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:2
#EXT-X-SERVER-CONTROL:CAN-BLOC... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/02_EXT-X-PART-INF.spec.js | test/spec/Apple-Low-Latency/New_Media_Playlist_Tags_for_Low-Latency_HLS/02_EXT-X-PART-INF.spec.js | const test = require('ava');
const utils = require('../../../helpers/utils');
const HLS = require('../../../..');
// EXT-X-PART-INF provides information about HLS Partial Segments in the Playlist. It is
// required if a Playlist contains one or more EXT-X-PART tags.
test('#EXT-X-PART-INF_01', t => {
utils.bothPass(t... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/HLSJS-LHLS/02_EXT-X-PREFETCH-DISCONTINUITY.spec.js | test/spec/HLSJS-LHLS/02_EXT-X-PREFETCH-DISCONTINUITY.spec.js | const test = require("ava");
const utils = require("../../helpers/utils");
const HLS = require("../../..");
test("#EXT-X-PREFETCH-DISCONTINUITY_01", t => {
const text = `
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE: 0
#EXT-X-DISCONTINUITY-SEQUENCE: 0
#EXT-X-PROGRAM-... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/HLSJS-LHLS/01_EXT-X-PREFETCH.spec.js | test/spec/HLSJS-LHLS/01_EXT-X-PREFETCH.spec.js | const test = require("ava");
const utils = require("../../helpers/utils");
const HLS = require("../../..");
test("#EXT-X-PREFETCH_01", t => {
utils.bothPass(
t,
`
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE: 0
#EXT-X-DISCONTINUITY-SEQUENCE: 0
#EXT-X-PROGRAM-... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/Apple_HLS_Overview/02_Using_HLS.spec.js | test/spec/Apple_HLS_Overview/02_Using_HLS.spec.js | const test = require('ava');
const HLS = require('../../..');
const utils = require('../../helpers/utils');
// Starting with iOS 3.1, if the client is unable to reload the index file for a stream (due to a 404 error, for example),
// the client attempts to switch to an alternate stream.
test('Redundant_Streams_01', t ... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.2_EXT-X-BYTERANGE.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.2_EXT-X-BYTERANGE.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// It applies only to the next URI line that follows it in the Playlist.
test('#EXT-X-BYTERANGE_01', t => {
const playlist = HLS.parse(`
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-TARGETDURATION:1... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.5_EXT-X-MAP.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.5_EXT-X-MAP.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// It applies to every Media Segment that appears after it in the
// Playlist until the next EXT-X-MAP tag or until the end of the
// playlist.
test('#EXT-X-MAP_01', t => {
let playlist;
// Until... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.3_EXT-X-DISCONTINUITY.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.3_EXT-X-DISCONTINUITY.spec.js | const test = require('ava');
const HLS = require('../../../../..');
// The EXT-X-DISCONTINUITY tag indicates a discontinuity between the
// Media Segment that follows it and the one that preceded it.
test('#EXT-X-DISCONTINUITY_01', t => {
const playlist = HLS.parse(`
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2_Media-Segment-Tags.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2_Media-Segment-Tags.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// A Media Segment tag MUST NOT appear in a Master Playlist. Clients
// MUST reject Playlists that contain both Media Segment Tags and Master
// Playlist tags.
test('Media-Segment-Tags', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.4_EXT-X-KEY.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.4_EXT-X-KEY.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// It applies to every Media Segment that appears between
// it and the next EXT-X-KEY tag in the Playlist file with the same
// KEYFORMAT attribute (or the end of the Playlist file).
test('#EXT-X-KE... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.4.4.7_EXT-X-GAP.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.4.4.7_EXT-X-GAP.spec.js | const test = require("ava");
const HLS = require('../../../../..');
const utils = require("../../../../helpers/utils");
const {equalPlaylist} = require("../../../../helpers/matchers");
// https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.4.7
test('#EXT-X-TAG_01', t => {
utils.parseFail(t... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.7_EXT-X-DATERANGE.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.7_EXT-X-DATERANGE.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// ID attribute is REQUIRED.
test('#EXT-X-DATERANGE_01', t => {
utils.parseFail(t, `
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-PROGRAM-DATE-TIME:2010-02-19T14:54:23.031Z
#EXT-X-DATERA... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.1_EXTINF.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.1_EXTINF.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// This tag is REQUIRED for each Media Segment
test('#EXTINF_01', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXTINF:10,
http://example.com/1
#EXTINF:10,
http://example.com/2
`);
utils.parseF... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.6_EXT-X-PROGRAM-DATE-TIME.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.2_Media-Segment-Tags/4.3.2.6_EXT-X-PROGRAM-DATE-TIME.spec.js | const test = require('ava');
const HLS = require('../../../../..');
// It applies only to the next Media Segment.
test('#EXT-X-PROGRAM-DATE-TIME_01', t => {
const playlist = HLS.parse(`
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-PROGRAM-DATE-TIME:2010-02-19T14:54:23.031+08:00
#EXTINF:10,
http://exam... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.1_Basic-Tags/4.3.1.2_EXT-X-VERSION.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.1_Basic-Tags/4.3.1.2_EXT-X-VERSION.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// A Playlist file MUST NOT contain more than one EXT-X-VERSION tag.
test('#EXT-X-VERSION_01', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXTINF:9.9,
http://example.com/1
#EXTIN... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.1_Basic-Tags/4.3.1.1_EXTM3U.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.1_Basic-Tags/4.3.1.1_EXTM3U.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// It MUST be the first line of every Media Playlist and
// every Master Playlist.
test('#EXTM3U-01', t => {
// Media Playlist
utils.bothPass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXTINF:10,
http://example.com/1
#... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.5_Media-or-Master-Playlist-Tags/4.3.5.2_EXT-X-START.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.5_Media-or-Master-Playlist-Tags/4.3.5.2_EXT-X-START.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// The tags in this section can appear in either Master Playlists or
// Media Playlists.
test('#EXT-X-START_01', t => {
const mediaPlaylist = HLS.parse(`
#EXTM3U
#EXT-X-START:TIME-OFFSET=-1... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.5_Media-or-Master-Playlist-Tags/4.3.5.1_EXT-X-INDEPENDENT-SEGMENTS.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.5_Media-or-Master-Playlist-Tags/4.3.5.1_EXT-X-INDEPENDENT-SEGMENTS.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// The tags in this section can appear in either Master Playlists or
// Media Playlists.
test('#EXT-X-INDEPENDENT-SEGMENTS_01', t => {
const mediaPlaylist = HLS.parse(`
#EXTM3U
#EXT-X-INDEP... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.3_EXT-X-I-FRAME-STREAM-INF.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.3_EXT-X-I-FRAME-STREAM-INF.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// Every EXT-X-I-FRAME-STREAM-INF tag MUST include a BANDWIDTH attribute
// and a URI attribute.
test('#EXT-X-I-FRAME-STREAM-INF_01', t => {
utils.parseFail(t, `
#EXTM3U
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=1280000
`);
utils.... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.2_EXT-X-STREAM-INF_2.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.2_EXT-X-STREAM-INF_2.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
test('#EXT-X-STREAM-INF_07-03', t => {
const sourceText = `
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=1280000,CLOSED-CAPTIONS=NONE
/video/main.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2040000,CLOSED-CAPT... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.4_EXT-X-SESSION-DATA.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.4_EXT-X-SESSION-DATA.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// DATA-ID attribute is REQUIRED.
test('#EXT-X-SESSION-DATA_01', t => {
utils.parseFail(t, `
#EXTM3U
#EXT-X-SESSION-DATA:LANGUAGE="en",VALUE="This is an example"
`);
utils.bothPass(t, `
#EXTM3U
#EXT-X-SESSION-DATA:DA... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.5_EXT-X-SESSION-KEY.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.5_EXT-X-SESSION-KEY.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// The value of the METHOD attribute MUST NOT be NONE
test('#EXT-X-SESSION-KEY_01', t => {
utils.parseFail(t, `
#EXTM3U
#EXT-X-SESSION-KEY:METHOD=NONE
`);
utils.bothPass(t, `
#EXTM3U
#EXT-X-SESSION-KEY:METHOD=AES-128... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4_Master-Playlist-Tags.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4_Master-Playlist-Tags.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// Master Playlist Tags MUST NOT appear in a Media Playlist
test('Master-Playlist-Tags', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXTINF:10,
http://example.com/1
#EXTINF:10,
http://example.com... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.1_EXT-X-MEDIA.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.1_EXT-X-MEDIA.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// TYPE attribute is REQUIRED.
test('#EXT-X-MEDIA_01', t => {
utils.parseFail(t, `
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=1280000,AUDIO="audio"
/video/main.m3u8
#EXT-X-MEDIA:GROUP-ID="... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.2_EXT-X-STREAM-INF.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.4_Master-Playlist-Tags/4.3.4.2_EXT-X-STREAM-INF.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// The URI line is REQUIRED
test('#EXT-X-STREAM-INF_01', t => {
utils.parseFail(t, `
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=1280000
`);
utils.bothPass(t, `
#EXTM3U
#EXT-X-STREAM-IN... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.1_EXT-X-TARGETDURATION.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.1_EXT-X-TARGETDURATION.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// The EXTINF duration of each Media Segment in the Playlist
// file, when rounded to the nearest integer, MUST be less than or equal
// to the target duration
test('#EXT-X-TARGETDURATION_01', t => {
utils.bothPass(t, `
#EXTM3U
... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.7_EXT-X-CUE-OUT.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.7_EXT-X-CUE-OUT.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
test('#EXT-X-CUE-OUT_01', t => {
let obj = utils.parsePass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:3
#EXTINF:9,
http://example.com/1
#EXT-X-CUE-OUT:30
#EXTINF:10,
http://example.com/2
`);
... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.4_EXT-X-ENDLIST.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.4_EXT-X-ENDLIST.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// It MAY occur anywhere in the Media Playlist file.
test('#EXT-X-ENDLIST_01', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-ENDLIST
#EXT-X-TARGETDURATION:10
#EXTINF:9,
http://example.com/1
#EXTINF:10,
http://exa... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3_Media-Playlist-Tags.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3_Media-Playlist-Tags.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// There MUST NOT be more than one Media Playlist tag of each type in
// any Media Playlist.
test('Media-Playlist-Tags', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXTINF:10,
http://example.com/1
#E... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.5_EXT-X-PLAYLIST-TYPE.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.5_EXT-X-PLAYLIST-TYPE.spec.js | const test = require('ava');
const HLS = require('../../../../..');
// #EXT-X-PLAYLIST-TYPE:<EVENT|VOD>
test('#EXT-X-PLAYLIST-TYPE_01', t => {
const playlist = HLS.parse(`
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-PLAYLIST-TYPE:EVENT
#EXTINF:10,
http://example.com/1
#EXTINF:10,
http://examp... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.3_EXT-X-DISCONTINUITY-SEQUENCE.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.3_EXT-X-DISCONTINUITY-SEQUENCE.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// If the Media Playlist does not contain an EXT-X-DISCONTINUITY-
// SEQUENCE tag, then the Discontinuity Sequence Number of the first
// Media Segment in the Playlist SHALL be considered to be 0.
te... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.2_EXT-X-MEDIA-SEQUENCE.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.2_EXT-X-MEDIA-SEQUENCE.spec.js | const test = require('ava');
const HLS = require('../../../../..');
const utils = require('../../../../helpers/utils');
// If the Media Playlist file does not contain an EXT-X-MEDIA-SEQUENCE
// tag then the Media Sequence Number of the first Media Segment in the
// Media Playlist SHALL be considered to be 0.
test('#EX... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.6_EXT-X-I-FRAMES-ONLY.spec.js | test/spec/4_Playlists/4.3_Playlist-Tags/4.3.3_Media-Playlist-Tags/4.3.3.6_EXT-X-I-FRAMES-ONLY.spec.js | const test = require('ava');
const utils = require('../../../../helpers/utils');
// Use of the EXT-X-I-FRAMES-ONLY REQUIRES a compatibility version
// number of 4 or greater.
test('#EXT-X-I-FRAMES-ONLY_01', t => {
utils.parseFail(t, `
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:3
#EXT-X-I-FRAMES-... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
kuu/hls-parser | https://github.com/kuu/hls-parser/blob/15bc1f8155dcc0adc5d202024f4b7a133232edf6/test/spec/7_Protocol-version-compatibility/7_EXT-X-VERSION.spec.js | test/spec/7_Protocol-version-compatibility/7_EXT-X-VERSION.spec.js | const test = require('ava');
const utils = require('../../helpers/utils');
// A Playlist that contains tags or attributes that are not compatible
// with protocol version 1 MUST include an EXT-X-VERSION tag.
test('#EXT-X-VERSION_02', t => {
utils.bothPass(t, `
#EXTM3U
#EXT-X-SESSION-KEY:METHOD=AES-128,URI="h... | javascript | MIT | 15bc1f8155dcc0adc5d202024f4b7a133232edf6 | 2026-01-05T03:45:29.662946Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/app.js | app.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/server.js | server.js | #!/usr/bin/env
/**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/casper-runner.js | casper-runner.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/test/integration/test.mainpage.js | test/integration/test.mainpage.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/test/unit/test.express.js | test/unit/test.express.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/public/js/global.js | public/js/global.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/public/js/conversation.js | public/js/conversation.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/public/js/payload.js | public/js/payload.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/public/js/common.js | public/js/common.js | /**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/public/js/api.js | public/js/api.js |
/**
* Copyright 2015 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
IBM/watson-assistant-slots-intro | https://github.com/IBM/watson-assistant-slots-intro/blob/dd95e8f3c95ff848713fe724146c015eff0e6244/lib/watson-conversation-setup.js | lib/watson-conversation-setup.js | /**
* Copyright 2017 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the 'License'); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | javascript | Apache-2.0 | dd95e8f3c95ff848713fe724146c015eff0e6244 | 2026-01-05T03:45:21.997512Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/serviceWorkerRegistration.js | src/serviceWorkerRegistration.js | // This optional code is used to register a service worker.
// register() is not called by default.
// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on subsequent visits to a p... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/index.js | src/index.js | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import { Provider } from 'react-redux';
import store from './redux/store';
import { BrowserRouter } from 'react-router-dom';
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
ReactDOM.ren... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/App.js | src/App.js | import React,{lazy,Suspense} from 'react';
import './App.scss'
import {auth} from './firebase/firebase'
import {useAuthState} from 'react-firebase-hooks/auth'
import { Redirect, Route, Switch } from 'react-router';
import LayoutSidebar from './pages/Layout_Sidebar/Layout_Sidebar';
import Spinner from './components/Spin... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/service-worker.js | src/service-worker.js | /* eslint-disable no-restricted-globals */
// This service worker can be customized!
// See https://developers.google.com/web/tools/workbox/modules
// for the list of available Workbox modules, or add any other
// code you'd like.
// You can also remove this file if you'd prefer not to use a
// service worker, and the... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/rootReducer.js | src/redux/rootReducer.js | import {combineReducers} from 'redux';
import documentReducer from './document/documentReducer';
import messageReducer from './message/messageReducer'
import clickedReducer from './clicked/clickedReducer'
import openReducer from './openupload/messageReducer'
import ReplyclickedReducer from './replyclicked/replyclickedR... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/root-Saga.js | src/redux/root-Saga.js | import {all,call} from 'redux-saga/effects'
import { Serversagas } from './server/server.sagas'
import { userSagas } from './users/user.sagas'
export default function* rootSaga(){
yield all([call(userSagas),call(Serversagas)])
}
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/store.js | src/redux/store.js | import rootReducer from './rootReducer.js'
import {createStore,applyMiddleware} from 'redux'
import {logger} from 'redux-logger'
import createSagaMiddleware from 'redux-saga'
import rootSaga from './root-Saga'
const sagaMiddleware=createSagaMiddleware();
const middleware=[logger,sagaMiddleware]
const store=createStore(... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/replytoggle/replytoggleReducer.js | src/redux/replytoggle/replytoggleReducer.js | const initialState={
clicked:false,
}
const replytoggleReducer=(state=initialState,action)=>{
switch(action.type){
case 'Reply_toggle':
return {
...state,
clicked:!state.clicked,
}
default: return state
}
}
export default replytoggleReducer
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/replytoggle/replytoggle.actions.js | src/redux/replytoggle/replytoggle.actions.js | const replytoggle=()=>{
return{
type:'Reply_toggle',
}
}
export default replytoggle;
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/roles/roles.actions.js | src/redux/roles/roles.actions.js | const currentrole=(doc)=>{
return{
type:'Current_Role',
payload:doc
}
}
export default currentrole;
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/roles/rolesReducer.js | src/redux/roles/rolesReducer.js | const initialState={
admin:'',
squad:''
}
const CurrentRoleReducer=(state=initialState,action)=>{
switch(action.type){
case 'Current_Role':
return {
...state,
admin:action.payload.admin,
squad:action.payload.squad
}
default: return state
}
}
expor... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/clicked/clicked.actions.js | src/redux/clicked/clicked.actions.js | const setclicked=()=>{
return{
type:'Clicked',
}
}
export default setclicked;
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/clicked/clickedReducer.js | src/redux/clicked/clickedReducer.js | const initialState={
clicked:false,
}
const replyopenReducer=(state=initialState,action)=>{
switch(action.type){
case 'Clicked':
return {
...state,
clicked:!state.clicked,
}
default: return state
}
}
export default replyopenReducer
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/replyclicked/replyclickedReducer.js | src/redux/replyclicked/replyclickedReducer.js | const initialState={
id:'',
sender:'',
msg:'',
photo:'',
// base64:''
}
const ReplyclickedReducer=(state=initialState,action)=>{
switch(action.type){
case 'Reply_message':
return{
...state,
id:action.payload.id,
sender:action.payload.sender,
... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/replyclicked/replyclicked.actions.js | src/redux/replyclicked/replyclicked.actions.js | const replymessage=(msg)=>{
return{
type:'Reply_message',
payload:msg
}
}
export default replymessage;
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/users/user.action.js | src/redux/users/user.action.js | export const GoogleSignInStart=()=>{
return{
type:'Google_SignIn_Start'
}
}
export const SignInSuccess=()=>{
return{
type:'SignIn_Success'
}
} | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/users/user.sagas.js | src/redux/users/user.sagas.js | import { all, call, takeLatest } from "@redux-saga/core/effects";
import { auth,CreateUserProfileDocument,Googleprovider } from "../../firebase/firebase";
export function* GoogleSignInSuccess(){
yield auth.signInWithPopup(Googleprovider)
yield call(CreateUserProfileDocument);
}
export function* GoogleSignInSt... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/openupload/messageReducer.js | src/redux/openupload/messageReducer.js | const initialState={
open:false,
}
const openReducer=(state=initialState,action)=>{
switch(action.type){
case 'Change_open':
return {
...state,
open:!state.open,
}
default: return state
}
}
export default openReducer
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/openupload/message.actions.js | src/redux/openupload/message.actions.js | const openupload=()=>{
return{
type:'Change_open',
}
}
export default openupload;
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/newserver/newserver.sagas.js | src/redux/newserver/newserver.sagas.js | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false | |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/newserver/newserver.actions.js | src/redux/newserver/newserver.actions.js | const newserver=(server)=>{
return{
type:'New_Server',
payload:server
}
}
export default newserver; | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/newserver/newserverReducer.js | src/redux/newserver/newserverReducer.js | const initialState={
present:false
}
const newserverReducer=(state=initialState,action)=>{
switch(action.type){
case 'New_Server':
return {
...state,
present:action.payload.present
}
default: return state
}
}
export default newserverReducer
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/message/messageReducer.js | src/redux/message/messageReducer.js | const initialState={
id:'',
msg:''
}
const messageReducer=(state=initialState,action)=>{
switch(action.type){
case 'Current_message':
return {
...state,
id:action.payload.id,
msg:action.payload.msg
}
default: return state
}
}
export default messag... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/message/message.actions.js | src/redux/message/message.actions.js | const currentmessage=(doc)=>{
return{
type:'Current_message',
payload:doc
}
}
export default currentmessage;
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/server/server.selectors.js | src/redux/server/server.selectors.js | import {createSelector} from 'reselect'
const ServerSelector=state=>state.currentserver
export const CurrentServerSelector=createSelector(
[ServerSelector],
server=>server.id
) | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/server/serverReducer.js | src/redux/server/serverReducer.js | const initialState={
id:null,
name:'Welcome to Discord',
email:'',
}
const currentserverReducer=(state=initialState,action)=>{
switch(action.type){
case 'Current_Server':
return {
...state,
id:action.payload.id,
name:action.payload.name,
email:action.payl... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/server/server.sagas.js | src/redux/server/server.sagas.js | import {all,call, takeEvery} from 'redux-saga/effects'
import { auth, firestore, default as firebase } from '../../firebase/firebase';
export function* DeleteServerSuccess({payload}){
if(payload.email===auth.currentUser.email){
const serverRef=yield firestore.collection('servers').doc(payload.id);
... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/server/server.actions.js | src/redux/server/server.actions.js | const currentserver=(server)=>{
return{
type:'Current_Server',
payload:server
}
}
export default currentserver;
export const deleteServer=(server)=>{
return{
type:'Delete_Server_Start',
payload:server
}
}
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/document/documentReducer.js | src/redux/document/documentReducer.js | const initialState={
id:'ofIRBMmGukI3EXPAYmgn',
name:'Discordy'
}
const documentReducer=(state=initialState,action)=>{
switch(action.type){
case 'Current_Document':
return {
...state,
id:action.payload.id,
name:action.payload.name
}
default: return state
... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/redux/document/document.actions.js | src/redux/document/document.actions.js | const currentdoc=(doc)=>{
return{
type:'Current_Document',
payload:doc
}
}
export default currentdoc;
| javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/pages/Layout_Sidebar/Layout_Sidebar.jsx | src/pages/Layout_Sidebar/Layout_Sidebar.jsx | import { IconButton, makeStyles } from '@material-ui/core'
import React from 'react'
import { useSelector } from 'react-redux'
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import ChatHeader from '../../components/ChatHeader/ChatHeader'
import './Layout_Sidebar.scss'
const useStyles=makeStyles((theme)=>{
... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/pages/Homepage/HomePage.jsx | src/pages/Homepage/HomePage.jsx | import React from 'react'
import ChatHeader from '../../components/ChatHeader/ChatHeader'
import './Homepage.scss'
const homepage = () => {
return (
<>
<div className='homepage'>
<div className="homepage__header">
<div className="homepage__header-s... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/pages/ErrorBoundaries/Errorboundaries.styles.jsx | src/pages/ErrorBoundaries/Errorboundaries.styles.jsx | import styled from 'styled-components';
export const ErrorImageOverlay = styled.div`
height: 60vh;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
`;
export const ErrorImageContainer = styled.div`
display: inline-block;
background-image: ${({ imageUrl ... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/pages/ServerComponent/ServerComponent.jsx | src/pages/ServerComponent/ServerComponent.jsx | import React from 'react'
import Addserver from '../../components/AddServer/Addserver'
import AvailableServers from '../../components/AvailableServers/AvailableServers'
import './ServerComponent.scss'
const Sidebar = () => {
return (
<>
<div className="mainpage">
<div className="mainpage... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/pages/Login/Login.jsx | src/pages/Login/Login.jsx | import { Button, makeStyles } from '@material-ui/core'
import React from 'react'
import { useDispatch } from 'react-redux';
import './Login.scss'
import { GoogleSignInStart } from '../../redux/users/user.action';
// import GitHubIcon from '@material-ui/icons/GitHub';
const useStyles=makeStyles({
github:{
marg... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/pages/Home_serverId_channel/Home_serverId_channel.jsx | src/pages/Home_serverId_channel/Home_serverId_channel.jsx | import React, { useEffect } from 'react'
import { useDispatch } from 'react-redux';
import ChatMessage from '../../components/ChatMessage/ChatMessage';
import ChatSearchBar from '../../components/ChatSearchBar/ChatSearchBar';
import { firestore } from '../../firebase/firebase';
import currentdoc from '../../redux/docum... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/pages/ServerPage/ServerPage.jsx | src/pages/ServerPage/ServerPage.jsx | import React,{lazy,Suspense} from 'react'
import { Route, Switch } from 'react-router'
import Spinner from '../../components/Spinner/Spinner';
const Home_serverId_channel=lazy(()=>import('../Home_serverId_channel/Home_serverId_channel'))
const ServerPage = ({match}) => {
return (
<>
<Suspense fallba... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/components/ChatSearchBar/ChatSearchReply.jsx | src/components/ChatSearchBar/ChatSearchReply.jsx | import React from 'react'
import { useDispatch, useSelector } from 'react-redux'
import CancelIcon from '@material-ui/icons/Cancel';
import {IconButton, makeStyles} from '@material-ui/core'
import replytoggle from '../../redux/replytoggle/replytoggle.actions'
const useStyles=makeStyles({
button:{
margin:0,
... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/components/ChatSearchBar/ChatSearchBar.jsx | src/components/ChatSearchBar/ChatSearchBar.jsx | import React, { useState} from 'react'
import './ChatSearchBar.scss'
import firebase from 'firebase/app'
import AddCircleOutlineIcon from '@material-ui/icons/AddCircleOutline';
import CardGiftcardIcon from '@material-ui/icons/CardGiftcard';
import GifIcon from '@material-ui/icons/Gif';
import InsertEmoticonIcon from '@... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
arihant-jain-09/discord-clone | https://github.com/arihant-jain-09/discord-clone/blob/1830240e773d9de7cbf0746be534fc1e75c306e7/src/components/Roles/Myrolesmap.jsx | src/components/Roles/Myrolesmap.jsx | import React,{useState} from 'react'
import styled from "styled-components"
import { Avatar, makeStyles } from '@material-ui/core'
import { firestore } from '../../firebase/firebase';
import { useSelector } from 'react-redux';
const useStyles=makeStyles({
avatar:{
width:'3rem',
height:'3rem'
},... | javascript | MIT | 1830240e773d9de7cbf0746be534fc1e75c306e7 | 2026-01-05T03:45:31.298295Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.