Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tweet.md

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tweet.md - npm Package Compare versions

Comparing version 1.5.2 to 2.0.0

2

index.js

@@ -64,3 +64,3 @@ // @see https://en.wikipedia.org/wiki/Emoji

export default function render(tweet = { }) {
module.exports = function(tweet = { }) {
let { text = '' } = tweet;

@@ -67,0 +67,0 @@ const { entities = { } } = tweet;

{
"name": "tweet.md",
"version": "1.5.2",
"version": "2.0.0",
"description": "Render tweet to markdown",
"main": "index.es5.js",
"main": "index.js",
"scripts": {
"transpile": "babel index.js --out-file index.es5.js",
"examples": "babel-node examples.js",
"examples": "node examples.js",
"preversion": "npm run examples",
"prepublish": "npm run test && npm run transpile && npm run examples",
"coverage": "rm -rf coverage/ && babel-node ./node_modules/.bin/isparta cover _mocha --report lcovonly -- -r babel/register test/*.js",
"test": "mocha -r babel/register test/*.js",
"travis": "npm run coverage && cat coverage/lcov.info | coveralls"
"prepublish": "npm run test && npm run examples",
"coverage": "istanbul cover _mocha test/index.js",
"test": "mocha test/index.js",
"travis": "npm run coverage; cat ./coverage/lcov.info | coveralls"
},

@@ -29,7 +28,9 @@ "keywords": [

"devDependencies": {
"babel": "^5.8.23",
"coveralls": "^2.11.4",
"isparta": "^3.0.4",
"istanbul": "^0.4.4",
"mocha": "^2.3.3"
},
"engines": {
"node": "^6.0.0"
}
}

@@ -6,3 +6,2 @@ # Tweet markdown renderer

[![Coveralls](https://img.shields.io/coveralls/silentroach/tweet.md.svg?style=flat-square&label=coverage)](https://coveralls.io/r/silentroach/tweet.md)
[![David](https://img.shields.io/david/dev/silentroach/tweet.md.svg?style=flat-square&label=deps)](https://david-dm.org/silentroach/tweet.md#info=devDependencies)

@@ -9,0 +8,0 @@ Render your [tweets](https://dev.twitter.com/overview/api/tweets) with [entities](https://dev.twitter.com/overview/api/entities) to beautiful markdown.

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