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

@codemod-utils/ember-cli-string

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

@codemod-utils/ember-cli-string - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

1

dist/ember-cli-string/classify.d.ts

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

export declare function classifyOriginal(value: string): string;
export declare function classify(value: string): string;

7

dist/ember-cli-string/classify.js
/* https://github.com/ember-cli/ember-cli-string-utils/blob/v1.1.0/index.js */
/* https://github.com/emberjs/ember.js/blob/v4.12.1/blueprints/component/index.js#L255-L256 */
import { camelize } from './camelize.js';
export function classifyOriginal(value) {
const tokens = value.split('.');
export function classify(value) {
const tokens = value.replace(/\//g, '-').split('.');
const tokensTransformed = tokens.map((token) => {

@@ -12,4 +12,1 @@ const camelized = camelize(token);

}
export function classify(value) {
return classifyOriginal(value.replace(/\//g, '-'));
}
{
"name": "@codemod-utils/ember-cli-string",
"version": "0.1.0",
"version": "0.1.1",
"description": "Utilities for string, as used by Ember CLI",

@@ -43,9 +43,9 @@ "keywords": [

"concurrently": "^8.2.0",
"eslint": "^8.43.0",
"prettier": "^2.8.8",
"typescript": "^5.1.3",
"eslint": "^8.44.0",
"prettier": "^3.0.0",
"typescript": "^5.1.6",
"@shared-configs/typescript": "0.0.0",
"@codemod-utils/tests": "0.2.3",
"@shared-configs/prettier": "0.0.0",
"@shared-configs/eslint-config-node": "0.0.0"
"@shared-configs/eslint-config-node": "0.0.0",
"@codemod-utils/tests": "0.2.5",
"@shared-configs/prettier": "0.0.0"
},

@@ -52,0 +52,0 @@ "engines": {

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