New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@social-embed/lib

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@social-embed/lib - npm Package Compare versions

Comparing version 0.0.1-next.12 to 0.0.2-next.0

.prettierignore

6

CHANGES.md

@@ -5,4 +5,8 @@ ---

## current
## next release
- Move from `tsdx` to `rollup` (#43)
## 0.0.1-next.12 (2021-06-02)
- Add `matcher` helper to generate regex matchers

@@ -9,0 +13,0 @@ - Generic URL regular expression

export * from './providers';
export { Provider, ProviderKey, ProviderType, ProviderIdFunctionMap, ProviderIdUrlFunctionMap, getProviderFromUrl, convertUrlToEmbedUrl, } from './utils';
//# sourceMappingURL=index.d.ts.map

10

dist/index.js

@@ -1,8 +0,2 @@

'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./lib.cjs.production.min.js')
} else {
module.exports = require('./lib.cjs.development.js')
}
export{genericUrlRegex,isValidUrl}from"./providers/generic.js";export{getYouTubeEmbedUrlFromId,getYouTubeIdFromUrl,youTubeUrlRegex}from"./providers/youtube.js";export{dailyMotionUrlRegex,getDailyMotionEmbedFromId,getDailyMotionIdFromUrl}from"./providers/dailymotion.js";export{getSpotifyEmbedUrlFromIdAndType,getSpotifyIdAndTypeFromUrl,spotifySymbolRegex,spotifyUrlRegex}from"./providers/spotify.js";export{getVimeoEmbedUrlFromId,getVimeoIdFromUrl,vimeoUrlRegex}from"./providers/vimeo.js";export{edPuzzleUrlRegex,getEdPuzzleEmbedUrlFromId,getEdPuzzleIdFromUrl}from"./providers/edpuzzle.js";export{getWistiaEmbedUrlFromId,getWistiaIdFromUrl,wistiaUrlRegex}from"./providers/wistia.js";export{getLoomEmbedUrlFromId,getLoomIdFromUrl,loomUrlRegex}from"./providers/loom.js";export{Provider,ProviderIdFunctionMap,ProviderIdUrlFunctionMap,convertUrlToEmbedUrl,getProviderFromUrl}from"./utils.js";
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ export declare const dailyMotionUrlRegex: RegExp;

@@ -0,0 +0,0 @@ /**

export declare const genericUrlRegex: RegExp;
export declare const isValidUrl: (value: string) => boolean;
//# sourceMappingURL=generic.d.ts.map

@@ -0,0 +0,0 @@ export * from './generic';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ export declare const spotifyUrlRegex: RegExp;

@@ -0,0 +0,0 @@ export declare const vimeoUrlRegex: RegExp;

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ export declare enum Provider {

{
"name": "@social-embed/lib",
"description": "Regexes, ID extraction, for embed providers (YouTube, other OEmbed compatible providers),",
"version": "0.0.1-next.12",
"version": "0.0.2-next.0",
"main": "dist/index.js",
"module": "dist/lib.esm.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",

@@ -29,16 +29,32 @@ "license": "MIT",

"clean": "rimraf dist",
"start": "tsdx start",
"build": "tsdx build",
"prepare": "tsdx build",
"rollup": "rollup",
"start": "rollup start",
"build": "rollup -c rollup.config.ts --configPlugin typescript",
"prepare": "yarn build",
"bootstrap": "echo 'NOOP'",
"test": "tsdx test",
"test": "jest test",
"lint": "eslint src",
"ncu": "ncu",
"update": "ncu"
"update": "ncu",
"prettier": "prettier",
"format": "yarn run prettier . --write"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"prettier": "^2.3.0",
"tsdx": "^0.14.1"
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^9.0.2",
"@types/jest": "^29.2.2",
"prettier": "^2.7.1",
"rollup": "^3.2.5",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.8.3",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1"
},
"dependencies": {
"jest": "^29.2.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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