Socket
Socket
Sign inDemoInstall

ts-dedent

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-dedent - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

2

dist/index.d.ts

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

export declare function dedent(templ: TemplateStringsArray | string, ...values: any[]): string;
export declare function dedent(templ: TemplateStringsArray | string, ...values: unknown[]): string;
export default dedent;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dedent = void 0;
function dedent(templ) {

@@ -4,0 +5,0 @@ var values = [];

@@ -7,2 +7,18 @@ # History

## v1.2.0
Security update with dependency changes
- Updated all dependencies to their latest version
- Updated CI settings
- Replaced tslint with typescript-eslint
- Removed unused @types/node
- Added lint to run with the test suite
## v1.1.0
Security update with dependency changes
- Updated all dependencies to their latest version
## v1.0.0

@@ -12,2 +28,2 @@

* `function dedent(TemplateStringsArray | string, ...any[]): string
- `function dedent(TemplateStringsArray | string, ...any[]): string
{
"name": "ts-dedent",
"version": "1.1.1",
"version": "1.2.0",
"description": "TypeScript package which smartly trims and strips indentation from multi-line strings",

@@ -37,3 +37,5 @@ "author": "Tamino Martinius <dev@zaku.eu>",

"coverage": "rm -rf coverage* && jest --coverage",
"pretest": "npm run lint",
"test": "jest",
"lint": "eslint .",
"watch": "tsc -w",

@@ -45,14 +47,14 @@ "ci": "npm run coverage && codecov",

"devDependencies": {
"@types/jest": "^24.9.1",
"@types/node": "^13.5.0",
"codecov": "^3.6.2",
"jest": "^25.1.0",
"ts-jest": "^25.0.0",
"tslint": "^6.0.0",
"tslint-config-airbnb": "^5.11.2",
"typescript": "^3.7.5"
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"codecov": "^3.7.2",
"eslint": "^7.10.0",
"jest": "^26.4.2",
"ts-jest": "^26.4.0",
"typescript": "~4.0.3"
},
"jest": {
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
".ts": "ts-jest"
},

@@ -59,0 +61,0 @@ "testRegex": "\\.(test|spec)\\.ts$",

@@ -102,3 +102,4 @@ # TypeScript Dedent

- `1.2.0` **2020-09-28** Updated dependencies and a couple of minor improvments
- `1.1.0` **2019-07-26** Updated dependencies and fixed links in readme
- `1.0.0` **2018-06-14** Initial release
export function dedent(
templ: TemplateStringsArray | string,
...values: any[]
...values: unknown[]
): string {

@@ -5,0 +5,0 @@ let strings = Array.from(typeof templ === 'string' ? [templ] : templ.raw);

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